/* ========================================================
   עיצוב גלובלי ושאר העמודים (Admin, Store, Teacher, Courses)
   ======================================================== */
   :root {
    --primary: #5A2D82;       
    --primary-hover: #7B4AA6; 
    --secondary: #6ED3CF;     
    --accent: #F2A65A;        
    --accent-hover: #D9822B;  
    --bg-body: #F8F6FB;       
    --bg-light: #EFE9F7;      
    --white: #ffffff;
    --text-dark: #333333;     
    --text-light: #6B6B6B;    
    --radius-small: 15px;
    --radius-card: 30px;
    --radius-btn: 50px;
    --shadow-soft: 0 10px 40px rgba(90, 45, 130, 0.05);
    --shadow-hover: 0 15px 40px rgba(90, 45, 130, 0.15);
}

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; 
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0; direction: rtl; color: var(--text-dark);
    line-height: 1.6; background-color: var(--bg-body);
    overflow-x: hidden; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; padding: 0; }
img { max-width: 100%; display: block; }

.highlight-blue { color: var(--secondary); font-size: 1.15em; font-weight: 800; }
.hostage-ribbon { color: #f1c40f; font-size: 1.1em; margin-right: 8px; vertical-align: middle; }

.about-content-box span, .approach-content-wrapper span { line-height: 1.8; }
.about-content-box b, .approach-content-wrapper b,
.about-content-box strong, .approach-content-wrapper strong { font-weight: 900 !important; }

/* --- סרגלי ניווט (גלובלי) --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 5%; background: white; box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky; top: 0; z-index: 1000;
    border-bottom-left-radius: var(--radius-small);
    border-bottom-right-radius: var(--radius-small);
}
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-weight: 600; color: var(--text-dark); }
.nav-links a:hover { color: var(--primary); }

.nav-btn-logout, .nav-btn-login {
    background: var(--primary); color: white; padding: 10px 25px; border: none;
    border-radius: var(--radius-btn); cursor: pointer; font-family: inherit;
    font-size: 0.95rem; font-weight: bold; transition: 0.3s;
    box-shadow: 0 4px 10px rgba(90, 45, 130, 0.2);
}
.nav-btn-logout:hover, .nav-btn-login:hover { background: var(--primary-hover); transform: translateY(-2px); }

/* --- רקע עדין לחלק הלבן העליון (Top Header) --- */
.top-header { 
    background-color: var(--white); 
    padding: 20px 5% 5px 5%; 
    position: relative;
    z-index: 1;
}

/* העיצוב (קשקוש) של החלק הלבן העליון בדף הבית */
.top-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 2000 1000' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3ClinearGradient id='g1' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%235A2D82'/%3E%3Cstop offset='50%25' stop-color='%236ED3CF'/%3E%3Cstop offset='100%25' stop-color='%23F2A65A'/%3E%3C/linearGradient%3E%3ClinearGradient id='g2' x1='100%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%23F2A65A'/%3E%3Cstop offset='50%25' stop-color='%235A2D82'/%3E%3Cstop offset='100%25' stop-color='%236ED3CF'/%3E%3C/linearGradient%3E%3Cfilter id='glow'%3E%3CfeGaussianBlur stdDeviation='8' result='coloredBlur'/%3E%3CfeMerge%3E%3CfeMergeNode in='coloredBlur'/%3E%3CfeMergeNode in='SourceGraphic'/%3E%3C/feMerge%3E%3C/filter%3E%3C/defs%3E%3Cg fill='none' filter='url(%23glow)'%3E%3Cpath d='M-100,500 Q400,100 1000,500 T2100,500' stroke='url(%23g1)' stroke-width='10' opacity='0.3'/%3E%3Cpath d='M-100,485 Q400,85 1000,485 T2100,485' stroke='url(%23g1)' stroke-width='12' opacity='0.5'/%3E%3Cpath d='M-100,470 Q400,70 1000,470 T2100,470' stroke='url(%23g1)' stroke-width='15' opacity='0.7'/%3E%3Cpath d='M-100,455 Q400,55 1000,455 T2100,455' stroke='url(%23g1)' stroke-width='8' opacity='1'/%3E%3Cpath d='M-100,800 Q500,1100 1200,700 T2100,700' stroke='url(%23g2)' stroke-width='15' opacity='0.4'/%3E%3Cpath d='M-100,780 Q500,1080 1200,680 T2100,680' stroke='url(%23g2)' stroke-width='10' opacity='0.7'/%3E%3Cpath d='M-100,760 Q500,1060 1200,660 T2100,660' stroke='url(%23g2)' stroke-width='5' opacity='1'/%3E%3Cpath d='M-100,300 Q600,-50 1100,400 T2100,300' stroke='url(%23g1)' stroke-width='20' opacity='0.2'/%3E%3Cpath d='M-100,280 Q600,-70 1100,380 T2100,280' stroke='url(%23g1)' stroke-width='12' opacity='0.5'/%3E%3Cpath d='M-100,260 Q600,-90 1100,360 T2100,260' stroke='url(%23g1)' stroke-width='6' opacity='0.9'/%3E%3C/g%3E%3Cg font-family='Arial' font-weight='bold' filter='url(%23glow)' opacity='0.6'%3E%3Ctext x='200' y='300' font-size='80' fill='%235A2D82'%3E%26%239835;%3C/text%3E%3Ctext x='800' y='700' font-size='80' fill='%236ED3CF'%3E%26%239834;%3C/text%3E%3Ctext x='1400' y='400' font-size='80' fill='%23F2A65A'%3E%26%239835;%3C/text%3E%3Ctext x='500' y='800' font-size='80' fill='%235A2D82'%3E%26%239834;%3C/text%3E%3Ctext x='1100' y='200' font-size='80' fill='%23F2A65A'%3E%26%239834;%3C/text%3E%3Ctext x='1700' y='800' font-size='80' fill='%235A2D82'%3E%26%239835;%3C/text%3E%3Ctext x='1800' y='300' font-size='80' fill='%236ED3CF'%3E%26%239834;%3C/text%3E%3Ctext x='150' y='650' font-size='80' fill='%23F2A65A'%3E%26%239835;%3C/text%3E%3Ctext x='950' y='900' font-size='80' fill='%236ED3CF'%3E%26%239835;%3C/text%3E%3Ctext x='350' y='150' font-size='40' fill='%23F2A65A' opacity='0.8'%3E%26%239834;%3C/text%3E%3Ctext x='1250' y='850' font-size='120' fill='%235A2D82' opacity='0.4'%3E%26%239835;%3C/text%3E%3Ctext x='1600' y='150' font-size='50' fill='%236ED3CF' opacity='0.9'%3E%26%239834;%3C/text%3E%3C/g%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    opacity: 0.15; 
    z-index: 0; 
    pointer-events: none; 
}
.header-content-wrapper { display: flex; align-items: center; gap: 25px; position: relative; z-index: 2; }
.main-logo-img { width: 110px; height: 110px; object-fit: contain; border-radius: 50%; border: 4px solid var(--white); box-shadow: var(--shadow-soft); }

