/*
Theme Name: Koko Mobile Theme
Theme URI: https://kokohypes.com.ng/
Author: Kokohypes
Author URI: https://kokohypes.com.ng/
Description: A clean, simple, and mobile-friendly WordPress theme designed for fast performance and easy customization. Ideal for music, blogs, or small business sites.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: koko-mobile-theme
Tags: mobile, responsive, minimal, blog, music
RTL: true
*/

/* =Theme Base Styles
-------------------------------------------------------------- */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #fff;
}

.site-main {
    padding: 15px;
}

article {
    background: #f9f9f9;
    margin-bottom: 15px;
    padding: 15px;
    border-radius: 10px;
}

.entry-title a {
    text-decoration: none;
    color: #333;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #0073aa;
    text-decoration: none;
}

.read-more:hover {
    text-decoration: underline;
}

.music-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 10px;
}

.music-item {
  display: flex;
  align-items: center;
  background: #111;
  color: #fff;
  border-radius: 8px;
  padding: 10px;
}

.music-cover img {
  width: 120px;
  height: 120px;
  border-radius: 6px;
  object-fit: cover;
}

.music-details {
  flex: 1;
  margin-left: 15px;
}

.music-title {
  font-size: 1.2em;
  margin: 0;
}

.music-artist {
  color: #bbb;
  margin: 4px 0;
}

.music-category {
  color: #f76c1b;
  font-size: 0.9em;
}

.music-play {
  margin-left: 10px;
}

.play-btn {
  background: #ff5c1b;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 22px;
  cursor: pointer;
}

/* === Album List View === */
.album-list-item {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 15px;
  padding: 10px;
}

.music-thumb img.music-cover {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 0px;
}

.music-details {
  flex: 1;
}

.music-title {
  margin: 0;
  font-size: 18px;
}

.music-title a {
  text-decoration: none;
  color: #333;
}

.music-category {
  color: #ff6600;
  font-size: 13px;
  margin: 5px 0;
}

.music-excerpt {
  color: #555;
  font-size: 14px;
}

.play-btn {
  background: #ff6600;
  border: none;
  color: #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
}

/* === Dark Mode Styles === */
body.dark-theme {
    background: #0A0A0A;
    color: #E5E5E5;
    transition: background 0.3s ease, color 0.3s ease;
}

body.dark-theme article,
body.dark-theme .music-item,
body.dark-theme .album-list-item {
    background: #1A1A1A;
    color: #E5E5E5;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-theme .music-title a {
    color: #E5E5E5;
}

body.dark-theme .music-category {
    color: #FF6B9D;
}

body.dark-theme .play-btn {
    background: #8B5CF6;
    color: #fff;
}

body.dark-theme .read-more {
    color: #8B5CF6;
}

body.dark-theme .read-more:hover {
    color: #FF6B9D;
}

/* 🔍 Search Form Styling */
.search-form.search-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8f8f8;
  border-radius: 30px;
  padding: 6px 12px;
  width: 100%;
  max-width: 280px;
  transition: background 0.3s;
}

.search-form:hover {
  background: #000;
  /* Your choice: dark hover for contrast */
}

.search-field {
  border: none;
  background: transparent;
  flex: 1;
  font-size: 14px;
  padding: 4px 8px;
  outline: none;
  color: #333;
}

.search-submit {
  border: none;
  background: none;
  cursor: pointer;
  color: #666;
  font-size: 16px;
  transition: color 0.3s;
}

.search-submit:hover {
  color: #000;
}

/* 🌙 Dark Mode Support */
body.dark-mode .search-form {
  background: #1e1e1e;
}

body.dark-mode .search-field {
  color: #f5f5f5;
  /* changed from #000 to light text for visibility */
}

body.dark-mode .search-submit {
  color: #ccc;
  /* softer gray for dark backgrounds */
}

body.dark-mode .search-form:hover {
  background: #333;
  /* subtle highlight when hovered in dark mode */
}