/* ========== الأساسيات ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --blue-900: #0F172A;
    --blue-800: #1E3A8A;
    --blue-700: #1D4ED8;
    --blue-600: #2563EB;
    --blue-500: #3B82F6;
    --blue-400: #60A5FA;
    --blue-200: #BFDBFE;
    --blue-100: #DBEAFE;
    --blue-50: #EFF6FF;
    --white: #FFFFFF;
    --gray-50: #F8FAFC;
    --gray-100: #F1F5F9;
    --gray-200: #E2E8F0;
    --gray-600: #475569;
    --gray-800: #1E293B;
    --black: #0F172A;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
    --shadow-md: 0 10px 25px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 40px rgba(0,0,0,0.1);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Cairo', sans-serif;
    background: radial-gradient(ellipse at top right, #fef9c3 0%, #fde047 30%, transparent 60%),
                radial-gradient(ellipse at bottom left, #e0f2fe 0%, #7dd3fc 40%, transparent 70%),
                linear-gradient(135deg, #fdfbfb 0%, #ebf4ff 100%);
    background-attachment: fixed;
    color: var(--gray-800);
    line-height: 1.6;
    direction: rtl;
    min-height: 100vh;
    overflow-x: hidden;
}

/* طبقة الخلفية لإغلاق الشريط الجانبي */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* الحاوية العامة */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* ========== الشريط الجانبي ========== */
.sidebar {
    width: 270px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(25px);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
    position: fixed;
    height: 100vh;
    right: 0;
    top: 0;
    z-index: 100;
    border-left: 1px solid rgba(255,255,255,0.3);
    border-radius: 0 0 0 50px;
    transition: transform 0.3s ease;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 45px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    padding: 12px 18px;
    border-radius: 30px;
    box-shadow: 0 8px 20px rgba(251,191,36,0.2);
}
.logo-img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 6px 15px rgba(0,0,0,0.1); transition: transform 0.3s ease, box-shadow 0.3s ease; background: white; }
.logo-img:hover { transform: rotate(10deg) scale(1.1); box-shadow: 0 10px 20px rgba(249,115,22,0.3); }
.logo-text { font-size: 1.7rem; font-weight: 800; background: linear-gradient(to left, #f97316, #ec4899); -webkit-background-clip: text; -webkit-text-fill-color: transparent; letter-spacing: -0.5px; }
.sidebar-nav { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.nav-item { padding: 14px 18px; border-radius: 25px; text-decoration: none; color: var(--gray-600); font-weight: 700; transition: var(--transition); display: flex; align-items: center; gap: 10px; font-size: 1.05rem; background: rgba(255,255,255,0.6); backdrop-filter: blur(5px); border: 1px solid transparent; }
.nav-item:hover { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #b45309; transform: translateX(-5px); border-color: #fbbf24; box-shadow: 0 8px 18px rgba(251,191,36,0.25); }
.nav-item.active { background: linear-gradient(135deg, #f97316, #ec4899); color: white; box-shadow: 0 10px 22px rgba(249,115,22,0.4); border: none; font-weight: 800; }
.nav-item.restricted { opacity: 0.5; pointer-events: none; position: relative; }
.nav-item.restricted::after { content: "🔒"; font-size: 0.8rem; margin-right: auto; }
.sidebar-footer { margin-top: auto; }

/* زر إظهار/إخفاء الشريط الجانبي للموبايل */
.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--gray-800);
    padding: 0 8px;
}

/* ========== المحتوى الرئيسي ========== */
.main-content {
    flex: 1;
    margin-right: 270px;
    display: flex;
    flex-direction: column;
    background: rgba(255,255,255,0.4);
    backdrop-filter: blur(15px);
    /* ⭐ ضمان ظهور شريط التمرير العمودي */
    overflow-y: auto;
    overflow-x: hidden;
    height: 100vh;
}

/* ========== تخصيص شريط التمرير (سطح المكتب) ========== */
.main-content::-webkit-scrollbar {
    width: 8px;
}
.main-content::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.03);
    border-radius: 10px;
}
.main-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #f97316, #ec4899);
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.6);
}
.main-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ea580c, #db2777);
}

