/* ===== LyricSpy Dark Theme CSS ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Noto+Sans+Sinhala:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a2e;
  --text-primary: #e8e8f0;
  --text-secondary: #9898b0;
  --text-muted: #5a5a70;
  --accent: #7c3aed;
  --accent-light: #a78bfa;
  --accent-glow: rgba(124,58,237,0.15);
  --border: #2a2a3e;
  --border-hover: #3a3a55;
  --gradient-1: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
  --gradient-2: linear-gradient(135deg, #0a0a0f, #12121a);
  --shadow-glow: 0 8px 32px rgba(124,58,237,0.25);
  --radius: 12px;
  --radius-lg: 16px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}

* { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', 'Noto Sans Sinhala', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
}
a { color: var(--accent-light); text-decoration: none; transition: var(--transition); }
a:hover { color: #c4b5fd; }

/* ===== NAVBAR ===== */
.navbar {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  padding: 0 2rem;
}
.navbar-inner {
  max-width: 1400px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}
.navbar-brand {
  font-size: 1.4rem; font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a, .nav-link-btn {
  padding: 8px 16px; border-radius: 8px;
  color: var(--text-secondary); font-size: 0.9rem; font-weight: 500;
  transition: var(--transition); background: none; border: none;
  cursor: pointer; font-family: inherit;
}
.nav-links a:hover, .nav-link-btn:hover, .nav-links a.active {
  color: var(--text-primary); background: var(--accent-glow);
}
.nav-toggle { display: none; background: none; border: none; color: var(--text-primary); font-size: 1.3rem; cursor: pointer; padding: 8px; }

/* ===== PAGE LAYOUT ===== */
.page-layout { display: flex; max-width: 1800px; margin: 0 auto; }
.ad-sidebar { width: 160px; flex-shrink: 0; padding: 20px 10px; }
.ad-slot { min-height: 250px; }
.main-content { flex: 1; min-width: 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section { margin-bottom: 30px; }

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 60px 2rem 40px;
  background: radial-gradient(ellipse at center top, rgba(124,58,237,0.08), transparent 60%);
}
.hero h1 {
  font-size: 2.8rem; font-weight: 800;
  background: var(--gradient-1);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 12px;
}
.hero p { color: var(--text-secondary); font-size: 1.15rem; max-width: 600px; margin: 0 auto 30px; }

/* ===== SEARCH BAR ===== */
.search-bar {
  max-width: 650px; margin: 0 auto; position: relative;
}
.search-bar form { display: flex; align-items: center; position: relative; }
.search-bar input {
  width: 100%; padding: 16px 20px 16px 50px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text-primary);
  font-size: 1rem; font-family: 'Inter','Noto Sans Sinhala',sans-serif;
  transition: var(--transition); outline: none;
}
.search-bar input:focus { border-color: var(--accent); box-shadow: 0 0 20px var(--accent-glow); }
.search-bar input::placeholder { color: var(--text-muted); }
.search-icon { position: absolute; left: 18px; color: var(--text-muted); font-size: 1rem; z-index: 2; }

/* ===== SECTION HEADERS ===== */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.section-title { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.section-title .icon { font-size: 1.2rem; }
.view-all { color: var(--accent-light); font-size: 0.9rem; font-weight: 500; display: flex; align-items: center; gap: 6px; }

/* ===== SONG GRID ===== */
.song-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.song-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 10px; padding: 10px 12px;
  transition: var(--transition); position: relative;
  display: flex; align-items: center; gap: 10px;
}
.song-card:hover { border-color: var(--accent); background: rgba(124,58,237,0.04); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(124,58,237,0.12); }
.song-card .song-icon {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg,rgba(99,102,241,0.12),rgba(168,85,247,0.12));
  display: flex; align-items: center; justify-content: center;
  color: var(--accent-light); font-size: 0.8rem; flex-shrink: 0;
}
.song-card .song-info { flex: 1; min-width: 0; }
.song-card h3 { 
    font-size: 0.82rem; font-weight: 500; margin: 0; 
    line-height: 1.35;
    display: block;
    width: 100%;
}
.song-card h3 a { 
    color: var(--text-primary); text-decoration: none; outline: none; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
    text-overflow: ellipsis;
    word-break: break-word;
}
.song-card h3 a::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; }
.song-card h3 a:hover { color: var(--accent-light); }
.song-card .artist-name { 
    font-size: 0.72rem; color: var(--text-muted); margin-top: 1px;
    display: -webkit-box; 
    -webkit-line-clamp: 1; 
    line-clamp: 1; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}