/* --- עיצוב הכותרות המעודכן --- */
.site-main-title { font-family: 'Fredoka', 'Varela Round', sans-serif; font-size: 3.8rem; font-weight: 700; margin: 0; color: var(--primary); line-height: 1; }
.site-subtitle { font-size: 1.3rem; margin: 5px 0 0 0; color: var(--text-light); font-weight: 400; }
.subtitle-light-blue { color: var(--secondary); font-weight: 800; }
.subtitle-purple-large { color: var(--primary); font-size: 1.5em; font-weight: 900; }

.main-navbar { background: var(--primary); padding: 0 5%; position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow-soft); }
.nav-container { display: flex; justify-content: space-between; align-items: center; height: 65px; }
.nav-menu { display: flex; gap: 30px; margin: 0; padding: 0; list-style: none; align-items: center; }
.nav-menu li a { color: rgba(255,255,255,0.9); font-size: 1.1rem; font-weight: 500; text-decoration: none; transition: 0.3s; padding: 20px 0; display: block; border-bottom: 4px solid transparent; white-space: nowrap; }
.nav-menu li a:hover, .nav-menu li a.active { color: var(--white); border-bottom-color: var(--accent); }

/* --- הוספת Flex לאזור המשתמש (כדי שיוצגו בשורה אחת) --- */
.nav-auth-area { 
    display: flex; 
    align-items: center; 
    gap: 15px; 
}

/* --- כפתור המבורגר למובייל (מוסתר במסכים גדולים) --- */
.hamburger-btn { display: none; background: none; border: none; color: white; font-size: 1.8rem; cursor: pointer; padding: 5px; margin-right: 15px; }

/* --- כפתורים כלליים --- */
.btn { padding: 12px 30px; border: none; border-radius: var(--radius-btn); cursor: pointer; font-weight: bold; width: auto; transition: 0.3s; }
.btn.primary { background: var(--primary); color: white; box-shadow: 0 4px 10px rgba(90, 45, 130, 0.3); }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 6px 15px rgba(90, 45, 130, 0.4); }

.btn.secondary { 
    background: transparent; 
    color: var(--primary); 
    border: 2px solid var(--primary); 
    padding: 10px 30px; 
}
.btn.secondary:hover { 
    background: var(--primary); 
    color: var(--white); 
    box-shadow: 0 4px 10px rgba(90, 45, 130, 0.2); 
}

.action-btn { background: none; border: none; cursor: pointer; font-size: 1.1rem; color: var(--text-light); margin: 0 5px; }
.action-btn:hover { color: var(--primary); transform: scale(1.1); }

/* --- דרופדאון אזור אישי בבר הניווט הראשי --- */
.user-dropdown-container { position: relative; display: flex; align-items: center; }
.user-dropdown-trigger { display: flex; align-items: center; gap: 10px; cursor: pointer; padding: 5px 15px 5px 10px; border-radius: 30px; background: rgba(255,255,255,0.1); transition: 0.3s; }
.user-dropdown-trigger:hover { background: rgba(255,255,255,0.2); }
.nav-avatar-circle { width: 35px; height: 35px; background: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }
.nav-user-name-text { color: white; font-weight: bold; font-size: 0.95rem; }
.dropdown-icon { color: white; font-size: 0.8rem; margin-right: 5px; }