/* الشريط العلوي */
.top-bar {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(20px);
    padding: 16px 35px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(255,255,255,0.5);
    border-radius: 0 0 40px 40px;
    margin: 10px 20px 0 20px;
}
.search-container { display: flex; align-items: center; background: white; border-radius: 60px; padding: 5px 22px; flex: 1; max-width: 480px; border: 1px solid var(--gray-200); transition: var(--transition); box-shadow: 0 10px 25px rgba(0,0,0,0.04); }
.search-container:focus-within { border-color: #f97316; box-shadow: 0 0 0 4px rgba(249,115,22,0.15), 0 15px 30px rgba(0,0,0,0.06); }
.search-input { border: none; background: transparent; padding: 14px 10px; font-size: 1rem; width: 100%; outline: none; font-family: 'Cairo', sans-serif; }
.search-btn { background: linear-gradient(135deg, #f97316, #ec4899); border: none; font-size: 1.3rem; cursor: pointer; padding: 10px; border-radius: 50%; color: white; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; transition: var(--transition); box-shadow: 0 8px 15px rgba(249,115,22,0.3); }
.search-btn:hover { transform: scale(1.08); }

/* زر كتم الصوت */
.sound-toggle { width: 42px; height: 42px; border-radius: 50%; background: white; border: 2px solid #e2e8f0; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); color: var(--gray-800); margin-left: 10px; }
.sound-toggle:hover { background: #f1f5f9; border-color: #cbd5e1; }
.sound-toggle.muted { background: #fee2e2; border-color: #fecaca; color: #ef4444; }

/* منطقة المستخدم */
.user-menu { position: relative; }
.user-area { display: flex; align-items: center; gap: 10px; padding: 0.5rem 1rem; background: linear-gradient(135deg, #fef3c7, #fde68a); border-radius: 30px; cursor: pointer; transition: var(--transition); border: 1px solid #fde68a; }
.user-area:hover { background: linear-gradient(135deg, #fde68a, #fcd34d); box-shadow: 0 4px 12px rgba(0,0,0,0.1); }
.user-greeting { font-weight: 700; color: #92400e; }
.user-avatar { width: 38px; height: 38px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.user-dropdown { position: absolute; top: 60px; left: 0; background: white; border-radius: 20px; box-shadow: 0 15px 35px rgba(0,0,0,0.15); min-width: 200px; display: none; flex-direction: column; padding: 0.5rem 0; z-index: 200; border: 1px solid #eee; overflow: hidden; }
.user-dropdown.active { display: flex; }
.dropdown-item { padding: 0.8rem 1.5rem; text-decoration: none; color: var(--gray-800); font-weight: 600; transition: var(--transition); display: flex; align-items: center; gap: 10px; }
.dropdown-item:hover { background: #fef3c7; color: #b45309; }
.dropdown-divider { border: none; border-top: 1px solid #e2e8f0; margin: 0.3rem 0; }
.logout-item { color: #ef4444; }
.logout-item:hover { background: #fef2f2; color: #dc2626; }
.auth-buttons { display: flex; gap: 12px; }

/* الأزرار العامة */
.btn { padding: 12px 28px; border-radius: 40px; font-weight: 700; font-family: 'Cairo', sans-serif; cursor: pointer; transition: var(--transition); border: none; font-size: 1rem; letter-spacing: 0.3px; }
.btn-primary { background: linear-gradient(135deg, #f97316, #ec4899); color: white; box-shadow: 0 10px 22px rgba(249,115,22,0.4); }
.btn-primary:hover { background: linear-gradient(135deg, #ea580c, #db2777); transform: translateY(-3px); box-shadow: 0 15px 30px rgba(249,115,22,0.5); }
.btn-outline { background: transparent; border: 2px solid #f97316; color: #f97316; }
.btn-outline:hover { background: linear-gradient(135deg, #f97316, #ec4899); color: white; border-color: transparent; box-shadow: 0 10px 22px rgba(249,115,22,0.4); }
.btn-full { width: 100%; justify-content: center; padding: 15px; font-size: 1.1rem; }

/* منطقة المحتوى */
.content-area { padding: 30px 40px; flex: 1; }

/* بطاقات الترحيب */
.public-welcome, .member-welcome { background: linear-gradient(105deg, #ffffff 0%, #fff7ed 100%); border-radius: var(--radius-lg); padding: 40px; display: flex; justify-content: space-between; align-items: center; box-shadow: var(--shadow-md), 0 0 30px rgba(249,115,22,0.15); margin-bottom: 35px; border: 1px solid rgba(255,255,255,0.8); }
.welcome-features { display: flex; gap: 15px; margin: 20px 0; flex-wrap: wrap; }
.welcome-features span { background: white; padding: 8px 16px; border-radius: 20px; font-weight: 600; color: var(--gray-800); box-shadow: var(--shadow-sm); }
.welcome-text h2 { font-size: 2rem; color: #1e293b; margin-bottom: 8px; background: linear-gradient(to left, #f97316, #8b5cf6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.level-text { color: var(--gray-600); margin-bottom: 20px; font-size: 1.1rem; }
.xp-container { max-width: 360px; }
.xp-label { font-weight: 700; color: var(--gray-800); margin-bottom: 8px; }
.xp-bar { height: 14px; background: #e5e7eb; border-radius: 30px; overflow: hidden; margin-bottom: 6px; box-shadow: inset 0 2px 5px rgba(0,0,0,0.05); }
.xp-fill { height: 100%; background: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6); background-size: 200% 100%; border-radius: 30px; animation: shimmer 2s ease-in-out infinite; }
@keyframes shimmer { 0% { background-position: 0% 0; } 50% { background-position: 100% 0; } 100% { background-position: 0% 0; } }
.xp-numbers { font-weight: 600; color: var(--gray-600); }
.welcome-illustration { font-size: 5.5rem; filter: drop-shadow(0 15px 20px rgba(0,0,0,0.15)); animation: float 3s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0); } 50% { transform: translateY(-12px); } 100% { transform: translateY(0); } }

/* عناوين الأقسام */
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; }
.section-title { font-size: 1.6rem; font-weight: 800; background: linear-gradient(to left, #1e293b, #334155); -webkit-background-clip: text; -webkit-text-fill-color: transparent; margin-bottom: 25px; display: inline-block; position: relative; }
.section-title::after { content: ''; position: absolute; bottom: -6px; right: 0; width: 40%; height: 4px; background: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6); border-radius: 10px; }
.books-count { background: #fef3c7; padding: 6px 18px; border-radius: 40px; font-weight: 700; color: #b45309; }

/* شبكة الكتب */
.books-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 25px; margin-bottom: 35px; }
.book-card { background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); border-radius: 25px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid rgba(255,255,255,0.7); cursor: pointer; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.book-card::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6, #10b981); }
.book-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: var(--shadow-lg), 0 0 30px rgba(139,92,246,0.2); border-color: #ddd6fe; background: white; }
.book-cover { height: 160px; border-radius: 20px 20px 0 0; background-size: cover; background-position: center; position: relative; overflow: hidden; }
.book-cover::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 45%; background: linear-gradient(to top, rgba(0,0,0,0.35), transparent); z-index: 1; }
.book-title { font-weight: 800; color: #1e293b; margin: 18px 20px 6px; font-size: 1.2rem; }
.book-author { color: #64748b; font-weight: 500; margin: 0 20px 18px; font-size: 0.9rem; }
.book-btn { display: inline-block; padding: 10px 24px; background: linear-gradient(135deg, #8b5cf6, #ec4899); color: white; border-radius: 30px; text-decoration: none; font-weight: 700; font-size: 0.9rem; transition: var(--transition); box-shadow: 0 8px 15px rgba(139,92,246,0.3); margin: 0 20px 20px; align-self: center; width: calc(100% - 40px); }
.book-btn:hover { background: linear-gradient(135deg, #7c3aed, #db2777); transform: translateY(-2px); box-shadow: 0 12px 22px rgba(139,92,246,0.45); }
.no-results { text-align: center; color: #94a3b8; font-size: 1.3rem; font-weight: 600; display: none; margin: 30px 0; }

/* قسم دراستي */
.study-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin-bottom: 40px; }
.study-card {cursor: pointer;background: rgba(255,255,255,0.8); backdrop-filter: blur(10px); border-radius: 25px; padding: 25px 20px; text-align: center; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid rgba(255,255,255,0.7); cursor: pointer; }
.study-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: #ddd6fe; background: white; }
.study-icon { font-size: 2.8rem; margin-bottom: 12px; }
.study-title { font-weight: 700; color: #1e293b; margin-bottom: 12px; font-size: 1.1rem; }
.study-progress { color: #64748b; font-size: 0.85rem; margin-bottom: 10px; }
.mini-progress { height: 8px; background: #e5e7eb; border-radius: 20px; overflow: hidden; }
.mini-fill { height: 100%; background: linear-gradient(90deg, #f97316, #ec4899, #8b5cf6); border-radius: 20px; }

/* الشارات */
.badges-container { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.badge { background: rgba(255,255,255,0.7); backdrop-filter: blur(5px); padding: 12px 24px; border-radius: 40px; font-weight: 700; color: #475569; box-shadow: var(--shadow-sm); border: 1px solid rgba(255,255,255,0.8); font-size: 0.95rem; transition: var(--transition); }
.badge:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.badge.unlocked { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; border-color: #fbbf24; box-shadow: 0 8px 18px rgba(251,191,36,0.3); }

/* المساعد الذكي */
.ai-assistant { position: fixed; bottom: 30px; left: 30px; z-index: 200; }
.ai-btn { width: 65px; height: 65px; border-radius: 50%; border: none; background: linear-gradient(135deg, #8b5cf6, #ec4899, #f97316); background-size: 200% 200%; color: white; font-size: 30px; cursor: pointer; box-shadow: 0 10px 30px rgba(139,92,246,0.5); transition: var(--transition); animation: gradientMove 3s ease infinite; }
@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.ai-btn:hover { transform: scale(1.12); box-shadow: 0 15px 35px rgba(139,92,246,0.6); }
.ai-chat-window { position: absolute; bottom: 85px; left: 0; width: 360px; background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); border-radius: 35px; box-shadow: 0 30px 50px rgba(0,0,0,0.2); display: none; flex-direction: column; overflow: hidden; border: 1px solid rgba(255,255,255,0.5); }
.ai-chat-window.active { display: flex; }
.chat-header { background: linear-gradient(135deg, #8b5cf6, #ec4899); color: white; padding: 18px 20px; display: flex; justify-content: space-between; font-weight: 700; font-size: 1.1rem; }
.chat-close { cursor: pointer; font-size: 1.4rem; }
.chat-messages { padding: 20px; height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 14px; background: rgba(255,255,255,0.5); }
.message { max-width: 85%; padding: 14px 18px; border-radius: 24px; font-size: 0.9rem; line-height: 1.6; font-weight: 500; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.message.bot { align-self: flex-start; background: #f1f5f9; color: #1e293b; border-bottom-right-radius: 6px; }
.message.user { align-self: flex-end; background: linear-gradient(135deg, #f97316, #ec4899); color: white; border-bottom-left-radius: 6px; }
.chat-input-row { display: flex; padding: 14px; gap: 10px; border-top: 1px solid rgba(0,0,0,0.05); background: white; }
.chat-input-row input { flex: 1; padding: 14px 18px; border-radius: 40px; border: 1px solid #e2e8f0; font-family: 'Cairo', sans-serif; outline: none; background: #f8fafc; transition: var(--transition); }
.chat-input-row input:focus { border-color: #ec4899; box-shadow: 0 0 0 3px rgba(236,72,153,0.15); }
.chat-input-row button { background: linear-gradient(135deg, #8b5cf6, #ec4899); border: none; color: white; border-radius: 50%; width: 46px; height: 46px; cursor: pointer; font-size: 1.2rem; box-shadow: 0 8px 15px rgba(139,92,246,0.3); transition: var(--transition); }
.chat-input-row button:hover { transform: scale(1.08); }

/* نافذة تسجيل الدخول */
.modal { display: none; position: fixed; inset: 0; background: rgba(15,23,42,0.6); backdrop-filter: blur(15px); justify-content: center; align-items: center; z-index: 300; }
.modal.active { display: flex; }
.modal-content { background: rgba(255,255,255,0.9); backdrop-filter: blur(20px); padding: 40px 35px; border-radius: 45px; width: 90%; max-width: 440px; box-shadow: 0 40px 70px rgba(0,0,0,0.25); position: relative; border: 1px solid rgba(255,255,255,0.6); }
.modal-close { position: absolute; top: 18px; left: 20px; font-size: 26px; cursor: pointer; color: #94a3b8; transition: var(--transition); }
.modal-close:hover { color: #ef4444; transform: rotate(90deg); }
.modal-tabs { display: flex; gap: 12px; margin-bottom: 30px; }
.modal-tab { flex: 1; padding: 12px; border: none; background: rgba(255,255,255,0.7); border-radius: 40px; font-weight: 700; cursor: pointer; font-family: 'Cairo', sans-serif; transition: var(--transition); font-size: 1rem; color: #475569; }
.modal-tab.active { background: linear-gradient(135deg, #f97316, #ec4899); color: white; box-shadow: 0 10px 20px rgba(249,115,22,0.4); }
.input-group { margin-bottom: 20px; text-align: right; }
.input-group label { display: block; margin-bottom: 8px; font-weight: 700; color: #1e293b; font-size: 0.95rem; }
.input-group input { width: 100%; padding: 16px 18px; border-radius: 25px; border: 1.5px solid #e2e8f0; font-family: 'Cairo', sans-serif; font-size: 1rem; outline: none; background: white; transition: var(--transition); }
.input-group input:focus { border-color: #ec4899; box-shadow: 0 0 0 4px rgba(236,72,153,0.1); }
.form-error { color: #ef4444; margin-top: 10px; font-size: 0.9rem; font-weight: 600; display: none; background: #fef2f2; padding: 10px; border-radius: 15px; text-align: center; }

/* ========== استعلامات الوسائط ========== */
@media (max-width: 900px) {
    .sidebar-toggle { display: block; }
    .sidebar { transform: translateX(100%); }
    .sidebar.open { transform: translateX(0); }
    .main-content { margin-right: 0; }
    .top-bar { margin: 0; border-radius: 0 0 25px 25px; padding: 12px 20px; }
    .search-container { max-width: 250px; }
    .public-welcome, .member-welcome { flex-direction: column; text-align: center; padding: 30px; }
    .welcome-illustration { margin-top: 20px; font-size: 4rem; }
    .content-area { padding: 20px; }
    .books-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
    .study-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 15px; }
}
@media (max-width: 600px) {
    .sidebar { width: 250px; }
    .top-bar { flex-wrap: wrap; gap: 10px; justify-content: center; }
    .search-container { order: 1; max-width: 200px; padding: 3px 12px; }
    .search-input { font-size: 0.85rem; }
    .search-btn { width: 32px; height: 32px; font-size: 1rem; }
    .sound-toggle { width: 36px; height: 36px; font-size: 1rem; }
    .user-area { padding: 5px 10px; }
    .user-greeting { display: none; }
    .user-avatar { width: 30px; height: 30px; }
    .auth-buttons { gap: 5px; }
    .btn { padding: 8px 16px; font-size: 0.85rem; }
    .btn-outline { padding: 6px 12px; font-size: 0.8rem; }
    .content-area { padding: 10px; }
    .public-welcome, .member-welcome { padding: 20px; border-radius: 20px; }
    .welcome-text h2 { font-size: 1.4rem; }
    .welcome-illustration { font-size: 3rem; }
    .welcome-features span { font-size: 0.8rem; padding: 6px 12px; }
    .section-title { font-size: 1.2rem; }
    .books-count { font-size: 0.8rem; padding: 4px 12px; }
    .books-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .book-cover { height: 120px; }
    .book-title { font-size: 0.9rem; margin: 10px 10px 4px; }
    .book-author { font-size: 0.8rem; margin: 0 10px 10px; }
    .book-btn { font-size: 0.75rem; padding: 6px 12px; margin: 0 10px 12px; }
    .study-grid { grid-template-columns: 1fr; }
    .ai-assistant { bottom: 15px; left: 15px; }
    .ai-btn { width: 50px; height: 50px; font-size: 24px; }
    .ai-chat-window { width: 280px; bottom: 70px; }
    .modal-content { padding: 25px 20px; border-radius: 30px; }
}
@media (max-width: 400px) {
    .books-grid { grid-template-columns: 1fr; }
    .search-container { max-width: 150px; }
}