.song-card .meta { display: flex; gap: 6px; align-items: center; font-size: 0.68rem; color: var(--text-muted); flex-shrink: 0; }
.song-card .views { display: flex; align-items: center; gap: 3px; }
.genre-tag { background: var(--accent-glow); color: var(--accent-light); padding: 2px 8px; border-radius: 20px; font-size: 0.65rem; }
.featured-badge { position: absolute; top: -5px; right: 8px; background: var(--gradient-1); color: #fff; font-size: 0.6rem; font-weight: 600; padding: 2px 7px; border-radius: 8px; }
.song-card-no-cover { display: none; }

/* ===== ARTIST GRID ===== */
.artist-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 20px; }
.artist-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; text-align: center;
  transition: var(--transition); position: relative;
}
.artist-card:hover { border-color: var(--border-hover); transform: translateY(-4px); box-shadow: var(--shadow-glow); }
.artist-card h3 { font-size: 0.95rem; font-weight: 600; margin-top: 12px; position: static; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; overflow-wrap: anywhere; }
.artist-card h3 a { color: var(--text-primary); text-decoration: none; outline: none; }
.artist-card h3 a::after { content: ""; position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; }
.artist-card .song-count { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.artist-avatar { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; border: 3px solid var(--border); }
.artist-avatar-placeholder { width: 80px; height: 80px; border-radius: 50%; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; font-size: 2rem; margin: 0 auto; }

/* ===== LYRICS PAGE ===== */
.lyrics-page { max-width: 900px; margin: 0 auto; padding: 40px 2rem; }
.lyrics-header { margin-bottom: 30px; overflow-wrap: break-word; }
.lyrics-header h1 { font-size: 2rem; font-weight: 700; overflow-wrap: break-word; }
.sinhala-title { font-size: 1.3rem; color: var(--text-secondary); font-family: 'Noto Sans Sinhala',sans-serif; margin-top: 4px; overflow-wrap: break-word; }
.lyrics-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; font-size: 0.85rem; color: var(--text-muted); }
.lyrics-meta span { display: flex; align-items: center; gap: 6px; }
.lyrics-meta a { color: var(--accent-light); }
.lyrics-body { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; margin-top: 20px; position: relative; overflow: hidden; }
.lyrics-body::after {
  content: attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark) "  •  " attr(data-watermark);
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  font-size: 1.4rem; font-weight: 800; letter-spacing: 2px;
  color: rgba(124,58,237,0.04);
  transform: rotate(-30deg);
  white-space: nowrap;
  word-break: break-all;
  line-height: 3.5;
  pointer-events: none; z-index: 0;
  user-select: none;
}
.lyrics-tabs { display: flex; gap: 8px; margin-bottom: 20px; border-bottom: 1px solid var(--border); padding-bottom: 12px; position: relative; z-index: 1; }
.lyrics-tab { background: none; border: none; padding: 8px 20px; border-radius: 8px; color: var(--text-muted); font-weight: 500; cursor: pointer; transition: var(--transition); font-family: inherit; font-size: 0.9rem; }
.lyrics-tab.active { background: var(--accent-glow); color: var(--accent-light); }
.lyrics-content { font-size: 1.1rem; line-height: 2.2; white-space: pre-wrap; font-family: 'Noto Sans Sinhala','Inter',sans-serif; position: relative; z-index: 1; }
.lyrics-content.hidden { display: none; }
.youtube-embed { margin-top: 30px; }
.youtube-embed iframe { width: 100%; height: 400px; border-radius: var(--radius); border: none; }

/* ===== FORMS ===== */
.form-page { min-height: 60vh; display: flex; align-items: flex-start; justify-content: center; padding: 40px 2rem; }
.form-card { width: 100%; max-width: 700px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.form-card h1 { font-size: 1.6rem; font-weight: 700; margin-bottom: 8px; }
.form-card .subtitle { color: var(--text-muted); margin-bottom: 30px; font-size: 0.9rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  background: var(--bg-primary); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text-primary);
  font-family: 'Inter','Noto Sans Sinhala',sans-serif; font-size: 0.9rem;
  transition: var(--transition); outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--accent); box-shadow: 0 0 12px var(--accent-glow); }