.user-dropdown-menu { position: absolute; top: 110%; left: 0; background: white; min-width: 220px; border-radius: 15px; box-shadow: 0 10px 25px rgba(0,0,0,0.15); display: flex; flex-direction: column; overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.3s ease; z-index: 2000; }
.user-dropdown-container:hover .user-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.user-dropdown-menu a { padding: 12px 20px; color: var(--text-dark); text-decoration: none; font-weight: 600; font-size: 0.95rem; display: flex; align-items: center; gap: 12px; transition: 0.2s; }
.user-dropdown-menu a:hover { background: var(--bg-light); color: var(--primary); padding-right: 25px; }
.user-dropdown-menu a i { color: var(--accent); font-size: 1.1rem; width: 20px; text-align: center; }
.dropdown-divider { height: 1px; background: #eee; margin: 5px 0; }

/* --- טפסים ומודלים (Popups) --- */
.modal { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(90, 45, 130, 0.4); backdrop-filter: blur(5px); z-index: 2000; display: flex; justify-content: center; align-items: center; padding: 10px; }
.modal-content { background: white; padding: 40px; border-radius: var(--radius-card); width: 500px; max-width: 100%; max-height: 90vh; overflow-y: auto; position: relative; box-shadow: var(--shadow-hover); }
.large-modal { width: 700px; }
.hidden { display: none !important; }
.close-btn { position: absolute; top: 20px; left: 20px; font-size: 1.5rem; cursor: pointer; color: #999; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.full-width { grid-column: span 2; }
.form-group { display: flex; flex-direction: column; margin-bottom: 15px; }
input, select, textarea { padding: 12px 15px; border: 1px solid #eee; background: var(--bg-body); border-radius: 10px; width: 100%; font-family: inherit; transition: 0.3s; margin-bottom: 15px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(90, 45, 130, 0.1); }

/* ========================================================
   הגדלה ושדרוג חלונית התחברות / הרשמה (Auth Modal)
   ======================================================== */
#auth-modal .modal-content {
    max-width: 650px !important;
    padding: 50px 40px !important;
}
#auth-modal h2 { font-size: 2.5rem !important; margin-bottom: 15px !important; }
#auth-modal p { font-size: 1.2rem !important; margin-bottom: 25px !important; }
#auth-modal .tab-btn { font-size: 1.4rem !important; padding-bottom: 15px !important; }
#auth-modal .input-group input, 
#auth-modal input[type="email"], 
#auth-modal input[type="password"], 
#auth-modal input[type="text"], 
#auth-modal input[type="number"], 
#auth-modal input[type="tel"], 
#auth-modal textarea {
    font-size: 1.25rem !important;
    padding: 16px 20px !important;
    border-radius: 15px !important;
}
#auth-modal .input-group i.fa-eye, #auth-modal .input-group i.fa-eye-slash {
    font-size: 1.4rem !important;
    left: 20px !important;
}
#auth-modal input[type="password"] { padding-left: 55px !important; }
#auth-modal .btn { font-size: 1.4rem !important; padding: 18px !important; border-radius: 50px !important; margin-top: 10px !important; }
#auth-modal small#parent-label { font-size: 1.1rem !important; }
#auth-modal #forgot-pass-link { font-size: 1.1rem !important; }

