@import "https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=Lora:wght@400;700&family=Playfair+Display:wght@400;600;700;800&display=swap";
:root{--color-primary:#2e7d32;--color-primary-dark:#1b5e20;--color-secondary:gold;--color-accent:#4caf50;--color-success:#4caf50;--color-background:#fafafa;--color-surface:#fff;--color-surface-light:#f5f5f5;--color-text:#2c3e50;--color-text-muted:#7f8c8d;--color-light:#fff;--color-border:#e0e0e0;--font-heading:"Playfair Display",serif;--font-body:"Lora",serif;--font-arabic:"Amiri",serif;--gradient-primary:linear-gradient(135deg,#2e7d32 0%,#4caf50 100%);--gradient-secondary:linear-gradient(135deg,#1b5e20 0%,#2e7d32 100%);--gradient-success:linear-gradient(135deg,#4caf50 0%,#66bb6a 100%);--gradient-warm:linear-gradient(135deg,gold 0%,#ffa000 100%);--shadow-sm:0 2px 10px #0000001a;--shadow-md:0 4px 20px #00000026;--shadow-lg:0 8px 30px #0003;--shadow-glow:0 0 30px #4caf504d;--transition-fast:.2s cubic-bezier(.4,0,.2,1);--transition-normal:.3s cubic-bezier(.4,0,.2,1);--transition-slow:.5s cubic-bezier(.4,0,.2,1)}*{box-sizing:border-box;margin:0;padding:0}body{font-family:var(--font-body);color:var(--color-text);background:var(--color-background);min-height:100vh;line-height:1.7;position:relative;overflow-x:hidden}body:before{content:"";pointer-events:none;z-index:0;background:radial-gradient(circle at 20%,#2e7d320d 0%,#0000 50%),radial-gradient(circle at 80% 80%,#ffd70008 0%,#0000 50%),radial-gradient(circle at 40% 20%,#4caf500a 0%,#0000 50%);width:100%;height:100%;animation:15s ease-in-out infinite bgPulse;position:fixed;top:0;left:0}@keyframes bgPulse{0%,to{opacity:1}50%{opacity:.8}}.container{z-index:1;max-width:1280px;margin:0 auto;padding:0 30px;position:relative}a{color:var(--color-primary);transition:all var(--transition-normal);text-decoration:none}a:hover{color:var(--color-secondary);transform:translateY(-1px)}.header{-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);border-bottom:1px solid var(--color-border);z-index:100;box-shadow:var(--shadow-sm);background:#fffffff2;padding:20px 0;animation:.5s ease-out slideDown;position:sticky;top:0}@keyframes slideDown{0%{opacity:0;transform:translateY(-100%)}to{opacity:1;transform:translateY(0)}}.header .container{justify-content:space-between;align-items:center;display:flex}.logo{cursor:pointer;transition:all var(--transition-normal);align-items:center;gap:12px;display:flex}.logo:hover{transform:translateY(-2px)}.logo-image{transition:all var(--transition-normal);border-radius:8px;box-shadow:0 4px 15px #2e7d324d}.logo-image:hover{transform:scale(1.05);box-shadow:0 6px 20px #2e7d3280}.logo-text{font-family:var(--font-heading);background:var(--gradient-success);-webkit-text-fill-color:transparent;letter-spacing:.5px;-webkit-background-clip:text;background-clip:text;font-size:1.9rem;font-weight:700;animation:3s ease-in-out infinite glow}@keyframes glow{0%,to{filter:drop-shadow(0 0 10px #4caf5066)}50%{filter:drop-shadow(0 0 20px #66bb6a99)}}.nav{gap:15px;display:flex}.nav a{color:var(--color-text);transition:all var(--transition-normal);border-radius:8px;margin:0;padding:10px 20px;font-size:1rem;font-weight:500;position:relative}.nav a:before{content:"";background:var(--gradient-success);width:0;height:2px;transition:all var(--transition-normal);position:absolute;bottom:0;left:50%;transform:translate(-50%)}.nav a:hover:before,.nav a.active:before{width:80%}.nav a.active{color:var(--color-primary);background:#2e7d321a}.nav a:hover{background:#2e7d3226;transform:translateY(-2px)}.main-content{padding:60px 0;animation:.8s ease-out fadeIn}@keyframes fadeIn{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}.page-section{padding:80px 0;animation:.6s ease-out slideUp}@keyframes slideUp{0%{opacity:0;transform:translateY(50px)}to{opacity:1;transform:translateY(0)}}.content-panel{background:var(--color-surface);border:1px solid var(--color-border);max-width:900px;box-shadow:var(--shadow-md);transition:all var(--transition-slow);border-radius:24px;margin:0 auto;padding:50px;animation:.6s ease-out scaleIn}@keyframes scaleIn{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}.content-panel:hover{box-shadow:var(--shadow-lg),var(--shadow-glow);border-color:#4caf504d;transform:translateY(-5px)}.section-title{font-family:var(--font-heading);background:var(--gradient-primary);-webkit-text-fill-color:transparent;text-align:center;letter-spacing:-.5px;-webkit-background-clip:text;background-clip:text;margin-bottom:50px;font-size:3rem;font-weight:800;animation:.8s ease-out slideIn}@keyframes slideIn{0%{opacity:0;transform:translate(-50px)}to{opacity:1;transform:translate(0)}}.section-subtitle{font-family:var(--font-heading);color:var(--color-secondary);text-align:center;text-transform:uppercase;letter-spacing:2px;margin-bottom:30px;font-size:1.2rem;font-weight:600;animation:1s ease-out .2s both fadeIn}.content-panel h3{font-family:var(--font-heading);color:var(--color-primary);border-left:4px solid var(--color-secondary);margin-top:35px;margin-bottom:12px;padding-left:20px;font-weight:600;position:relative}.content-panel p{animation:.8s ease-out fadeIn}.goals-list{border-top:1px solid #94a3b833;margin-top:30px;padding-top:30px}.goals-list ul{padding-left:0;list-style:none}.goals-list li{border-left:3px solid var(--color-primary);transition:all var(--transition-normal);background:#2e7d320d;border-radius:12px;margin-bottom:15px;padding:15px 15px 15px 50px;animation:.5s ease-out slideIn;position:relative}.goals-list li:hover{border-left-color:var(--color-secondary);background:#2e7d321a;transform:translate(10px)}.goals-list li:before{content:"✨";font-size:1.2rem;animation:2s infinite bounce;position:absolute;left:20px}@keyframes bounce{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}.hadith-card{background:var(--color-surface);border:1px solid var(--color-border);border-top:4px solid;border-image:var(--gradient-success)1;box-shadow:var(--shadow-md);border-radius:24px;max-width:1000px;padding:60px 40px;animation:.8s ease-out cardEntrance;position:relative;overflow:hidden}@keyframes cardEntrance{0%{opacity:0;transform:translateY(50px)rotateX(10deg)}to{opacity:1;transform:translateY(0)rotateX(0)}}.hadith-card:before{content:"";pointer-events:none;background:conic-gradient(from 180deg,#4caf5000 0deg,#4caf501a 180deg,#4caf5000 360deg);width:200%;height:200%;animation:10s linear infinite rotate;position:absolute;top:-50%;right:-50%}@keyframes rotate{to{transform:rotate(360deg)}}.language-switcher{text-align:center;flex-wrap:wrap;justify-content:center;gap:15px;margin-bottom:40px;display:flex}.lang-btn{background:var(--color-surface);border:2px solid var(--color-border);color:var(--color-primary);cursor:pointer;transition:all var(--transition-normal);font-size:1rem;font-family:var(--font-body);border-radius:12px;padding:12px 28px;font-weight:600;position:relative;overflow:hidden}.lang-btn:before{content:"";background:#2e7d321a;border-radius:50%;width:0;height:0;transition:width .6s,height .6s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.lang-btn:hover:before{width:300px;height:300px}.lang-btn:hover{color:#fff;background:var(--color-primary);transform:translateY(-3px);box-shadow:0 8px 20px #2e7d3233}.lang-btn.active{background:var(--color-primary);color:#fff;border-color:var(--color-primary);animation:2s infinite pulse;box-shadow:0 4px 15px #2e7d324d}@keyframes pulse{0%,to{box-shadow:0 4px 15px #2e7d324d}50%{box-shadow:0 4px 25px #2e7d3280}}.hadith-text{font-family:var(--font-arabic);color:var(--color-text);text-align:center;background:#c9b0370d;border:2px solid #c9b03733;border-radius:20px;min-height:150px;margin:40px 0;padding:40px;font-size:2rem;font-style:italic;font-weight:400;line-height:2;animation:.8s ease-out textGlow;position:relative}@keyframes textGlow{0%{opacity:0;filter:blur(10px)}to{opacity:1;filter:blur()}}.hadith-text:before,.hadith-text:after{content:"✦";color:var(--color-secondary);opacity:.3;font-size:2rem;animation:3s infinite twinkle;position:absolute}.hadith-text:before{top:20px;left:20px}.hadith-text:after{animation-delay:1.5s;bottom:20px;right:20px}@keyframes twinkle{0%,to{opacity:.3;transform:scale(1)}50%{opacity:1;transform:scale(1.2)}}.hadith-details{flex-wrap:wrap;justify-content:space-around;gap:20px;margin-bottom:40px;display:flex}.detail-item{border-left:3px solid var(--color-primary);transition:all var(--transition-normal);background:#2e7d320d;border-radius:12px;padding:20px 25px;animation:.6s ease-out both fadeIn}.detail-item:first-child{animation-delay:.1s}.detail-item:nth-child(2){animation-delay:.2s}.detail-item:nth-child(3){animation-delay:.3s}.detail-item:hover{background:#2e7d321a;transform:translateY(-5px)scale(1.05);box-shadow:0 8px 20px #2e7d3233}.detail-label{color:var(--color-secondary);text-transform:uppercase;letter-spacing:1px;margin-bottom:5px;font-size:.85rem;font-weight:700;display:block}.refresh-btn{background:var(--gradient-primary);color:#fff;cursor:pointer;letter-spacing:.5px;transition:all var(--transition-normal);border:none;border-radius:12px;align-items:center;padding:18px 40px;font-size:1.1rem;font-weight:600;display:inline-flex;position:relative;overflow:hidden;box-shadow:0 8px 20px #2e7d324d}.refresh-btn:before{content:"";background:linear-gradient(90deg,#0000,#ffffff4d,#0000);width:100%;height:100%;transition:left .5s;position:absolute;top:0;left:-100%}.refresh-btn:hover:before{left:100%}.refresh-btn:hover{transform:translateY(-5px)scale(1.05);box-shadow:0 12px 30px #2e7d3266}.refresh-btn:active{transform:translateY(-2px)scale(1.02)}.refresh-icon{margin-right:12px;font-size:1.4rem;animation:2s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.refresh-btn:hover .refresh-icon{animation:.5s linear spin}.refresh-btn:disabled{opacity:.6;cursor:not-allowed;transform:none}.refresh-btn:disabled:hover{transform:none;box-shadow:0 8px 25px #2e7d3233}.error-message{text-align:center;background:#f443361a;border:1px solid #f4433633;border-radius:12px;margin:20px 0;padding:20px}.error-message p{color:#f44336;margin-bottom:15px;font-weight:500}.retry-btn{color:#fff;cursor:pointer;background:#f44336;border:none;border-radius:8px;padding:10px 20px;font-weight:500;transition:background .3s}.retry-btn:hover{background:#d32f2f}.hadith-index-container{margin-top:60px;padding:40px;animation:1s ease-out .4s both fadeIn}.index-title{margin-bottom:15px;font-size:2.5rem}.index-description{text-align:center;color:var(--color-text-muted);margin-bottom:40px;font-size:1.1rem}.index-list{border:1px solid var(--color-border);background:var(--color-surface);border-radius:16px;overflow:hidden}.collapsible{background:var(--color-surface);color:var(--color-text);cursor:pointer;text-align:left;width:100%;transition:all var(--transition-normal);font-size:1.15rem;font-family:var(--font-heading);border:none;border-bottom:1px solid #94a3b81a;outline:none;justify-content:space-between;align-items:center;padding:20px 30px;font-weight:600;display:flex;position:relative;overflow:hidden}.collapsible:before{content:"";background:var(--gradient-success);width:3px;height:100%;transition:transform var(--transition-normal);position:absolute;top:0;left:0;transform:scaleY(0)}.collapsible:hover:before,.collapsible.active:before{transform:scaleY(1)}.collapsible:hover{background:#2e7d320d;transform:translate(5px)}.collapsible.active{background:#2e7d3214}.book-header{color:var(--color-primary);font-size:1.3rem}.chapter-header{color:var(--color-text);font-size:1.1rem;font-family:var(--font-body);padding:15px 35px}.collapsible-content{background:#f8fafc80;max-height:0;padding:0 18px;transition:max-height .4s cubic-bezier(.4,0,.2,1);overflow:hidden}.chapter-list{padding:0;list-style:none}.index-chapter{border-top:1px solid #94a3b81a;list-style:none}.hadith-items{background:#f8fafc4d;padding:15px 0 15px 40px;list-style:none}.hadith-item{cursor:pointer;transition:all var(--transition-normal);border-radius:8px;margin-bottom:8px;padding:12px 15px 12px 35px;font-size:.95rem;position:relative}.hadith-item:before{content:"→";color:var(--color-secondary);transition:all var(--transition-fast);position:absolute;left:15px}.hadith-item:hover{color:var(--color-primary);background:#2e7d3214;transform:translate(10px)}.hadith-item:hover:before{color:var(--color-primary);left:20px}.badge{background:var(--gradient-warm);color:var(--color-light);font-size:.8rem;font-family:var(--font-body);border-radius:20px;padding:6px 12px;font-weight:600;animation:.5s ease-out fadeIn;box-shadow:0 2px 8px #c9b03766}.cta-section{text-align:center;background:#f8fafccc;padding:100px 0;position:relative;overflow:hidden}.cta-section:before{content:"";background:radial-gradient(circle,#2e7d320d 0%,#0000 70%);width:100%;height:100%;animation:8s ease-in-out infinite bgPulse;position:absolute;top:0;left:0}.cta-panel{background:var(--color-surface);border:2px solid var(--color-border);box-shadow:var(--shadow-md);z-index:1;border-radius:24px;padding:60px;animation:.8s ease-out scaleIn;position:relative}.cta-title{background:var(--gradient-warm);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin-bottom:20px;font-size:2.8rem}.cta-text{max-width:700px;color:var(--color-text-muted);margin:0 auto 40px;font-size:1.2rem}.cta-buttons{flex-wrap:wrap;justify-content:center;gap:20px;display:flex}.cta-btn{transition:all var(--transition-normal);text-transform:uppercase;letter-spacing:1px;border-radius:12px;padding:16px 35px;font-size:1.1rem;font-weight:600;position:relative;overflow:hidden}.cta-btn:before{content:"";background:#fff3;border-radius:50%;width:0;height:0;transition:width .6s,height .6s;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.cta-btn:hover:before{width:300px;height:300px}.primary-cta{background:var(--gradient-primary);color:#fff;border:none;box-shadow:0 8px 20px #2e7d324d}.primary-cta:hover{transform:translateY(-5px)scale(1.05);box-shadow:0 12px 30px #2e7d3266}.secondary-cta{color:var(--color-primary);border:2px solid var(--color-primary);background:0 0}.secondary-cta:hover{background:var(--color-primary);color:#fff;transform:translateY(-5px)scale(1.05);box-shadow:0 8px 20px #2e7d324d}.feature-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:30px;margin-top:40px;display:grid}.feature-item{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-sm);transition:all var(--transition-normal);border-radius:16px;padding:35px;animation:.6s ease-out both fadeIn;position:relative;overflow:hidden}.feature-item:first-child{animation-delay:.1s}.feature-item:nth-child(2){animation-delay:.2s}.feature-item:nth-child(3){animation-delay:.3s}.feature-item:nth-child(4){animation-delay:.4s}.feature-item:before{content:"";background:var(--gradient-success);width:100%;height:4px;transition:transform var(--transition-normal);position:absolute;top:0;left:0;transform:scaleX(0)}.feature-item:hover:before{transform:scaleX(1)}.feature-item:hover{box-shadow:var(--shadow-lg);border-color:var(--color-primary);transform:translateY(-10px)scale(1.02)}.feature-item h3{color:var(--color-primary);border-left:none;margin-top:0;margin-bottom:15px;padding-left:0;font-size:1.5rem}.contact-layout{grid-template-columns:2fr 1fr;gap:40px;display:grid}.contact-intro{color:var(--color-text-muted);margin-bottom:30px;font-size:1.1rem}.contact-form{flex-direction:column;gap:20px;display:flex}.contact-form input,.contact-form textarea{border:2px solid var(--color-border);width:100%;font-size:1rem;font-family:var(--font-body);background:var(--color-surface);color:var(--color-text);transition:all var(--transition-normal);border-radius:12px;padding:18px}.contact-form input:focus,.contact-form textarea:focus{border-color:var(--color-primary);outline:none;transform:translateY(-2px);box-shadow:0 0 0 3px #2e7d321a}.contact-form input::placeholder,.contact-form textarea::placeholder{color:var(--color-text-muted)}.submit-btn{background:var(--gradient-secondary);color:var(--color-light);cursor:pointer;transition:all var(--transition-normal);border:none;border-radius:12px;padding:18px;font-size:1.1rem;font-weight:600;box-shadow:0 8px 20px #c9b03766}.submit-btn:hover{transform:translateY(-5px)scale(1.02);box-shadow:0 12px 30px #d4af3799}.contact-info{border-left:2px solid #94a3b833;padding-left:30px}.contact-info p{margin-bottom:20px}.social-links{gap:15px;margin-top:30px;display:flex}.social-links a{transition:all var(--transition-normal);background:#2e7d320d;border-radius:8px;padding:10px 20px;font-weight:500}.social-links a:hover{background:var(--color-primary);color:#fff;transform:translateY(-3px)}.footer{background:var(--color-surface);color:var(--color-text-muted);text-align:center;border-top:1px solid var(--color-border);margin-top:60px;padding:40px 0;position:relative}.footer:before{content:"";background:var(--gradient-success);width:100%;height:2px;animation:3s infinite shimmer;position:absolute;top:0;left:0}@keyframes shimmer{0%{transform:translate(-100%)}to{transform:translate(100%)}}.footer a{color:var(--color-secondary);font-weight:600}@media (max-width:992px){.hadith-card{padding:40px 25px}.hadith-text{padding:30px;font-size:1.6rem}.contact-layout{grid-template-columns:1fr}.contact-info{border-top:2px solid #94a3b833;border-left:none;margin-top:20px;padding-top:30px;padding-left:0}.section-title{font-size:2.5rem}}@media (max-width:768px){.header .container{flex-direction:column;gap:20px}.logo{gap:8px}.logo-image{width:40px;height:40px}.logo-text{font-size:1.5rem}.nav{flex-wrap:wrap;justify-content:center;width:100%}.nav a{padding:8px 15px;font-size:.9rem}.page-section{padding:60px 0}.section-title{font-size:2rem}.content-panel{padding:30px 20px}.hadith-details{flex-direction:column}.detail-item{width:100%}.refresh-btn{justify-content:center;width:100%}.cta-buttons{flex-direction:column}.cta-btn{width:100%}.feature-grid{grid-template-columns:1fr}.cta-panel{padding:40px 20px}}.support-section{padding:80px 0;animation:.8s ease-out fadeIn}.support-intro{color:var(--color-text-muted);text-align:center;max-width:800px;margin-bottom:40px;margin-left:auto;margin-right:auto;font-size:1.1rem}.faq-section{margin:40px 0}.faq-item{background:var(--color-surface);border:1px solid var(--color-border);transition:all var(--transition-normal);border-radius:16px;margin-bottom:30px;padding:25px;animation:.6s ease-out both slideInUp}.faq-item:first-child{animation-delay:.1s}.faq-item:nth-child(2){animation-delay:.2s}.faq-item:nth-child(3){animation-delay:.3s}.faq-item:nth-child(4){animation-delay:.4s}.faq-item:hover{box-shadow:var(--shadow-md);border-color:var(--color-primary);transform:translateY(-5px)}.faq-item h4{color:var(--color-primary);margin:0 0 15px;font-size:1.2rem;font-weight:600}.faq-item p{color:var(--color-text);margin:0;line-height:1.7}.faq-item a{color:var(--color-primary);font-weight:500;text-decoration:none}.faq-item a:hover{color:var(--color-secondary);text-decoration:underline}.support-help-text{text-align:center;color:var(--color-text-muted);max-width:600px;margin:40px auto 30px;font-size:1.1rem}.support-cta{text-align:center;margin-top:40px}.support-contact-btn{width:auto;min-width:250px;margin:0;display:inline-block}@media (max-width:768px){.support-section{padding:60px 0}.faq-item{padding:20px}.faq-item h4{font-size:1.1rem}.support-contact-btn{width:100%;min-width:auto}}.admin-login-page{background:var(--color-background);justify-content:center;align-items:center;min-height:100vh;padding:20px;display:flex;position:relative}.admin-login-page:before{content:"";pointer-events:none;background:radial-gradient(circle at 30% 20%,#2e7d3214 0%,#0000 50%),radial-gradient(circle at 70% 80%,#ffd7000d 0%,#0000 50%);width:100%;height:100%;animation:10s ease-in-out infinite bgPulse;position:absolute;top:0;left:0}.admin-login-container{z-index:1;justify-content:center;align-items:center;min-height:80vh;display:flex;position:relative}.admin-login-card{background:var(--color-surface);box-shadow:var(--shadow-lg);border:1px solid var(--color-border);border-radius:20px;width:100%;max-width:450px;padding:50px 40px;position:relative;overflow:hidden}.admin-login-card:before{content:"";background:var(--gradient-primary);width:100%;height:4px;position:absolute;top:0;left:0}.admin-login-header{text-align:center;margin-bottom:40px}.admin-login-title{font-family:var(--font-heading);color:var(--color-primary);text-shadow:0 2px 4px #2e7d321a;margin-bottom:10px;font-size:2.5rem;font-weight:700}.admin-login-subtitle{font-family:var(--font-body);color:var(--color-text-muted);font-size:1.1rem;font-weight:500}.admin-login-form{flex-direction:column;gap:25px;display:flex}.form-group{flex-direction:column;gap:8px;display:flex}.form-label{font-family:var(--font-body);color:var(--color-text);font-size:.95rem;font-weight:600}.form-input{border:2px solid var(--color-border);font-family:var(--font-body);background:var(--color-surface-light);color:var(--color-text);transition:all var(--transition-normal);border-radius:12px;padding:15px 18px;font-size:1rem}.form-input:focus{border-color:var(--color-primary);background:var(--color-surface);outline:none;transform:translateY(-1px);box-shadow:0 0 0 3px #2e7d321a}.form-input::placeholder{color:var(--color-text-muted)}.error-message{color:#c53030;text-align:center;background:linear-gradient(135deg,#fff5f5 0%,#fed7d7 100%);border:1px solid #fc8181;border-radius:10px;padding:15px 20px;font-size:.95rem;font-weight:500}.btn{font-family:var(--font-body);cursor:pointer;transition:all var(--transition-normal);border:none;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:15px 25px;font-size:1rem;font-weight:600;text-decoration:none;display:inline-flex;position:relative;overflow:hidden}.btn-primary{background:var(--gradient-primary);color:#fff;box-shadow:var(--shadow-md)}.btn-primary:hover{box-shadow:var(--shadow-lg);transform:translateY(-2px)}.btn-primary:disabled{opacity:.7;cursor:not-allowed;transform:none}.btn-full{width:100%}.admin-login-footer{text-align:center;margin-top:30px}.back-link{color:var(--color-primary);transition:all var(--transition-normal);font-size:.95rem;font-weight:500;text-decoration:none}.back-link:hover{color:var(--color-secondary);text-decoration:underline}.admin-dashboard{background:var(--color-background);min-height:100vh}.admin-loading{background:var(--color-background);justify-content:center;align-items:center;min-height:100vh;display:flex}.loading-content{text-align:center}.loading-spinner{border:3px solid var(--color-border);border-top:3px solid var(--color-primary);border-radius:50%;width:50px;height:50px;margin:0 auto 20px;animation:1s linear infinite spin}.loading-text{font-family:var(--font-body);color:var(--color-text-muted);font-size:1.1rem}.admin-header{background:var(--color-surface);border-bottom:1px solid var(--color-border);box-shadow:var(--shadow-sm);z-index:100;position:sticky;top:0}.admin-header-content{justify-content:space-between;align-items:center;padding:20px 0;display:flex}.admin-title{font-family:var(--font-heading);color:var(--color-primary);margin:0;font-size:1.8rem;font-weight:700}.admin-header-right{align-items:center;gap:20px;display:flex}.admin-nav-link{color:var(--color-primary);transition:all var(--transition-normal);font-weight:500;text-decoration:none}.admin-nav-link:hover{color:var(--color-secondary)}.btn-logout{color:#fff;background:linear-gradient(135deg,#e53e3e 0%,#c53030 100%)}.btn-logout:hover{box-shadow:var(--shadow-md);transform:translateY(-1px)}.admin-main{padding:40px 0}.admin-welcome-section{text-align:center;margin-bottom:50px}.admin-stats-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:25px;margin-bottom:50px;display:grid}.admin-stat-card{background:var(--color-surface);box-shadow:var(--shadow-md);border:1px solid var(--color-border);transition:all var(--transition-normal);border-radius:16px;align-items:center;gap:20px;padding:30px;display:flex}.admin-stat-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}.stat-icon{border-radius:15px;flex-shrink:0;justify-content:center;align-items:center;width:60px;height:60px;font-size:1.8rem;display:flex}.stat-icon-primary{background:var(--gradient-primary)}.stat-icon-secondary{background:var(--gradient-secondary)}.stat-icon-accent{background:var(--gradient-success)}.stat-content{flex:1}.stat-label{font-family:var(--font-body);color:var(--color-text-muted);margin-bottom:5px;font-size:.9rem;font-weight:500}.stat-value{font-family:var(--font-heading);color:var(--color-text);font-size:2.2rem;font-weight:700}.admin-actions-section{background:var(--color-surface);box-shadow:var(--shadow-md);border:1px solid var(--color-border);border-radius:20px;padding:40px}.admin-section-title{font-family:var(--font-heading);color:var(--color-text);text-align:center;margin-bottom:30px;font-size:1.8rem;font-weight:600}.admin-actions-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;display:grid}.admin-action-card{color:#fff;cursor:pointer;transition:all var(--transition-normal);text-align:left;background:0 0;border:none;border-radius:16px;align-items:center;gap:20px;padding:25px;display:flex}.admin-action-card:hover{box-shadow:var(--shadow-lg);transform:translateY(-3px)}.btn-gradient-primary{background:var(--gradient-primary)}.btn-gradient-secondary{background:var(--gradient-secondary)}.btn-gradient-accent{background:var(--gradient-success)}.action-icon{flex-shrink:0;font-size:2rem}.action-content{flex:1}.action-title{font-family:var(--font-heading);margin-bottom:5px;font-size:1.2rem;font-weight:600}.action-description{opacity:.9;font-size:.9rem;line-height:1.4}.admin-nav{background:var(--color-surface);border-bottom:1px solid var(--color-border);box-shadow:var(--shadow-sm)}.admin-nav-tabs{gap:0;display:flex}.nav-tab{font-family:var(--font-body);color:var(--color-text-muted);cursor:pointer;transition:all var(--transition-normal);background:0 0;border:none;border-bottom:3px solid #0000;align-items:center;gap:10px;padding:20px 30px;font-size:1rem;font-weight:600;display:flex;position:relative}.nav-tab:hover{color:var(--color-primary);background:#2e7d320d}.nav-tab.active{color:var(--color-primary);border-bottom-color:var(--color-primary);background:#2e7d3214}.nav-tab-icon{font-size:1.2rem}.admin-content-section{animation:.5s ease-out fadeIn}.section-header{border-bottom:1px solid var(--color-border);justify-content:space-between;align-items:center;margin-bottom:40px;padding-bottom:20px;display:flex}.btn-secondary{background:var(--gradient-secondary);color:#fff}.btn-secondary:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.btn-danger{color:#fff;background:linear-gradient(135deg,#e53e3e 0%,#c53030 100%)}.btn-danger:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}.btn-sm{padding:8px 16px;font-size:.9rem}.content-grid{grid-template-columns:repeat(auto-fill,minmax(400px,1fr));gap:25px;display:grid}.content-card{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-sm);transition:all var(--transition-normal);border-radius:16px;padding:25px;animation:.5s ease-out slideInUp}.content-card:hover{box-shadow:var(--shadow-md);border-color:var(--color-primary);transform:translateY(-5px)}.card-header{justify-content:space-between;align-items:flex-start;margin-bottom:20px;display:flex}.card-title{font-family:var(--font-heading);color:var(--color-text);flex:1;margin:0;font-size:1.3rem;font-weight:600}.status-badge{text-transform:uppercase;letter-spacing:.5px;border-radius:20px;padding:4px 12px;font-size:.8rem;font-weight:600}.status-badge.published{color:#fff;background:linear-gradient(135deg,#48bb78 0%,#38a169 100%)}.status-badge.draft{color:#fff;background:linear-gradient(135deg,#ed8936 0%,#dd6b20 100%)}.status-badge.active{color:#fff;background:linear-gradient(135deg,#4299e1 0%,#3182ce 100%)}.status-badge.inactive{color:#fff;background:linear-gradient(135deg,#a0aec0 0%,#718096 100%)}.card-content{margin-bottom:20px}.arabic-text{font-family:var(--font-arabic);color:var(--color-text);text-align:right;border-right:3px solid var(--color-secondary);background:#c9b0370d;border-radius:10px;margin-bottom:15px;padding:15px;font-size:1.4rem;line-height:1.8}.translation{color:var(--color-text-muted);margin-bottom:15px;font-style:italic;line-height:1.6}.hadith-meta{flex-direction:column;gap:8px;font-size:.9rem;display:flex}.hadith-meta span{color:var(--color-text-muted)}.card-actions{justify-content:flex-end;gap:10px;display:flex}.users-table{background:var(--color-surface);border:1px solid var(--color-border);box-shadow:var(--shadow-sm);border-radius:16px;margin-bottom:40px;overflow:hidden}.table-header{border-bottom:1px solid var(--color-border);color:var(--color-text);background:#2e7d320d;grid-template-columns:2fr 2fr 1fr 1fr 1.5fr 1.5fr;gap:20px;padding:20px 25px;font-weight:600;display:grid}.table-row{transition:all var(--transition-normal);border-bottom:1px solid #94a3b81a;grid-template-columns:2fr 2fr 1fr 1fr 1.5fr 1.5fr;gap:20px;padding:20px 25px;animation:.5s ease-out fadeIn;display:grid}.table-row:hover{background:#2e7d3208}.table-row:last-child{border-bottom:none}.table-cell{align-items:center;font-size:.95rem;display:flex}.user-info{align-items:center;gap:12px;display:flex}.user-avatar{background:var(--gradient-primary);color:#fff;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;font-size:1.1rem;font-weight:600;display:flex}.role-badge{text-transform:capitalize;letter-spacing:.5px;border-radius:20px;padding:4px 12px;font-size:.8rem;font-weight:600}.role-badge.role-admin{color:#fff;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%)}.role-badge.role-composer{color:#fff;background:linear-gradient(135deg,#f093fb 0%,#f5576c 100%)}.role-badge.role-prof{color:#fff;background:linear-gradient(135deg,#4facfe 0%,#00f2fe 100%)}.role-badge.role-reader{color:#fff;background:linear-gradient(135deg,#43e97b 0%,#38f9d7 100%)}.action-buttons{gap:8px;display:flex}.role-info{border-top:1px solid var(--color-border);margin-top:50px;padding-top:40px}.info-title{font-family:var(--font-heading);color:var(--color-text);text-align:center;margin-bottom:25px;font-size:1.5rem}.role-cards{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;display:grid}.role-card{background:var(--color-surface);border:1px solid var(--color-border);text-align:center;box-shadow:var(--shadow-sm);transition:all var(--transition-normal);border-radius:16px;padding:25px;animation:.5s ease-out slideInUp}.role-card:hover{box-shadow:var(--shadow-md);border-color:var(--color-primary);transform:translateY(-5px)}.role-icon{margin-bottom:15px;font-size:2.5rem;display:block}.role-card h4{font-family:var(--font-heading);color:var(--color-primary);margin:0 0 10px;font-size:1.2rem}.role-card p{color:var(--color-text-muted);margin:0;font-size:.95rem;line-height:1.5}@keyframes slideInUp{0%{opacity:0;transform:translateY(30px)}to{opacity:1;transform:translateY(0)}}@media (max-width:768px){.admin-login-card{margin:20px;padding:30px 25px}.admin-login-title{font-size:2rem}.admin-header-content{text-align:center;flex-direction:column;gap:15px}.admin-header-right{flex-direction:column;gap:10px}.admin-stats-grid,.admin-actions-grid{grid-template-columns:1fr}.admin-action-card{text-align:center;flex-direction:column;gap:15px}.admin-actions-section{padding:25px 20px}.admin-nav-tabs{flex-wrap:wrap;justify-content:center}.nav-tab{padding:15px 20px;font-size:.9rem}.section-header{flex-direction:column;align-items:stretch;gap:20px}.content-grid{grid-template-columns:1fr}.table-header,.table-row{grid-template-columns:1fr;gap:10px}.table-cell{border-bottom:1px solid #94a3b81a;justify-content:space-between;padding:8px 0}.table-cell:last-child{border-bottom:none}.table-header .table-cell{color:var(--color-primary);border-bottom:none;font-weight:600}.role-cards{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}.user-info{flex:1}.action-buttons{justify-content:flex-end}}