.form-textarea { min-height: 120px; resize: vertical; }
.form-help { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }
.form-errors { color: #f87171; font-size: 0.85rem; margin-top: 4px; }
.form-errors li { list-style: none; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 50px; font-weight: 600; font-size: 0.85rem; cursor: pointer; transition: var(--transition); border: none; font-family: inherit; text-decoration: none; }
.btn-primary { background: var(--gradient-1); color: #fff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); color: #fff; }
.btn-secondary { background: var(--bg-card); color: var(--text-primary); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--border-hover); }
.btn-danger { background: #ef4444; color: #fff; }
.btn-sm { padding: 6px 12px; font-size: 0.75rem; }
.btn-lg { padding: 12px 28px; font-size: 0.95rem; }

/* ===== MESSAGES ===== */
.messages { max-width: 800px; margin: 20px auto; padding: 0 2rem; list-style: none; }
.message { padding: 14px 20px; border-radius: 8px; margin-bottom: 10px; font-size: 0.9rem; animation: slideDown 0.3s ease; transition: opacity 0.3s ease; }
.message.success { background: rgba(34,197,94,0.15); border: 1px solid rgba(34,197,94,0.3); color: #86efac; }
.message.error { background: rgba(248,113,113,0.15); border: 1px solid rgba(248,113,113,0.3); color: #fca5a5; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

/* ===== PAGINATION ===== */
.pagination { display: flex; justify-content: center; gap: 5px; margin-top: 20px; }
.pagination a, .pagination span { 
    padding: 4px 10px; border-radius: 6px; background: var(--bg-card); 
    border: 1px solid var(--border); color: var(--text-secondary); 
    font-size: 0.75rem; transition: var(--transition);
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 30px;
}
.pagination a:hover { border-color: var(--accent); color: var(--accent-light); }
.pagination .current, .pagination span[aria-current] { background: var(--accent); border-color: var(--accent); color: #fff; }

/* Tailwind-style pagination from Livewire (Extreme Minimal) */
nav[role="navigation"] { display: flex; justify-content: center; align-items: center; margin-top: 20px; gap: 10px; }
nav[role="navigation"] p { display: none; } /* Hide "Showing X to Y" */
nav[role="navigation"] .flex { display: flex !important; gap: 5px !important; flex-direction: row !important; }
nav[role="navigation"] .hidden { display: none !important; } /* Hide the desktop version that Laravel often includes */
nav[role="navigation"] span, nav[role="navigation"] a, nav[role="navigation"] button {
  padding: 4px 12px; border-radius: 6px; background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); font-size: 0.75rem; transition: var(--transition); cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px;
}
nav[role="navigation"] a:hover, nav[role="navigation"] button:hover { border-color: var(--accent); color: var(--accent-light); background: var(--accent-glow); }
nav[role="navigation"] span[aria-disabled="true"] span, nav[role="navigation"] span[aria-disabled="true"] button { opacity: 0.2; cursor: default; }

/* Dashboard Cards Enhancements */
.form-card:hover { transform: translateY(-5px); border-color: var(--accent-light); box-shadow: var(--shadow-glow); }

/* ===== LETTER FILTER ===== */
.letter-filter { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; margin-bottom: 30px; }
.letter-filter button {
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-muted); font-weight: 600; font-size: 0.85rem;
  transition: var(--transition); cursor: pointer; font-family: inherit;
}
.letter-filter button:hover, .letter-filter button.active { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ===== AUTH PAGES ===== */
.auth-page { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 40px 2rem; }
.auth-card { width: 100%; max-width: 440px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.auth-card h1 { font-size: 1.6rem; font-weight: 700; text-align: center; margin-bottom: 8px; }
.auth-card .subtitle { text-align: center; color: var(--text-muted); margin-bottom: 30px; font-size: 0.9rem; }
.auth-card .btn { width: 100%; justify-content: center; margin-top: 10px; }
.auth-link { text-align: center; margin-top: 20px; font-size: 0.85rem; color: var(--text-muted); }

/* ===== EMPTY STATE ===== */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; }

/* ===== FOOTER ===== */
.footer { margin-top: 20px; padding: 16px 2rem; border-top: 1px solid var(--border); text-align: center; color: var(--text-muted); font-size: 0.8rem; }
.footer a { color: var(--text-secondary); }

/* ===== IMAGE LOADING ANIMATION ===== */
.img-loading {
  background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-secondary) 50%, var(--bg-card) 75%);
  background-size: 200% 100%;
  animation: imgShimmer 1.5s ease-in-out infinite;
}
@keyframes imgShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.img-reveal {
  animation: imgFadeIn 0.5s ease forwards;
}
@keyframes imgFadeIn {
  from { opacity: 0; transform: scale(0.97); filter: blur(4px); }
  to { opacity: 1; transform: scale(1); filter: blur(0); }
}

/* ===== ADMIN TABLE ===== */
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.admin-table thead { background: var(--bg-secondary); }
.admin-table th {
  padding: 12px 16px; text-align: left; font-weight: 600; font-size: 0.8rem;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px;
  border-bottom: 2px solid var(--border);
}
.admin-table td {
  padding: 12px 16px; border-bottom: 1px solid var(--border);
  color: var(--text-primary); vertical-align: middle;
  max-width: 300px;
}
.admin-table td a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.admin-table tbody tr { transition: var(--transition); }
.admin-table tbody tr:hover { background: rgba(124,58,237,0.05); }

/* ===== LIVE SEARCH DROPDOWN ===== */
.live-search-dropdown { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--bg-secondary); border: 1px solid var(--border-hover); border-radius: var(--radius); box-shadow: 0 20px 60px rgba(0,0,0,0.5); z-index: 200; max-height: 450px; overflow-y: auto; animation: lsSlideIn 0.2s ease; }
@keyframes lsSlideIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
.ls-section { padding: 8px 0; }
.ls-section + .ls-section { border-top: 1px solid var(--border); }
.ls-label { padding: 8px 16px 4px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent-light); display: flex; align-items: center; gap: 6px; }
.ls-item { display: flex; align-items: center; gap: 12px; padding: 10px 16px; color: var(--text-primary); transition: var(--transition); cursor: pointer; text-decoration: none; }
.ls-item:hover { background: rgba(124,58,237,0.1); }
.ls-avatar, .ls-icon { width: 36px; height: 36px; border-radius: 50%; background: var(--gradient-1); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.ls-icon { border-radius: 8px; background: rgba(124,58,237,0.15); }
.ls-info { flex: 1; min-width: 0; }
.ls-name { font-size: 0.9rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-sub { font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ls-count, .ls-views { font-size: 0.75rem; color: var(--text-muted); flex-shrink: 0; display: flex; align-items: center; gap: 4px; }
.ls-empty { padding: 24px 16px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.ls-viewall { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px; border-top: 1px solid var(--border); color: var(--accent-light); font-size: 0.85rem; font-weight: 600; transition: var(--transition); }
.ls-viewall:hover { background: rgba(124,58,237,0.08); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) { .ad-sidebar { display: none; } }
@media (max-width: 1024px) { .song-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) {
  .navbar { padding: 0 1rem; }
  .navbar-inner { height: 60px; }
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--bg-secondary); padding: 16px; gap: 4px; border-bottom: 1px solid var(--border); z-index: 99; }
  .nav-toggle { display: block; }
  .hero { padding: 40px 1rem 30px; }
  .hero h1 { font-size: 1.8rem; }
  .container { padding: 0 1rem; }
  .song-grid { grid-template-columns: 1fr; gap: 8px; }
  .song-card { border-radius: 12px; border: 1px solid var(--border); margin-bottom: 0; }
  .artist-grid { grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); }
  .lyrics-page { padding: 20px 1rem; }
  .lyrics-body { padding: 20px; }
  .form-card { padding: 24px; }
  .dash-actions .dash-btn-text, .hide-mobile { display: none; }
  .dash-actions .btn { padding: 10px; min-width: 40px; justify-content: center; gap: 0; }
  .search-bar-row { padding: 12px 0; }
  .modern-search-container { max-width: 100% !important; }
  .artist-header-box { flex-direction: column; text-align: center; padding: 30px 20px !important; gap: 20px !important; }
  .artist-header-box h1 { font-size: 1.8rem !important; overflow-wrap: break-word; }
  .artist-header-box div { margin-left: 0 !important; }
}

.search-bar-row {
    background: transparent;
    padding: 10px 0;
}

.modern-search-container {
    max-width: 600px;
}

.modern-search-container .search-bar input {
    height: 40px;
    font-size: 0.9rem;
    background: var(--bg-secondary);
    border-radius: 30px;
    padding-left: 45px;
    border: 1px solid var(--border);
}

.modern-search-container .search-bar .search-icon {
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.9rem;
    left: 18px;
    color: var(--accent-light);
}

.modern-search-container .live-search-dropdown {
    top: 48px;
    border-radius: 15px;
}

/* Manage Pages Improvements */
.manage-header { display: flex; justify-content: space-between; align-items: center; gap: 15px; flex-wrap: wrap; }
.manage-actions { display: flex; gap: 10px; align-items: center; flex: 1; justify-content: flex-end; }
.manage-search { margin: 0; width: 300px; position: relative; }
.manage-search-input { padding: 8px 12px 8px 35px !important; height: 38px !important; font-size: 0.9rem !important; border-radius: 8px !important; width: 100%; }
.manage-search-icon { left: 12px !important; font-size: 0.85rem !important; top: 50% !important; transform: translateY(-50%) !important; color: var(--text-muted); }

@media (max-width: 768px) {
    .manage-header { flex-direction: column; align-items: flex-start; gap: 10px; }
    .manage-actions { width: 100%; justify-content: space-between; }
    .manage-search { flex: 1; width: auto; }
}