/* --- וואטסאפ --- */
.whatsapp-float { position: fixed; width: 60px; height: 60px; bottom: 30px; left: 30px; background-color: #25d366; color: #FFF; border-radius: 50%; text-align: center; font-size: 32px; box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: all 0.3s ease; }
.whatsapp-float:hover { background-color: #128c7e; transform: scale(1.1); color: white; }

/* --- אווטאר תלמיד --- */
.avatar-preview-container { width: 120px; height: 120px; background: #fff; border-radius: 50%; margin: 0 auto 20px auto; border: 4px solid var(--primary); display: flex; justify-content: center; align-items: center; box-shadow: var(--shadow-soft); font-size: 70px; }
.avatar-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 15px; margin-bottom: 20px; max-height: 300px; overflow-y: auto; padding: 5px; }
.avatar-option { font-size: 35px; background: #fff; border: 2px solid #f0f0f0; border-radius: 15px; cursor: pointer; text-align: center; padding: 10px; transition: all 0.2s ease; display: flex; align-items: center; justify-content: center; }
.avatar-option:hover { background: #fdfbfd; transform: translateY(-3px); border-color: var(--primary); }
.avatar-option.selected { border: 3px solid var(--primary); background: #f4ecf7; transform: scale(1.05); box-shadow: 0 5px 15px rgba(142, 68, 173, 0.2); }
.nav-avatar-small { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid #eee; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; margin-left: 10px; font-size: 24px; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }

/* --- Footer --- */
footer { background: var(--primary); color: var(--white); padding: 60px 5% 20px 5%; border-radius: 60px 60px 0 0; margin-top: 60px; position: relative;}
.footer-grid { display: grid; grid-template-columns: 1fr 1.5fr 1fr; gap: 50px; margin-bottom: 40px; }
.footer-col h3 { color: var(--secondary); border-bottom: 2px solid rgba(255,255,255,0.1); padding-bottom: 15px; margin-bottom: 25px; font-size: 1.4rem; }
.relative-col { position: relative; } 

/* Social Icons */
.social-icons { display: flex; gap: 15px; margin-bottom: 20px; }
.social-icons a { 
    background: #ffffff; 
    width: 45px; height: 45px; 
    display: inline-flex; align-items: center; justify-content: center; 
    border-radius: 50%; font-size: 1.5rem; transition: 0.3s; margin-left: 10px; 
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.social-icons a:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 6px 15px rgba(0,0,0,0.3); 
}
.social-wa { color: #25D366 !important; }
.social-fb { color: #1877F2 !important; }
.social-yt { color: #FF0000 !important; }
.social-ig i {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo-watermark { margin-top: 30px; display: flex; justify-content: center; opacity: 1; }
.footer-logo-watermark img { width: 140px; height: 140px; object-fit: contain; border-radius: 50%; border: 4px solid #ffffff; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }

.footer-links a:hover { color: var(--secondary); padding-right: 5px; }
.address-box { background: rgba(255,255,255,0.05); padding: 20px; border-radius: var(--radius-small); margin-top: 20px; border: 1px dashed rgba(255,255,255,0.2); }
.huge-address { display: inline-block; font-size: 1.8rem; font-weight: 900; color: var(--accent); text-shadow: 0 3px 6px rgba(0,0,0,0.3); letter-spacing: 1px; line-height: 1.2; }

.copyrights { text-align: center; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; font-size: 0.9rem; color: #dcdcdc; }

/* ========================================================
   עיצובים ספציפיים למערכות (מנהל, מורה, תלמיד, חנות)
   ======================================================== */

/* הדר עליון לפאנל מנהלים (מוצג רק במובייל) */
.admin-mobile-header {
    display: none;
    background: var(--primary);
    color: white;
    padding: 15px 20px;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1100;
    box-shadow: var(--shadow-soft);
}
.admin-mobile-header h2 { margin: 0; font-size: 1.5rem; font-weight: 800; }
.admin-hamburger {
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px;
}

.admin-container { display: flex; min-height: 100vh; background-color: var(--bg-body); }
.sidebar { width: 260px; background: linear-gradient(180deg, var(--primary) 0%, var(--primary-hover) 100%); color: white; padding: 25px; display: flex; flex-direction: column; flex-shrink: 0; border-top-left-radius: 30px; border-bottom-left-radius: 30px; margin: 10px; border-radius: 20px; }
.sidebar h2 { margin-bottom: 30px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 20px; font-size: 1.5rem; }
.sidebar button { background: transparent; border: none; color: rgba(255,255,255,0.8); text-align: right; padding: 12px 15px; font-size: 1rem; cursor: pointer; width: 100%; transition: 0.3s; border-radius: var(--radius-small); margin-bottom: 5px; }
.sidebar button:hover, .sidebar button.active { background-color: rgba(255,255,255,0.15); color: white; font-weight: bold; transform: translateX(-5px); }
.sidebar button i { margin-left: 10px; width: 25px; text-align: center; }

.main-content { flex: 1; padding: 30px; overflow-y: auto; overflow-x: hidden; }
.header-area { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 10px; }
.table-container { background: white; border-radius: var(--radius-card); padding: 25px; box-shadow: var(--shadow-soft); overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.data-table th, .data-table td { text-align: right; padding: 15px; border-bottom: 1px solid #eee; }
.data-table th { background-color: var(--bg-light); color: var(--primary); font-weight: bold; white-space: nowrap; }
.course-thumb-small { width: 50px; height: 50px; object-fit: cover; border-radius: 10px; border: 1px solid #ddd; }
.tag { padding: 5px 12px; border-radius: 20px; font-size: 0.8rem; color: white; display: inline-block; font-weight: bold; }
.tag-cat { background-color: var(--primary); }
.tag-lvl { background-color: #3498db; }
.tag-teacher { background-color: var(--primary-hover); }

.container { max-width: 1200px; margin: 0 auto; padding: 20px; width: 100%; }

.store-header { background: linear-gradient(135deg, var(--primary), var(--primary-hover)); color: white; padding: 15px 5%; border-bottom-left-radius: 40px; border-bottom-right-radius: 40px; box-shadow: var(--shadow-soft); }
.logo-placeholder { font-size: 1.5rem; background: rgba(255,255,255,0.2); width: 45px; height: 45px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.cart-badge { position: absolute; top: -8px; right: -8px; background-color: var(--accent); color: white; font-size: 0.7rem; width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; }
.search-box-inline { background: rgba(255,255,255,0.15); border-radius: 50px; display: flex; align-items: center; padding: 6px 15px; width: 240px; border: 1px solid rgba(255,255,255,0.1); }
.search-box-inline:focus-within { background: white; width: 300px; }
.search-box-inline input { background: transparent; border: none; color: white; padding: 5px; flex: 1; outline: none; }
.search-box-inline:focus-within input { color: var(--primary); }
.store-categories-nav { display: flex; gap: 25px; font-size: 1.05rem; }
.store-categories-nav span { cursor: pointer; color: rgba(255,255,255,0.85); border-bottom: 2px solid transparent; }
.store-categories-nav span:hover { color: white; border-bottom-color: var(--accent); }

/* ========================================================
   דף הקורסים (Courses) - תצוגה אופקית מודרנית
   ======================================================== */
   
.category-section { margin-bottom: 60px; }
.category-title { color: var(--primary); font-size: 2.2rem; font-weight: 800; margin-bottom: 30px; display: flex; align-items: center; border-bottom: 4px solid rgba(90, 45, 130, 0.1); padding-bottom: 10px; }
.category-title i { color: var(--accent); margin-left: 15px; font-size: 1.8rem; }
.courses-list-vertical { display: flex; flex-direction: column; gap: 35px; }

.course-card-horizontal {
    display: flex;
    background: var(--white);
    border-radius: var(--radius-card); 
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
    position: relative;
    min-height: 280px;
    border: 1px solid rgba(0,0,0,0.02);
}

.course-card-horizontal:hover { transform: translateY(-5px) scale(1.01); box-shadow: var(--shadow-hover); cursor: pointer; }

.course-card-horizontal.locked { filter: grayscale(100%); opacity: 0.85; cursor: not-allowed; }
.course-card-horizontal.locked:hover { transform: none; box-shadow: var(--shadow-soft); }

.horizontal-card-img {
    width: 400px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    position: relative;
    border-left: 5px solid var(--accent); 
}

.horizontal-card-content { flex: 1; padding: 40px; display: flex; flex-direction: column; }
.horizontal-card-title { color: var(--primary); font-size: 2rem; font-weight: 800; margin-top: 0; margin-bottom: 15px; }
.horizontal-card-meta { display: flex; gap: 15px; margin-bottom: 20px; flex-wrap: wrap; }

.meta-badge { background: var(--bg-light); color: var(--primary); padding: 8px 15px; border-radius: 20px; font-size: 0.95rem; font-weight: bold; display: inline-flex; align-items: center; gap: 8px; }
.meta-badge i { color: var(--secondary); }

.horizontal-card-desc { font-size: 1.15rem; color: var(--text-dark); line-height: 1.7; margin-bottom: 30px; flex-grow: 1; }
.horizontal-card-action { margin-top: auto; }

.locked-badge { color: #e74c3c; font-weight: bold; background: #fdf0f0; padding: 10px 20px; border-radius: 20px; display: inline-block; }

.course-card-horizontal .card-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(90, 45, 130, 0.5); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: white; opacity: 0; transition: 0.3s; }
.course-card-horizontal:hover .card-overlay { opacity: 1; }
.course-card-horizontal.locked .card-overlay { opacity: 1; background: rgba(0,0,0,0.6); }

/* ========================================================
   נגן הוידאו וטאבים של השיעור - עיצוב פרימיום עגול ורך
   ======================================================== */

.player-container { 
    display: flex; 
    height: calc(100vh - 40px); 
    margin: 20px 20px 0 20px; 
    background: var(--bg-body); 
    overflow: hidden; 
    border-radius: 40px; 
    box-shadow: 0 15px 50px rgba(90, 45, 130, 0.1); 
    border: 5px solid white;
}

.playlist-sidebar { 
    width: 320px; 
    background: white; 
    overflow-y: auto; 
    display: flex; 
    flex-direction: column; 
    flex-shrink: 0; 
    box-shadow: -5px 0 20px rgba(0,0,0,0.03);
    z-index: 5;
}
.sidebar-header { 
    padding: 25px 20px; 
    background: white; 
    position: sticky;
    top: 0;
    z-index: 10;
}
.sidebar-header h3 {
    margin: 20px 0 0 0;
    color: var(--primary);
    font-weight: 800;
    font-size: 1.3rem;
}
.back-btn { 
    background: var(--bg-light); 
    color: var(--primary); 
    border-radius: 50px; 
    padding: 10px 20px; 
    border: none; 
    font-weight: bold; 
    cursor: pointer; 
    display: inline-flex; 
    align-items: center; 
    gap: 10px; 
    font-size: 0.95rem; 
    transition: 0.3s; 
}
.back-btn:hover { background: var(--primary); color: white; transform: translateY(-2px); }

.lesson-list { list-style: none; padding: 0 15px 20px 15px; margin: 0; display: flex; flex-direction: column; gap: 10px;}
.lesson-item { 
    padding: 15px 20px; 
    cursor: pointer; 
    transition: 0.3s; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    background: var(--bg-body);
    border-radius: 20px; 
    border: 2px solid transparent;
}
.lesson-item:hover { background-color: var(--bg-light); transform: translateX(-3px); }
.lesson-item.active { 
    background-color: var(--primary); 
    color: white; 
    box-shadow: 0 5px 15px rgba(90, 45, 130, 0.25);
    transform: scale(1.02);
}
.lesson-item.active .icon-wrapper { color: var(--accent); }
.lesson-item.locked { opacity: 0.6; cursor: not-allowed; background: #f5f5f5; }
.lesson-item.locked:hover { transform: none; }

.video-area { 
    flex: 1; 
    display: flex; 
    flex-direction: column; 
    overflow-y: auto; 
    background: #fdfdfd; 
}

.video-layout-container {
    padding: 50px 30px;
    background: var(--bg-body);
    display: flex;
    justify-content: center;
    border-bottom: 2px dashed #eee;
}

.video-wrapper-inner {
    width: 100%;
    max-width: 850px; 
    position: relative;
}

.video-wrapper-inner::before {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 60%;
    height: 60%;
    border-bottom: 12px solid var(--secondary); 
    border-left: 12px solid var(--secondary);
    border-bottom-left-radius: 40px; 
    z-index: 1;
}

.video-wrapper-inner::after {
    content: '';
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--accent); 
    border-radius: 50%;
    z-index: 3;
    box-shadow: 0 5px 15px rgba(242, 166, 90, 0.4);
}

.video-wrapper { 
    width: 100%; 
    aspect-ratio: 16/9; 
    background: black; 
    border-radius: 25px; 
    overflow: hidden;
    position: relative;
    z-index: 2; 
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border: 5px solid white;
}
.video-wrapper iframe { width: 100%; height: 100%; }

.lesson-content { padding: 40px; max-width: 850px; margin: 0 auto; width: 100%; }
.lesson-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; flex-wrap: wrap; gap: 15px; }
.lesson-header h1 { font-size: 2.2rem; color: var(--primary); margin: 0; font-weight: 900; }
.mark-complete-btn { padding: 12px 30px; border: 2px solid #27ae60; background: white; color: #27ae60; border-radius: 50px; cursor: pointer; font-weight: bold; transition: 0.3s; display: flex; align-items: center; gap: 10px; font-size: 1rem; }
.mark-complete-btn:hover { background: #27ae60; color: white; box-shadow: 0 5px 15px rgba(39, 174, 96, 0.3); transform: translateY(-2px); }
.mark-complete-btn.completed { background: #27ae60; color: white; cursor: default; }

.lesson-tabs-nav {
    display: inline-flex;
    gap: 10px;
    background: var(--bg-light);
    padding: 8px;
    border-radius: 50px;
    margin-bottom: 30px;
}
.tab-btn {
    background: transparent;
    border: none;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { 
    color: var(--primary); 
    background: white;
    box-shadow: 0 4px 15px rgba(90, 45, 130, 0.1);
}

.lesson-tab-pane {
    display: none; 
    animation: fadeIn 0.4s ease;
    background: white;
    padding: 30px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}
.lesson-tab-pane.active { display: block; } 
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

#tab-qa {
    display: none; 
    flex-direction: column;
    height: 450px;
    padding: 0; 
    overflow: hidden;
}
#tab-qa.active { display: flex; }

.qa-feed {
    flex-grow: 1; 
    overflow-y: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #fdfdfd;
}

.qa-input-area { 
    flex-shrink: 0; 
    display: flex; 
    gap: 15px; 
    align-items: center; 
    background: white;
    padding: 20px 30px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.03);
}

.qa-message {
    background: #f4f6f8;
    padding: 18px 25px;
    border-radius: 25px;
    border-bottom-right-radius: 5px; 
    width: 90%;
}
.qa-message.my-message {
    background: #fff5ec; 
    border: 2px solid rgba(242, 166, 90, 0.2);
    border-bottom-right-radius: 25px;
    border-bottom-left-radius: 5px; 
    margin-right: auto;
}
.qa-message.teacher-message {
    background: var(--bg-light); 
    border: 2px solid rgba(90, 45, 130, 0.1);
}

.qa-meta {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.qa-badge { background: var(--accent); color: white; padding: 3px 10px; border-radius: 20px; font-size: 0.8rem; }
.qa-text { line-height: 1.6; color: var(--text-dark); font-size: 1.05rem;}

.qa-delete-btn { color: #e74c3c; cursor: pointer; font-size: 1rem; opacity: 0.5; transition: 0.3s; }
.qa-delete-btn:hover { opacity: 1; transform: scale(1.1); }
.qa-delete-reply-btn { color: #e74c3c; cursor: pointer; font-size: 0.9rem; opacity: 0.5; transition: 0.3s; }
.qa-delete-reply-btn:hover { opacity: 1; transform: scale(1.2); }

.qa-replies-list {
    margin-top: 15px;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 3px solid rgba(90, 45, 130, 0.1);
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.qa-reply-item {
    background: rgba(255,255,255,0.7);
    padding: 12px 20px;
    border-radius: 20px;
}
.qa-reply-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; font-size: 0.9rem; }

.qa-reply-toggle { color: var(--primary); font-size: 0.9rem; font-weight: bold; cursor: pointer; transition: 0.3s; }
.qa-reply-toggle:hover { color: var(--accent); }

.qa-reply-input-wrapper { display: none; margin-top: 15px; gap: 10px; align-items: center; }
.qa-reply-input-wrapper input[type="text"] { flex: 1; padding: 10px 20px; border: 1px solid #ddd; border-radius: 50px; font-family: inherit; font-size: 0.95rem; }
.qa-reply-input-wrapper input[type="text"]:focus { border-color: var(--primary); outline: none; background: white;}

.qa-input-area input[type="text"] {
    flex: 1; padding: 15px 25px; border: 2px solid #eee; border-radius: 50px; font-family: inherit; font-size: 1.05rem; transition: 0.3s; background: var(--bg-body);
}
.qa-input-area input[type="text"]:focus { border-color: var(--primary); outline: none; background: white; box-shadow: 0 5px 15px rgba(90, 45, 130, 0.1);}

.small-circle-btn { border-radius: 50% !important; width: 50px !important; height: 50px !important; padding: 0 !important; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0;}

.qa-anon-label { font-size: 0.9rem; color: #666; display: flex; align-items: center; gap: 8px; cursor: pointer; white-space: nowrap; font-weight: bold;}
.qa-anon-label input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--primary); cursor: pointer; margin: 0; padding: 0; border: none; flex: none; }

/* --- חומרים נוספים --- */
.materials-list { list-style: none; padding: 0; margin: 0; display:flex; flex-direction: column; gap:15px; }
.materials-list li { background: var(--bg-body); border-radius: 20px; transition: 0.3s; border: 2px solid transparent;}
.materials-list li:hover { border-color: var(--primary); transform: translateX(-5px); background: white; box-shadow: var(--shadow-soft);}
.materials-list a { display: flex; align-items: center; gap: 15px; padding: 20px; color: var(--text-dark); font-weight: 700; text-decoration: none; font-size: 1.1rem; }
.materials-list a i { color: var(--accent); font-size: 1.8rem; background: white; width: 50px; height: 50px; display:flex; align-items:center; justify-content:center; border-radius:50%; box-shadow: 0 5px 15px rgba(0,0,0,0.05);}

/* ========================================================
   INNER NAVBAR (בר הניווט הפנימי)
   ======================================================== */
.inner-navbar {
    background: rgba(239, 233, 247, 0.85); /* סגול בהיר עם שקיפות */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(90, 45, 130, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;
    margin-bottom: 20px;
}

.inner-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative; 
    flex-wrap: wrap;
    row-gap: 15px;
}

.inner-nav-right { display: flex; align-items: center; }
.inner-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: 0.3s;
}
.inner-logo img:hover { transform: scale(1.05); }

.inner-nav-center { flex: 1; display: flex; justify-content: center; }
.inner-nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}
.inner-nav-menu li a {
    color: var(--primary); 
    font-weight: 700;
    font-size: 1.05rem;
    transition: 0.3s;
    padding: 8px 15px;
    border-radius: 20px;
    white-space: nowrap;
}

.inner-nav-menu li a:hover, .inner-nav-menu li a.active-link {
    background: rgba(110, 211, 207, 0.2); 
    color: var(--primary); 
}

.inner-nav-left { display: flex; align-items: center; gap: 20px; }
.inner-user-area {
    display: flex;
    align-items: center;
    gap: 15px;
}
.inner-user-greeting {
    font-weight: 800;
    color: var(--primary);
    font-size: 1.1rem;
}
.inner-user-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: 0.3s;
}
.inner-user-profile:hover { transform: translateY(-3px); }

.inner-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--bg-body);
    border: 2px solid var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(242, 166, 90, 0.2);
}
.inner-avatar-text {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 4px;
}

#inner-mobile-btn { display: none; }
.mobile-only { display: none; }

/* ========================================================
   רספונסיביות - עדכון למצב שתי שורות בדף הבית (הורדת בועות)
   ======================================================== */

@media (max-width: 1400px) and (min-width: 769px) {
    .main-navbar .nav-container { flex-direction: column; min-height: auto; height: auto; padding: 15px 5%; gap: 15px; justify-content: center; }
    .main-navbar .nav-menu { width: 100%; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 0; }
    
    /* הכתב עבה יותר וללא בועות, עם קו תחתון בריחוף במקום שינוי רקע */
    .main-navbar .nav-menu li a { white-space: nowrap; padding: 8px 15px; font-size: 1.15rem; font-weight: 700; background: transparent; border-radius: 0; border-bottom: 3px solid transparent; color: rgba(255,255,255,0.9); }
    .main-navbar .nav-menu li a:hover, .main-navbar .nav-menu li a.active { background: transparent; color: var(--accent); border-bottom-color: var(--accent); }
    
    .main-navbar .nav-auth-area { width: 100%; justify-content: center; display: flex; align-items: center; flex-wrap: wrap; gap: 15px;}
    .main-navbar #user-info-display { flex-wrap: wrap; justify-content: center; gap: 15px; }
    
    .inner-navbar { border-radius: 0; margin-bottom: 20px; }
    .inner-nav-container { flex-direction: column; height: auto; padding: 15px 5%; gap: 15px; justify-content: center; }
    .inner-nav-right { order: 1; width: 100%; justify-content: center; }
    .inner-nav-left { order: 2; flex: none; width: 100%; justify-content: center; margin: 0; } 
    .inner-nav-center { order: 3; width: 100%; flex: 100%; display: flex; justify-content: center; margin-top: 10px; }
    .inner-nav-menu { display: flex; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 15px; }
    .inner-nav-menu li a { white-space: nowrap; padding: 8px 15px; font-size: 1.05rem; background: var(--bg-light); }
    .inner-nav-menu li a:hover, .inner-nav-menu li a.active-link { background: var(--primary); color: white; }
    #inner-mobile-btn { display: none !important; }
    .mobile-only { display: none !important; }
    .hamburger-btn { display: none !important; }
}

@media (max-width: 768px) {
    /* הדר ועיצוב כללי למובייל */
    .header-content-wrapper { flex-direction: column; text-align: center; gap: 10px; }
    .main-logo-img { width: 80px; height: 80px; margin: 0 auto; }
    
    .hamburger-btn { display: block; }
    .nav-container { justify-content: space-between; flex-direction: row; padding: 10px 5%; }
    
    .nav-menu { display: none; flex-direction: column; position: absolute; top: 100%; right: 0; width: 100%; background: var(--primary); padding: 0; margin: 0; box-shadow: 0 10px 20px rgba(0,0,0,0.2); gap: 0; z-index: 1000; }
    .nav-menu.show { display: flex !important; animation: slideDown 0.3s ease; }
    .nav-menu li a { padding: 15px 5%; border-bottom: 1px solid rgba(255,255,255,0.05); width: 100%; text-align: right; color: white; background: none; border-radius: 0;}
    
    .nav-auth-area { display: flex; align-items: center; gap: 10px; width: auto; justify-content: flex-end; }
    .nav-btn-login { padding: 8px 15px; font-size: 0.85rem; }

    /* בר פנימי במובייל */
    .inner-navbar { border-radius: 0; margin-bottom: 0; }
    .inner-nav-center { position: static; } 
    #inner-mobile-btn { display: flex; font-size: 1.8rem; background: transparent; border: none; cursor: pointer; color: var(--primary); align-items: center; justify-content: center; padding: 5px; margin-right: auto; }
    .inner-nav-left { flex-direction: row-reverse; width: 100%; justify-content: space-between;}
    .inner-nav-menu {
        display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; 
        background: rgba(239, 233, 247, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 15px 30px rgba(90, 45, 130, 0.15); padding: 20px 5%; 
        gap: 10px; border-bottom-left-radius: 25px; border-bottom-right-radius: 25px; z-index: 1000;
    }
    .inner-nav-menu.show { display: flex !important; animation: slideDown 0.3s ease; }
    .inner-nav-menu li { width: 100%; text-align: right; }
    .inner-nav-menu li a { display: block; width: 100%; border-radius: 15px; padding: 12px 20px; background: var(--bg-body); margin-bottom: 5px; color: var(--text-dark);}
    .inner-nav-menu li a:hover, .inner-nav-menu li a.active-link { background: var(--primary); color: white;}
    .mobile-only { display: block; }
    .inner-user-greeting { display: none; }

    /* עמוד האדמין/מורה במובייל */
    .admin-container { flex-direction: column; }
    .admin-mobile-header { display: flex; }
    .sidebar { display: none; width: 100%; margin: 0; border-radius: 0; padding: 15px; flex-direction: column; gap: 5px; }
    .sidebar.show { display: flex; animation: slideDown 0.3s ease; }
    .sidebar h2, .sidebar hr { display: none; }
    .sidebar button { margin: 0; background: rgba(255,255,255,0.1); padding: 12px 15px; width: 100%; text-align: right; }
    
    .main-content { padding: 15px; overflow-x: hidden; width: 100%; box-sizing: border-box; }
    .form-grid { grid-template-columns: 1fr; width: 100%; overflow: hidden; }
    .full-width { grid-column: span 1; }
    .form-grid > div { padding: 15px !important; width: 100%; box-sizing: border-box; overflow-x: auto; } 
    
    .product-card-horizontal { flex-direction: column; }
    .p-image-side { width: 100%; max-width: 100%; height: 250px; }
    .p-details-side { padding: 20px; }
    .header-bottom-row { flex-direction: column-reverse; gap: 15px; }
    .search-box-inline { width: 100%; }
    .store-categories-nav { flex-wrap: wrap; justify-content: center; width: 100%; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }

    .course-card-horizontal { flex-direction: column; }
    .horizontal-card-img { width: 100%; height: 220px; border-left: none; border-bottom: 5px solid var(--accent); }
    .horizontal-card-content { padding: 25px; }
    .horizontal-card-title { font-size: 1.6rem; }
    
    .player-container { margin: 0; border-radius: 0; border: none; flex-direction: column; height: auto; }
    .playlist-sidebar { width: 100%; height: 300px; order: 2; border-left: none; }
    .video-area { order: 1; }
    .video-layout-container { padding: 20px; }
    .video-wrapper-inner::before { border-width: 8px; bottom: -10px; left: -10px; }
    .video-wrapper-inner::after { width: 25px; height: 25px; top: -10px; right: -10px; }
    .video-wrapper { border-width: 3px; border-radius: 15px; }
    .lesson-content { padding: 20px; }
    .lesson-header h1 { font-size: 1.8rem; }
    .lesson-tabs-nav { flex-wrap: wrap; background: transparent; padding: 0; }
    .tab-btn { background: var(--bg-light); flex: 1; text-align: center; }
    .lesson-tab-pane { padding: 20px; border-radius: 20px; }
    #tab-qa { height: 550px; }
    .qa-input-area { flex-direction: column; align-items: stretch; border-radius: 20px; padding: 15px; }
    .qa-input-area .small-circle-btn { align-self: flex-end; }
    
    .badge { background: #e74c3c; color: white; border-radius: 50%; padding: 2px 8px; font-size: 0.8rem; font-weight: bold; margin-right: auto; box-shadow: 0 2px 5px rgba(0,0,0,0.2); }

    .pending-card { background: white; border-radius: var(--radius-card); padding: 25px; box-shadow: var(--shadow-soft); border-right: 5px solid var(--accent); }
    .pending-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; border-bottom: 1px solid #f0f0f0; padding-bottom: 10px; }
    .pending-body h3 { margin: 0 0 10px 0; color: var(--primary); }
    .pending-body p { color: var(--text-dark); line-height: 1.6; margin-bottom: 20px; }
    .quick-reply-area { display: flex; gap: 15px; background: #f9f9f9; padding: 15px; border-radius: 15px; align-items: center; }
    .quick-reply-area input { flex: 1; padding: 12px 15px; border: 1px solid #ddd; border-radius: 20px; margin: 0; }
    .quick-reply-area input:focus { outline: none; border-color: var(--primary); }
    .quick-reply-area button { margin: 0; padding: 10px 25px; }

    /* הגדלת חלונית במובייל - התאמה קטנה */
    #auth-modal .modal-content { padding: 30px 20px !important; }
    #auth-modal h2 { font-size: 2rem !important; }
    #auth-modal .tab-btn { font-size: 1.2rem !important; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- עדכון צבע הפעמון בבר הניווט (bell-btn) --- */
.bell-btn { position: relative; background: transparent; border: none; cursor: pointer; margin-left: 15px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--accent); transition: all 0.3s ease; padding: 5px; }
.bell-btn:hover { color: var(--white); transform: translateY(-2px); }
.bell-badge { position: absolute; top: 0px; right: 0px; background: #e74c3c; color: white; font-size: 0.7rem; font-weight: bold; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; animation: pulseBadge 2s infinite; pointer-events: none; }

@keyframes pulseBadge { 0% { transform: scale(1); } 50% { transform: scale(1.15); } 100% { transform: scale(1); } }
.notif-item { padding: 20px; border-bottom: 1px solid #f0f0f0; display: block; transition: 0.3s; cursor: pointer; text-decoration: none; color: inherit; background: white; }
.notif-item:hover { background: var(--bg-light); padding-right: 25px; }
.notif-unread { background: #fffcf9; border-right: 5px solid var(--accent); }
.notif-title { font-weight: 700; color: var(--text-dark); margin-bottom: 8px; font-size: 1.05rem; }
.notif-meta { font-size: 0.85rem; color: #888; }

.progress-wrapper { margin-top: 15px; width: 100%; }
.progress-bar-container { width: 100%; background-color: #eee; border-radius: 10px; height: 8px; overflow: hidden; margin-bottom: 5px; }
.progress-bar-fill { height: 100%; background: linear-gradient(90deg, var(--secondary), var(--primary)); border-radius: 10px; transition: width 0.5s ease-out; }
.progress-text { font-size: 0.85rem; color: var(--text-light); font-weight: 600; }

.toast-notification { position: fixed; bottom: -100px; left: 50%; transform: translateX(-50%); background: #27ae60; color: white; padding: 15px 30px; border-radius: 50px; font-weight: bold; box-shadow: 0 10px 30px rgba(0,0,0,0.2); transition: bottom 0.4s cubic-bezier(0.34, 1.56, 0.64, 1); z-index: 99999; display: flex; align-items: center; gap: 10px; font-size: 1.1rem; pointer-events: none; }
.toast-notification.show { bottom: 30px; }
.toast-notification.error { background: #e74c3c; }

.skeleton-box { display: inline-block; position: relative; overflow: hidden; background-color: #dddbdd; border-radius: 8px; }
.skeleton-box::after { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform: translateX(-100%); background-image: linear-gradient(90deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 0.4) 20%, rgba(255, 255, 255, 0.8) 60%, rgba(255, 255, 255, 0)); animation: shimmer 1.5s infinite; content: ''; }
@keyframes shimmer { 100% { transform: translateX(100%); } }

.guitar-spinner { font-size: 3rem; color: var(--primary); animation: spin-guitar 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite; display: inline-block; margin-bottom: 10px; }
@keyframes spin-guitar { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.2); color: var(--accent); } 100% { transform: rotate(360deg) scale(1); } }

.loading-container { text-align: center; padding: 40px 20px; color: var(--text-light); font-weight: bold; font-size: 1.1rem; width: 100%; }