.admin-login{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#667eea,#764ba2);padding:20px}.admin-login-container{background:#fff;border-radius:16px;padding:40px;width:100%;max-width:400px;box-shadow:0 20px 60px #0000004d;animation:fadeInUp .5s ease}@keyframes fadeInUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}[data-theme=dark] .admin-login-container{background:var(--bg-primary);border:1px solid var(--border-color)}.admin-login-header{text-align:center;margin-bottom:32px}.admin-login-header h1{font-size:32px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.admin-login-header p{font-size:16px;color:var(--text-secondary)}.admin-login-form{margin-bottom:24px}.form-group input{width:100%;padding:12px 16px;font-size:16px;border:2px solid var(--border-color);border-radius:8px;background:var(--bg-secondary);color:var(--text-primary);font-family:inherit;transition:all .3s ease;outline:none;box-sizing:border-box}.form-group input:focus{border-color:#4a90e2;box-shadow:0 0 0 3px #4a90e21a;transform:translateY(-1px)}.form-group input::placeholder{color:var(--text-tertiary);opacity:.6}.error-message{background:#fee;color:#c33;padding:12px;border-radius:8px;font-size:14px;margin-bottom:16px;border:1px solid #fcc}[data-theme=dark] .error-message{background:#c333;border-color:#cc33334d}.login-button{width:100%;padding:14px;font-size:16px;font-weight:600;background:#4a90e2;color:#fff;border:none;border-radius:8px;cursor:pointer;transition:all .3s ease;position:relative;overflow:hidden}.login-button:before{content:"";position:absolute;top:50%;left:50%;width:0;height:0;border-radius:50%;background:#fff3;transform:translate(-50%,-50%);transition:width .6s,height .6s}.login-button:hover:before{width:300px;height:300px}.login-button:hover:not(:disabled){background:#357abd;transform:translateY(-2px);box-shadow:0 4px 12px #4a90e24d}.login-button:active:not(:disabled){transform:translateY(0);box-shadow:0 2px 6px #4a90e233}.login-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.admin-login-footer{text-align:center;font-size:12px;color:var(--text-tertiary)}.admin-login-footer .hint{margin-top:8px;font-size:11px;opacity:.7}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:768px){.admin-login-container{padding:30px 24px;max-width:100%;margin:20px}.admin-login-header h1{font-size:28px}.form-group input{font-size:16px}.login-button{padding:16px;font-size:16px}}@media(max-width:480px){.admin-login{padding:10px}.admin-login-container{padding:24px 20px;border-radius:12px}.admin-login-header h1{font-size:24px;margin-bottom:4px}.admin-login-header p{font-size:14px}.form-group{margin-bottom:16px}.form-group label{font-size:13px}.form-group input{padding:14px 16px;font-size:16px}.login-button{padding:14px;font-size:15px}.admin-login-footer{font-size:11px}.admin-login-footer button{width:100%;padding:10px;font-size:12px}}.admin-layout{display:flex;min-height:100vh;background:var(--bg-primary)}.admin-sidebar{width:260px;background:var(--bg-secondary);border-right:1px solid var(--border-color);display:flex;flex-direction:column;position:fixed;height:100vh;left:0;top:0;z-index:1000;overflow-y:auto}.admin-sidebar-header{padding:24px 20px;border-bottom:1px solid var(--border-color);display:flex;justify-content:space-between;align-items:center}.admin-sidebar-header h2{font-size:20px;font-weight:700;color:var(--text-primary);margin:0}.sidebar-close{display:none;background:none;border:none;font-size:28px;color:var(--text-secondary);cursor:pointer;padding:0;width:32px;height:32px;line-height:1}.admin-nav{flex:1;padding:16px 0}.nav-item{display:flex;align-items:center;gap:12px;padding:12px 20px;color:var(--text-secondary);text-decoration:none;transition:all .2s ease;border-left:3px solid transparent}.nav-item:hover{background:var(--bg-primary);color:var(--text-primary)}.nav-item.active{background:#4a90e21a;color:#4a90e2;border-left-color:#4a90e2;font-weight:600}.nav-icon{font-size:20px;width:24px;text-align:center}.nav-label{font-size:15px}.admin-sidebar-footer{padding:20px;border-top:1px solid var(--border-color);display:flex;flex-direction:column;gap:12px}.back-to-site{padding:10px 16px;background:var(--bg-primary);color:var(--text-primary);text-decoration:none;border-radius:8px;text-align:center;font-size:14px;transition:all .2s ease;border:1px solid var(--border-color)}.back-to-site:hover{background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.logout-button{padding:10px 16px;background:transparent;color:#e74c3c;border:1px solid #e74c3c;border-radius:8px;cursor:pointer;font-size:14px;transition:all .2s ease}.logout-button:hover{background:#e74c3c;color:#fff}.admin-main{flex:1;margin-left:260px;display:flex;flex-direction:column}.admin-header{background:var(--bg-secondary);border-bottom:1px solid var(--border-color);padding:20px 32px;display:flex;align-items:center;gap:20px;position:sticky;top:0;z-index:100}.mobile-menu-button{display:none;background:none;border:none;font-size:24px;color:var(--text-primary);cursor:pointer;padding:8px}.admin-header h1{font-size:24px;font-weight:700;color:var(--text-primary);margin:0;flex:1}.admin-header-actions{display:flex;align-items:center;gap:12px}.theme-toggle-btn{width:40px;height:40px;border:2px solid var(--border-color);border-radius:8px;background:var(--bg-primary);color:var(--text-primary);cursor:pointer;font-size:20px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.theme-toggle-btn:hover{background:var(--bg-secondary);border-color:var(--accent-color);transform:scale(1.05)}.admin-user{font-size:14px;color:var(--text-secondary);padding:8px 16px;background:var(--bg-primary);border-radius:8px}.admin-content{flex:1;padding:32px;overflow-y:auto}@media(max-width:768px){.admin-sidebar{transform:translate(-100%);transition:transform .3s ease}.admin-sidebar.open{transform:translate(0)}.sidebar-close{display:block}.admin-main{margin-left:0}.mobile-menu-button{display:block}.admin-content{padding:20px}}.admin-overlay{display:none;position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;z-index:999}@media(max-width:768px){.admin-overlay{display:block}}.admin-overlay:not(.open){display:none!important}.admin-dashboard{max-width:1200px;padding:24px}.dashboard-welcome{background:linear-gradient(135deg,#667eea,#764ba2);padding:32px;border-radius:12px;margin-bottom:32px;color:#fff}.dashboard-welcome h2{font-size:28px;margin:0 0 8px}.dashboard-welcome p{font-size:16px;opacity:.9;margin:0}.dashboard-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:32px}.stat-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px;transition:all .3s ease}.stat-label{font-size:14px;color:var(--text-secondary);margin-bottom:8px}.stat-change{font-size:14px;font-weight:600}.dashboard-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px}.dashboard-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px}.dashboard-card h3{font-size:20px;font-weight:600;color:var(--text-primary);margin:0 0 16px}.quick-actions{list-style:none;padding:0;margin:0}.quick-actions li{padding:14px 16px;color:var(--text-primary);border:1px solid transparent;border-bottom:1px solid var(--border-color);font-size:15px;cursor:pointer!important;transition:all .2s ease;border-radius:8px;margin-bottom:6px;-webkit-user-select:none;user-select:none;display:flex;align-items:center;gap:10px;position:relative;z-index:10;background:transparent;pointer-events:auto!important;-webkit-tap-highlight-color:rgba(74,144,226,.2)}.quick-actions li:before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--accent-color);border-radius:3px 0 0 3px;opacity:0;transition:opacity .2s ease}.quick-actions li:hover{background:var(--bg-primary);color:var(--accent-color);transform:translate(6px);box-shadow:0 4px 12px #0000001a;border-color:var(--accent-color)}.quick-actions li:hover:before{opacity:1}.quick-actions li:active{transform:translate(3px);box-shadow:0 2px 6px #0000001a}.quick-actions li:focus{outline:2px solid var(--accent-color);outline-offset:2px}.quick-actions li:last-child{border-bottom:none;margin-bottom:0}.recent-changes{color:var(--text-secondary);font-style:italic}@media(max-width:768px){.dashboard-stats,.dashboard-grid{grid-template-columns:1fr}.dashboard-welcome{padding:24px}.dashboard-welcome h2{font-size:24px}}.admin-translations{max-width:1200px}.translations-header{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap;align-items:center}.lang-selector{display:flex;align-items:center;gap:8px}.lang-selector label{font-weight:600;color:var(--text-primary)}.lang-selector select{padding:8px 12px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-secondary);color:var(--text-primary);font-size:14px;cursor:pointer}.search-box{flex:1;min-width:200px}.search-box input{width:100%;padding:8px 12px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-secondary);color:var(--text-primary);font-size:14px}.save-button{padding:8px 16px;background:#4a90e2;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.save-button:hover{background:#357abd}.translations-list{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;overflow:hidden}.translation-item{border-bottom:1px solid var(--border-color)}.translation-item:last-child{border-bottom:none}.translation-item.is-object .translation-key{background:#4a90e20d}.translation-key{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;cursor:pointer;transition:background .2s ease}.translation-key:hover{background:var(--bg-primary)}.key-name{font-family:Courier New,monospace;font-size:14px;color:var(--text-primary);font-weight:600}.expand-button{background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:12px;padding:4px 8px}.translation-value{padding:12px 16px 12px 32px;font-size:14px;color:var(--text-secondary);background:var(--bg-primary);white-space:pre-wrap;word-break:break-word}.edit-form{padding:16px;background:#4a90e20d}.edit-form textarea{width:100%;padding:12px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-secondary);color:var(--text-primary);font-family:inherit;font-size:14px;resize:vertical;min-height:80px}.edit-actions{display:flex;gap:8px;margin-top:8px}.edit-actions button{padding:6px 12px;border:1px solid var(--border-color);border-radius:6px;background:var(--bg-secondary);color:var(--text-primary);cursor:pointer;font-size:13px;transition:all .2s ease}.edit-actions button:first-child:hover{background:#27ae60;color:#fff;border-color:#27ae60}.edit-actions button:last-child:hover{background:#e74c3c;color:#fff;border-color:#e74c3c}.no-results{text-align:center;padding:40px;color:var(--text-tertiary);font-style:italic}@media(max-width:768px){.translations-header{flex-direction:column;align-items:stretch}.search-box{width:100%}}.admin-sections{max-width:800px}.sections-header{margin-bottom:32px}.sections-header h2{font-size:28px;font-weight:700;color:var(--text-primary);margin:0 0 8px}.sections-header p{font-size:15px;color:var(--text-secondary);margin:0}.sections-list{display:flex;flex-direction:column;gap:32px;margin-bottom:24px}.sections-group{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;overflow:hidden}.group-title{font-size:16px;font-weight:600;color:var(--text-primary);padding:16px 24px;margin:0;background:var(--bg-primary);border-bottom:1px solid var(--border-color)}.section-item{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--border-color);transition:background .2s ease}.section-item:last-child{border-bottom:none}.section-item:hover{background:var(--bg-primary)}.section-info{flex:1}.section-info h3{font-size:18px;font-weight:600;color:var(--text-primary);margin:0 0 4px}.section-id{font-size:13px;color:var(--text-tertiary);font-family:Courier New,monospace}.toggle-switch{position:relative;display:inline-block;width:52px;height:28px}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:var(--border-color);transition:.3s;border-radius:28px}.toggle-slider:before{position:absolute;content:"";height:20px;width:20px;left:4px;bottom:4px;background-color:#fff;transition:.3s;border-radius:50%}.toggle-switch input:checked+.toggle-slider{background-color:#4a90e2}.toggle-switch input:checked+.toggle-slider:before{transform:translate(24px)}.sections-footer{text-align:center}.save-button{padding:12px 24px;background:#4a90e2;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease;margin-bottom:16px}.hint{font-size:13px;color:var(--text-tertiary);margin:0;padding:12px;background:#ffc1071a;border:1px solid rgba(255,193,7,.3);border-radius:8px}.sections-export{margin-top:24px;padding:20px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px}.sections-export h4{font-size:16px;font-weight:600;color:var(--text-primary);margin:0 0 12px}.export-button{padding:10px 20px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.export-button:hover{background:var(--accent-hover);transform:translateY(-2px);box-shadow:0 4px 12px #4a90e24d}@media(max-width:768px){.section-item{flex-direction:column;align-items:flex-start;gap:12px}.toggle-switch{align-self:flex-end}}.admin-faq{max-width:900px}.faq-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px}.faq-header h2{font-size:28px;font-weight:700;color:var(--text-primary);margin:0}.add-button{padding:10px 20px;background:#4a90e2;color:#fff;border:none;border-radius:8px;font-weight:600;cursor:pointer;transition:all .2s ease}.add-button:hover{background:#357abd}.faq-form-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px;margin-bottom:24px}.faq-form-card h3{font-size:20px;font-weight:600;color:var(--text-primary);margin:0 0 20px}.form-group{margin-bottom:16px}.form-group label{display:block;font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:8px}.form-group input,.form-group textarea{width:100%;padding:10px 12px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-primary);color:var(--text-primary);font-family:inherit;font-size:14px;resize:vertical;box-sizing:border-box}.form-group textarea{min-height:100px}.form-actions{display:flex;gap:8px}.form-actions button{padding:8px 16px;border:1px solid var(--border-color);border-radius:6px;background:var(--bg-primary);color:var(--text-primary);cursor:pointer;font-size:14px;transition:all .2s ease}.form-actions button:first-child:hover{background:#27ae60;color:#fff;border-color:#27ae60}.form-actions button:last-child:hover{background:#e74c3c;color:#fff;border-color:#e74c3c}.faq-list{display:flex;flex-direction:column;gap:16px;margin-bottom:24px}.faq-item{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px}.faq-content h3{font-size:18px;font-weight:600;color:var(--text-primary);margin:0 0 12px}.faq-content p{font-size:15px;color:var(--text-secondary);line-height:1.6;margin:0 0 16px}.faq-actions{display:flex;gap:8px;padding-top:16px;border-top:1px solid var(--border-color)}.faq-actions button{padding:8px 16px;border:1px solid var(--border-color);border-radius:6px;background:var(--bg-primary);color:var(--text-primary);cursor:pointer;font-size:14px;transition:all .2s ease}.faq-actions button:hover{background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.faq-actions .delete-button:hover{background:#e74c3c;border-color:#e74c3c}.faq-edit-form{padding:0}.faq-footer{text-align:center}.save-button{padding:12px 24px;background:#4a90e2;color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:600;cursor:pointer;transition:all .2s ease}.save-button:hover{background:#357abd;transform:translateY(-2px);box-shadow:0 4px 12px #4a90e24d}@media(max-width:768px){.faq-header{flex-direction:column;align-items:flex-start;gap:16px}.add-button{width:100%}.faq-actions{flex-direction:column}.faq-actions button{width:100%}}.admin-stats{max-width:1200px}.stats-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.stats-header h2{font-size:28px;font-weight:700;color:var(--text-primary);margin:0}.period-selector{padding:8px 12px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-secondary);color:var(--text-primary);font-size:14px;cursor:pointer}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:32px}.stat-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px;display:flex;align-items:center;gap:16px;transition:all .3s ease}.stat-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001a}.stat-icon{font-size:40px;width:60px;height:60px;display:flex;align-items:center;justify-content:center;background:#4a90e21a;border-radius:12px}.stat-content{flex:1}.stat-content h3{font-size:14px;font-weight:600;color:var(--text-secondary);margin:0 0 8px;text-transform:uppercase;letter-spacing:.5px}.stat-value{font-size:28px;font-weight:700;color:var(--text-primary);margin-bottom:4px}.stat-change{font-size:13px;font-weight:600}.stat-change.positive{color:#27ae60}.stat-change.negative{color:#e74c3c}.stats-content{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:24px;margin-bottom:24px}.stats-section{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px}.stats-section h3{font-size:18px;font-weight:600;color:var(--text-primary);margin:0 0 20px}.activity-item{display:flex;align-items:center;gap:12px;padding:12px;background:var(--bg-primary);border-radius:8px}.activity-icon{font-size:24px;width:40px;height:40px;display:flex;align-items:center;justify-content:center;background:#4a90e21a;border-radius:8px}.activity-info{flex:1}.activity-text{font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:4px}.pages-list{display:flex;flex-direction:column;gap:12px}.page-item{display:flex;justify-content:space-between;align-items:center;padding:12px;background:var(--bg-primary);border-radius:8px}.page-url{font-size:14px;font-family:Courier New,monospace;color:var(--text-primary);font-weight:600}.page-views{font-size:13px;color:var(--text-secondary)}.stats-note{background:#4a90e21a;border:1px solid rgba(74,144,226,.2);border-radius:8px;padding:16px;text-align:center}.stats-note p{margin:0;font-size:14px;color:var(--text-secondary)}@media(max-width:768px){.stats-header{flex-direction:column;align-items:flex-start;gap:16px}.stats-grid,.stats-content{grid-template-columns:1fr}.page-item{flex-direction:column;align-items:flex-start;gap:8px}}.page-error-boundary{display:flex;align-items:center;justify-content:center;min-height:400px;padding:32px;background:var(--bg-primary)}.error-content{text-align:center;max-width:600px;padding:32px;background:var(--bg-secondary);border-radius:12px;border:1px solid var(--border-color)}.error-icon{font-size:64px;margin-bottom:16px}.error-content h2{font-size:24px;font-weight:700;color:var(--text-primary);margin-bottom:12px}.error-content p{font-size:16px;color:var(--text-secondary);margin-bottom:24px;line-height:1.6}.error-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.retry-button,.reload-button,.back-button{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s ease}.retry-button{background:var(--accent-color);color:#fff}.retry-button:hover{background:var(--accent-color-dark);transform:translateY(-2px)}.reload-button{background:var(--bg-primary);color:var(--text-primary);border:1px solid var(--border-color)}.reload-button:hover{background:var(--bg-secondary)}.back-button{background:transparent;color:var(--text-secondary);border:1px solid var(--border-color)}.back-button:hover{background:var(--bg-secondary);color:var(--text-primary)}.error-details{margin-top:24px;text-align:left;background:var(--bg-primary);border-radius:8px;padding:16px;border:1px solid var(--border-color)}.error-details summary{cursor:pointer;font-weight:600;color:var(--text-primary);margin-bottom:12px}.error-details pre{background:#0000001a;padding:12px;border-radius:4px;overflow-x:auto;font-size:12px;color:var(--text-primary);margin-top:8px;white-space:pre-wrap;word-break:break-word}@media(max-width:768px){.error-content{padding:24px}.error-actions{flex-direction:column}.retry-button,.reload-button,.back-button{width:100%}}.admin-users{padding:32px;max-width:1400px;margin:0 auto}.users-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px;gap:24px}.users-header h2{font-size:28px;font-weight:700;color:var(--text-primary);margin:0 0 8px}.users-header p{font-size:16px;color:var(--text-secondary);margin:0}.users-stats{display:flex;gap:16px}.stat-card{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:16px 24px;text-align:center;min-width:100px}.stat-value{font-size:32px;font-weight:700;color:var(--accent-color);margin-bottom:4px}.stat-hint{font-size:11px;color:var(--text-secondary);margin-top:4px;opacity:.7}.users-filters{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px;flex-wrap:wrap}.search-box{position:relative;flex:1;min-width:300px}.search-input{width:100%;padding:12px 16px 12px 40px;border:1px solid var(--border-color);border-radius:8px;font-size:14px;background:var(--bg-primary);color:var(--text-primary);transition:border-color .2s ease}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:18px;pointer-events:none}.filter-buttons{display:flex;gap:8px}.filter-btn{padding:10px 16px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-primary);color:var(--text-secondary);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit}.filter-btn:hover{border-color:var(--accent-color);color:var(--text-primary)}.filter-btn.active{background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.users-table-container{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;overflow:hidden;margin-bottom:24px}.users-table{width:100%;border-collapse:collapse}.users-table thead{background:var(--bg-secondary)}.users-table th{padding:16px;text-align:left;font-size:14px;font-weight:600;color:var(--text-primary);border-bottom:1px solid var(--border-color)}.users-table td{padding:16px;border-bottom:1px solid var(--border-color);font-size:14px}.users-table tbody tr:hover{background:var(--bg-secondary)}.users-table tbody tr:last-child td{border-bottom:none}.user-cell{display:flex;align-items:center;gap:12px}.user-avatar,.user-avatar-placeholder{width:40px;height:40px;border-radius:50%;object-fit:cover}.user-avatar-placeholder{background:var(--accent-color);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:16px}.user-name{font-weight:500;color:var(--text-primary)}.user-email{color:var(--text-secondary)}.registration-badge{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border-radius:16px;font-size:12px;font-weight:500}.registration-badge.email{background:#4a90e21a;color:#4a90e2}.registration-badge.google{background:#4285f41a;color:#4285f4}.badge-icon{font-size:14px}.user-date{color:var(--text-secondary);font-size:13px}.action-btn{width:36px;height:36px;border:none;border-radius:6px;cursor:pointer;font-size:16px;display:flex;align-items:center;justify-content:center;transition:all .2s ease;background:transparent}.action-btn.view{background:#4a90e21a}.action-btn.view:hover{background:#4a90e233}.action-btn.delete{background:#e74c3c1a}.action-btn.delete:hover{background:#e74c3c33}.action-btn.email{background:#4a90e21a}.action-btn.email:hover{background:#4a90e233}.empty-state{padding:60px 20px;text-align:center}.empty-state h3{font-size:20px;font-weight:600;color:var(--text-primary);margin:0 0 8px}.empty-state p{font-size:14px;color:var(--text-secondary);margin:0}.users-footer{display:flex;gap:12px;justify-content:flex-end}.email-btn,.export-btn,.refresh-btn{padding:12px 24px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-primary);color:var(--text-primary);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit;display:flex;align-items:center;gap:8px}.email-btn{background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.email-btn:hover{background:var(--accent-hover, #357abd);border-color:var(--accent-hover, #357abd)}.export-btn:hover,.refresh-btn:hover{border-color:var(--accent-color);background:var(--bg-secondary)}.email-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000;padding:20px}.email-modal{background:var(--bg-primary);border-radius:12px;width:100%;max-width:600px;max-height:90vh;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 20px 60px #0000004d}.email-modal-header{display:flex;justify-content:space-between;align-items:center;padding:20px 24px;border-bottom:1px solid var(--border-color)}.email-modal-header h3{margin:0;font-size:20px;font-weight:600;color:var(--text-primary)}.email-modal-close{width:32px;height:32px;border:none;background:transparent;color:var(--text-secondary);font-size:20px;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.email-modal-close:hover{background:var(--bg-secondary);color:var(--text-primary)}.email-modal-body{padding:24px;overflow-y:auto;flex:1}.email-form-group{margin-bottom:20px}.email-form-group label{display:block;margin-bottom:8px;font-size:14px;font-weight:500;color:var(--text-primary)}.email-recipients{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.email-recipient-tag{display:inline-block;padding:6px 12px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:16px;font-size:13px;color:var(--text-primary)}.email-form-group small{display:block;margin-top:4px;font-size:12px;color:var(--text-secondary)}.email-input,.email-textarea{width:100%;padding:12px;border:1px solid var(--border-color);border-radius:8px;font-size:14px;font-family:inherit;background:var(--bg-primary);color:var(--text-primary);transition:border-color .2s ease;box-sizing:border-box}.email-input:focus,.email-textarea:focus{outline:none;border-color:var(--accent-color)}.email-textarea{resize:vertical;min-height:150px}.email-form-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px;padding-top:20px;border-top:1px solid var(--border-color)}.email-cancel-btn,.email-send-btn{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit}.email-cancel-btn{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}.email-cancel-btn:hover{background:var(--bg-primary)}.email-send-btn{background:var(--accent-color);color:#fff}.email-send-btn:hover:not(:disabled){background:var(--accent-hover, #357abd);transform:translateY(-1px);box-shadow:0 4px 12px #4a90e24d}.email-send-btn:disabled{opacity:.6;cursor:not-allowed}@media(max-width:768px){.admin-users{padding:20px}.users-header{flex-direction:column}.users-stats{width:100%;justify-content:space-between}.users-filters{flex-direction:column;align-items:stretch}.search-box{min-width:100%}.users-table-container{overflow-x:auto}.users-table{min-width:800px}.users-footer{flex-direction:column}.export-btn,.refresh-btn,.email-btn{width:100%;justify-content:center}.email-modal{max-width:100%;max-height:95vh;margin:10px}.email-modal-body{padding:16px}.email-form-actions{flex-direction:column}.email-cancel-btn,.email-send-btn{width:100%}}.admin-blog{padding:24px}.blog-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.blog-header h2{font-size:28px;font-weight:600;color:var(--text-primary);margin:0}.add-post-btn{padding:12px 24px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit}.add-post-btn:hover{background:var(--accent-hover);transform:translateY(-2px)}.blog-editor{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px;margin-bottom:32px}.tags-input{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.tag{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:var(--accent-color);color:#fff;border-radius:6px;font-size:14px}.tag button{background:none;border:none;color:#fff;cursor:pointer;font-size:16px;line-height:1;padding:0;width:18px;height:18px;display:flex;align-items:center;justify-content:center}.tag-input-wrapper{display:flex;gap:8px;align-items:center}.tag-input{padding:6px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-primary);color:var(--text-primary);font-family:inherit;width:150px}.tag-input-wrapper button{padding:6px 12px;background:var(--accent-color);color:#fff;border:none;border-radius:6px;font-size:14px;cursor:pointer;font-family:inherit}.seo-section{padding:20px;background:var(--bg-primary);border-radius:8px;border:1px solid var(--border-color)}.seo-section h4{font-size:16px;font-weight:600;color:var(--text-primary);margin-bottom:16px}.posts-list{margin-top:32px}.posts-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.posts-header h3{font-size:20px;font-weight:600;color:var(--text-primary);margin:0}.posts-filters{display:flex;gap:16px;font-size:14px;color:var(--text-secondary)}.posts-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px}.post-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:20px;transition:all .2s ease}.post-card:hover{border-color:var(--accent-color);box-shadow:0 4px 12px #0000001a}.post-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:12px}.post-header h4{font-size:18px;font-weight:600;color:var(--text-primary);margin:0;flex:1}.post-excerpt{font-size:14px;color:var(--text-secondary);line-height:1.6;margin:0 0 12px}.post-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:16px;font-size:12px;color:var(--text-tertiary)}.post-category{padding:4px 8px;background:var(--accent-color);color:#fff;border-radius:4px;font-weight:500}.post-tags{display:flex;gap:4px;flex-wrap:wrap}.tag-small{padding:2px 6px;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:4px;font-size:11px}.post-date{margin-left:auto}.post-actions{display:flex;gap:8px;flex-wrap:wrap}.empty-posts{text-align:center;padding:60px 20px;color:var(--text-secondary)}@media(max-width:768px){.admin-blog{padding:16px}.blog-header{flex-direction:column;align-items:flex-start;gap:16px}.form-row,.posts-grid{grid-template-columns:1fr}.post-actions{flex-direction:column}.action-btn{width:100%}}.admin-testimonials{padding:24px}.testimonials-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.testimonials-header h2{font-size:28px;font-weight:600;color:var(--text-primary);margin:0}.add-testimonial-btn{padding:12px 24px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit}.add-testimonial-btn:hover{background:var(--accent-hover);transform:translateY(-2px)}.testimonial-editor{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px;margin-bottom:32px}.editor-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--border-color)}.editor-header h3{font-size:20px;font-weight:600;color:var(--text-primary);margin:0}.close-editor-btn{background:none;border:none;font-size:24px;color:var(--text-secondary);cursor:pointer;padding:4px;line-height:1;transition:color .2s ease}.close-editor-btn:hover{color:var(--text-primary)}.form-textarea{resize:vertical;min-height:120px}.rating-slider{width:100%;height:8px;border-radius:4px;background:var(--bg-primary);outline:none;-webkit-appearance:none}.rating-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px;height:20px;border-radius:50%;background:var(--accent-color);cursor:pointer}.rating-slider::-moz-range-thumb{width:20px;height:20px;border-radius:50%;background:var(--accent-color);cursor:pointer;border:none}.rating-display{display:flex;gap:4px;margin-top:8px}.star{font-size:20px;opacity:.3}.star.filled{opacity:1}.btn-primary,.btn-secondary{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit}.testimonials-list{margin-top:32px}.testimonials-header-list{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.testimonials-header-list h3{font-size:20px;font-weight:600;color:var(--text-primary);margin:0}.testimonials-filters{display:flex;gap:16px;font-size:14px;color:var(--text-secondary)}.testimonials-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:20px}.testimonial-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:20px;transition:all .2s ease}.testimonial-card:hover{border-color:var(--accent-color);box-shadow:0 4px 12px #0000001a}.testimonial-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px;gap:12px}.testimonial-author{display:flex;gap:12px;align-items:center;flex:1}.author-photo{width:50px;height:50px;border-radius:50%;object-fit:cover;border:2px solid var(--border-color)}.author-info h4{font-size:16px;font-weight:600;color:var(--text-primary);margin:0 0 4px}.author-role,.author-company{font-size:12px;color:var(--text-secondary);margin:2px 0}.status-badge{padding:4px 12px;border-radius:6px;font-size:12px;font-weight:500;white-space:nowrap}.status-badge.published{background:#27ae60;color:#fff}.status-badge.draft{background:#f39c12;color:#fff}.testimonial-rating{display:flex;gap:4px;margin-bottom:12px}.testimonial-content{font-size:14px;color:var(--text-secondary);line-height:1.6;margin:0 0 16px;font-style:italic}.testimonial-actions{display:flex;gap:8px;flex-wrap:wrap}.action-btn{padding:6px 12px;border:1px solid var(--border-color);border-radius:6px;background:var(--bg-primary);color:var(--text-primary);font-size:12px;cursor:pointer;transition:all .2s ease;font-family:inherit}.empty-testimonials{text-align:center;padding:60px 20px;color:var(--text-secondary)}@media(max-width:768px){.admin-testimonials{padding:16px}.testimonials-header{flex-direction:column;align-items:flex-start;gap:16px}.form-row,.testimonials-grid{grid-template-columns:1fr}.testimonial-actions{flex-direction:column}.action-btn{width:100%}}.admin-logs{padding:24px}.logs-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.logs-header h2{font-size:28px;font-weight:600;color:var(--text-primary);margin:0}.logs-actions{display:flex;gap:12px;flex-wrap:wrap}.refresh-btn,.export-btn,.clear-btn{padding:10px 20px;border:1px solid var(--border-color);border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit;background:var(--bg-secondary);color:var(--text-primary)}.refresh-btn:hover,.export-btn:hover,.clear-btn:hover{background:var(--bg-primary);border-color:var(--accent-color)}.refresh-btn.active{background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.logs-filters{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap;align-items:center}.logs-stats{display:flex;gap:24px;margin-bottom:24px;padding:16px;background:var(--bg-secondary);border-radius:8px;border:1px solid var(--border-color);flex-wrap:wrap}.stat-item{display:flex;align-items:center;gap:8px}.stat-value.error{color:#e74c3c}.stat-value.warning{color:#f39c12}.stat-value.info{color:#3498db}.logs-list{display:flex;flex-direction:column;gap:12px;max-height:600px;overflow-y:auto}.log-item{display:flex;gap:12px;padding:16px;background:var(--bg-secondary);border:1px solid var(--border-color);border-left:4px solid;border-radius:8px;transition:all .2s ease}.log-item:hover{box-shadow:0 2px 8px #0000001a}.log-item.log-error{border-left-color:#e74c3c;background:#e74c3c0d}.log-item.log-warning{border-left-color:#f39c12;background:#f39c120d}.log-item.log-success{border-left-color:#27ae60;background:#27ae600d}.log-item.log-info{border-left-color:#3498db;background:#3498db0d}.log-icon{font-size:24px;flex-shrink:0}.log-content{flex:1;display:flex;flex-direction:column;gap:8px}.log-header{display:flex;justify-content:space-between;align-items:center;gap:12px}.log-message{font-size:14px;font-weight:500;color:var(--text-primary);flex:1}.log-level{padding:4px 8px;border-radius:4px;font-size:11px;font-weight:600;text-transform:uppercase;background:var(--bg-primary);color:var(--text-secondary)}.log-details{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:var(--text-secondary)}.log-type,.log-user,.log-ip,.log-time{padding:2px 6px;background:var(--bg-primary);border-radius:4px}.log-stack,.log-data{margin-top:8px;padding:12px;background:var(--bg-primary);border-radius:6px;border:1px solid var(--border-color)}.log-stack summary,.log-data summary{cursor:pointer;font-size:12px;font-weight:500;color:var(--text-primary);margin-bottom:8px}.log-stack pre,.log-data pre{margin:0;font-size:11px;color:var(--text-secondary);white-space:pre-wrap;word-break:break-all;font-family:Courier New,monospace}.empty-logs{text-align:center;padding:60px 20px;color:var(--text-secondary)}@media(max-width:768px){.admin-logs{padding:16px}.logs-header{flex-direction:column;align-items:flex-start}.logs-filters{flex-direction:column}.search-group{width:100%}.logs-stats{flex-direction:column;gap:12px}}.admin-audit-log{padding:24px}.audit-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.audit-header h2{font-size:28px;font-weight:600;color:var(--text-primary);margin:0}.audit-actions{display:flex;gap:12px}.export-btn,.clear-btn{padding:10px 20px;border:1px solid var(--border-color);border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit;background:var(--bg-secondary);color:var(--text-primary)}.export-btn:hover,.clear-btn:hover{background:var(--bg-primary);border-color:var(--accent-color)}.clear-btn:hover{background:#e74c3c;color:#fff;border-color:#e74c3c}.audit-filters{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap;align-items:center}.filter-group{display:flex;align-items:center;gap:8px}.filter-group label{font-size:14px;color:var(--text-primary);font-weight:500}.search-group{flex:1;min-width:200px}.search-input{width:100%;padding:8px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-primary);color:var(--text-primary);font-family:inherit}.search-input:focus{outline:none;border-color:var(--accent-color)}.audit-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:32px}.stat-card{background:var(--bg-secondary);padding:20px;border-radius:12px;border:1px solid var(--border-color);text-align:center}.audit-timeline{display:flex;flex-direction:column;gap:16px;position:relative;padding-left:40px}.audit-timeline:before{content:"";position:absolute;left:20px;top:0;bottom:0;width:2px;background:var(--border-color)}.audit-item{display:flex;gap:16px;padding:16px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;cursor:pointer;transition:all .2s ease;position:relative}.audit-item:hover{border-color:var(--accent-color);box-shadow:0 4px 12px #0000001a;transform:translate(4px)}.audit-icon{width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:20px;flex-shrink:0;position:absolute;left:-60px;box-shadow:0 2px 8px #0000001a}.audit-content{flex:1;display:flex;flex-direction:column;gap:8px}.audit-header-item{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.audit-main{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.audit-action{font-size:16px;font-weight:600;color:var(--text-primary)}.audit-type{padding:4px 8px;background:var(--bg-primary);border-radius:4px;font-size:12px;font-weight:500;color:var(--text-secondary)}.audit-details{font-size:14px;color:var(--text-secondary)}.audit-time{font-size:12px;color:var(--text-tertiary);white-space:nowrap}.audit-meta{display:flex;gap:12px;font-size:12px;color:var(--text-tertiary)}.audit-user,.audit-ip{padding:2px 6px;background:var(--bg-primary);border-radius:4px}.audit-details-expanded{margin-top:12px;padding:16px;background:var(--bg-primary);border-radius:8px;border:1px solid var(--border-color);animation:slideDown .3s ease}.detail-row{margin-bottom:12px;font-size:14px;color:var(--text-secondary)}.detail-row strong{color:var(--text-primary);margin-right:8px}.detail-row pre{margin:8px 0 0;padding:12px;background:var(--bg-secondary);border-radius:6px;font-size:12px;overflow-x:auto;font-family:Courier New,monospace}.revert-btn{margin-top:12px;padding:8px 16px;background:#f39c12;color:#fff;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit}.revert-btn:hover{background:#e67e22;transform:translateY(-2px)}.empty-audit{text-align:center;padding:60px 20px;color:var(--text-secondary)}@keyframes slideDown{0%{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@media(max-width:768px){.admin-audit-log{padding:16px}.audit-header{flex-direction:column;align-items:flex-start}.audit-filters{flex-direction:column}.search-group{width:100%}.audit-timeline{padding-left:0}.audit-timeline:before{display:none}.audit-icon{position:static}.audit-stats{grid-template-columns:repeat(2,1fr)}}.admin-advanced-stats{padding:24px}.stats-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;flex-wrap:wrap;gap:16px}.stats-header h2{font-size:28px;font-weight:600;color:var(--text-primary);margin:0}.stats-controls{display:flex;gap:12px}.period-select{padding:10px 16px;border:1px solid var(--border-color);border-radius:8px;font-size:14px;background:var(--bg-primary);color:var(--text-primary);font-family:inherit;cursor:pointer}.stats-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:32px}.overview-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px;display:flex;align-items:center;gap:16px;transition:all .2s ease}.overview-card:hover{border-color:var(--accent-color);transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.overview-icon{font-size:40px;width:60px;height:60px;display:flex;align-items:center;justify-content:center;background:#4a90e21a;border-radius:12px}.overview-content{flex:1}.overview-value{font-size:28px;font-weight:700;color:var(--accent-color);margin-bottom:4px}.overview-label{font-size:14px;color:var(--text-secondary)}.chart-tabs{display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap;border-bottom:2px solid var(--border-color);padding-bottom:8px}.chart-tab{padding:10px 20px;border:none;background:transparent;color:var(--text-secondary);border-radius:8px 8px 0 0;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease;font-family:inherit;border-bottom:3px solid transparent}.chart-tab:hover{color:var(--accent-color);background:var(--bg-secondary)}.chart-tab.active{color:var(--accent-color);background:var(--bg-secondary);border-bottom-color:var(--accent-color);font-weight:600}.charts-container{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px;min-height:400px}.chart-container h3{font-size:20px;font-weight:600;color:var(--text-primary);margin-bottom:24px}.bar-chart{display:flex;align-items:flex-end;gap:8px;height:300px;padding:20px 0}.bar-item{flex:1;display:flex;flex-direction:column;align-items:center;gap:8px;min-width:40px}.bar{width:100%;min-height:4px;border-radius:4px 4px 0 0;transition:all .3s ease}.bar-item:hover .bar{opacity:.8;transform:scaleY(1.05)}.bar-label{font-size:11px;color:var(--text-secondary);text-align:center;writing-mode:horizontal-tb;transform:rotate(-45deg);transform-origin:center;white-space:nowrap}.bar-value{font-size:12px;font-weight:600;color:var(--text-primary)}.heatmap-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(40px,1fr));gap:4px;padding:20px}.heatmap-cell{aspect-ratio:1;border-radius:4px;display:flex;align-items:center;justify-content:center;border:1px solid var(--border-color);transition:all .2s ease;cursor:pointer}.heatmap-cell:hover{transform:scale(1.1);z-index:1;box-shadow:0 2px 8px #0003}.cell-value{font-size:10px;font-weight:600;color:var(--text-primary)}.features-list{display:flex;flex-direction:column;gap:16px}.feature-item{display:flex;align-items:center;gap:12px}.feature-name{font-size:14px;font-weight:500;color:var(--text-primary);min-width:150px}.feature-bar-container{flex:1;height:24px;background:var(--bg-primary);border-radius:12px;overflow:hidden;position:relative}.feature-bar{height:100%;border-radius:12px;transition:width .3s ease}.feature-count{font-size:14px;font-weight:600;color:var(--accent-color);min-width:50px;text-align:right}.geography-list{display:flex;flex-direction:column;gap:16px}.geography-item{display:flex;flex-direction:column;gap:8px}.geo-header{display:flex;justify-content:space-between;align-items:center}.geo-country{font-size:14px;font-weight:500;color:var(--text-primary)}.geo-count{font-size:12px;color:var(--text-secondary)}.geo-bar-container{height:24px;background:var(--bg-primary);border-radius:12px;overflow:hidden}.geo-bar{height:100%;border-radius:12px;transition:width .3s ease}@media(max-width:768px){.admin-advanced-stats{padding:16px}.stats-overview{grid-template-columns:1fr}.bar-chart{height:200px;overflow-x:auto}.bar-item{min-width:30px}.chart-tabs{overflow-x:auto;-webkit-overflow-scrolling:touch}.chart-tab{flex-shrink:0}}.empty-chart{text-align:center;padding:60px 20px;color:var(--text-secondary)}.empty-chart p{font-size:16px;margin:0}.admin-media{padding:24px}.media-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;flex-wrap:wrap;gap:16px}.media-header h2{font-size:28px;font-weight:600;color:var(--text-primary);margin:0}.media-actions{display:flex;gap:12px;flex-wrap:wrap}.upload-btn,.delete-selected-btn{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit}.upload-btn{background:var(--accent-color);color:#fff}.upload-btn:hover:not(:disabled){background:var(--accent-hover);transform:translateY(-2px)}.upload-btn:disabled{opacity:.6;cursor:not-allowed}.delete-selected-btn{background:#e74c3c;color:#fff}.delete-selected-btn:hover{background:#c0392b}.media-controls{display:flex;justify-content:space-between;align-items:center;margin-bottom:24px;padding:16px;background:var(--bg-secondary);border-radius:8px;border:1px solid var(--border-color);flex-wrap:wrap;gap:16px}.view-controls{display:flex;gap:8px}.view-btn{padding:8px 16px;border:1px solid var(--border-color);border-radius:6px;background:var(--bg-primary);color:var(--text-primary);font-size:14px;cursor:pointer;transition:all .2s ease;font-family:inherit}.view-btn:hover{border-color:var(--accent-color);color:var(--accent-color)}.view-btn.active{background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.filter-select{padding:8px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-primary);color:var(--text-primary);font-family:inherit;cursor:pointer}.select-all-btn{padding:8px 16px;border:1px solid var(--border-color);border-radius:6px;background:var(--bg-primary);color:var(--text-primary);font-size:14px;cursor:pointer;transition:all .2s ease;font-family:inherit}.select-all-btn:hover{border-color:var(--accent-color);color:var(--accent-color)}.media-stats{display:flex;gap:24px;margin-bottom:24px;padding:16px;background:var(--bg-secondary);border-radius:8px;border:1px solid var(--border-color);flex-wrap:wrap}.stat-item{font-size:14px;color:var(--text-secondary)}.stat-item strong{color:var(--accent-color);font-weight:600}.media-content{display:grid;gap:20px}.media-content.grid{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.media-content.list{grid-template-columns:1fr}.media-item{background:var(--bg-secondary);border:2px solid var(--border-color);border-radius:12px;padding:16px;cursor:pointer;transition:all .2s ease;position:relative}.media-item:hover{border-color:var(--accent-color);transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.media-item.selected{border-color:var(--accent-color);background:#4a90e20d}.media-preview{position:relative;width:100%;aspect-ratio:1;border-radius:8px;overflow:hidden;background:var(--bg-primary);margin-bottom:12px;display:flex;align-items:center;justify-content:center}.preview-image{width:100%;height:100%;object-fit:cover}.preview-icon{font-size:48px;opacity:.5}.selected-overlay{position:absolute;top:0;left:0;right:0;bottom:0;background:#4a90e24d;display:flex;align-items:center;justify-content:center}.check-icon{font-size:48px;color:#fff;font-weight:700}.media-info{margin-bottom:12px}.media-name{font-size:14px;font-weight:500;color:var(--text-primary);margin-bottom:6px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.media-meta{display:flex;justify-content:space-between;font-size:12px;color:var(--text-secondary)}.media-actions-item{display:flex;gap:8px;justify-content:flex-end}.action-btn{padding:6px 12px;border:1px solid var(--border-color);border-radius:6px;background:var(--bg-primary);color:var(--text-primary);font-size:14px;cursor:pointer;transition:all .2s ease;font-family:inherit}.action-btn:hover{background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.action-btn.delete:hover{background:#e74c3c;border-color:#e74c3c}.empty-media{text-align:center;padding:60px 20px;color:var(--text-secondary);grid-column:1 / -1}@media(max-width:768px){.admin-media{padding:16px}.media-header{flex-direction:column;align-items:flex-start}.media-controls{flex-direction:column;align-items:stretch}.media-content.grid{grid-template-columns:repeat(auto-fill,minmax(150px,1fr))}}.admin-email-templates{padding:24px}.templates-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;flex-wrap:wrap;gap:16px}.templates-header h2{font-size:28px;font-weight:600;color:var(--text-primary);margin:0}.new-template-btn{padding:12px 24px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit}.new-template-btn:hover{background:var(--accent-hover);transform:translateY(-2px)}.templates-layout{display:grid;grid-template-columns:300px 1fr;gap:24px;margin-bottom:32px}.templates-list{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:20px;max-height:600px;overflow-y:auto}.templates-list h3{font-size:18px;font-weight:600;color:var(--text-primary);margin-bottom:16px}.template-item{padding:12px;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;margin-bottom:8px;cursor:pointer;transition:all .2s ease;position:relative}.template-item:hover{border-color:var(--accent-color)}.template-item.active{border-color:var(--accent-color);background:#4a90e21a}.template-name{font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:4px}.template-subject{font-size:12px;color:var(--text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.delete-template-btn{position:absolute;top:8px;right:8px;background:none;border:none;font-size:16px;cursor:pointer;opacity:.5;transition:opacity .2s ease;padding:4px}.template-item:hover .delete-template-btn{opacity:1}.template-editor{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px}.editor-header h3{font-size:20px;font-weight:600;color:var(--text-primary);margin-bottom:24px}.editor-form{display:flex;flex-direction:column;gap:20px}.form-input,.form-textarea{padding:10px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-primary);color:var(--text-primary);font-family:inherit;transition:border-color .2s ease}.form-input:focus,.form-textarea:focus{outline:none;border-color:var(--accent-color)}.form-textarea{resize:vertical;min-height:200px;font-family:Courier New,monospace}.variables-section{padding:16px;background:var(--bg-primary);border-radius:8px;border:1px solid var(--border-color)}.variables-section h4{font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:12px}.variables-list{display:flex;flex-direction:column;gap:8px}.variable-item{display:flex;align-items:center;gap:12px}.variable-name{padding:6px 12px;background:var(--accent-color);color:#fff;border-radius:4px;font-size:12px;font-family:Courier New,monospace;min-width:120px;text-align:center}.variable-input{flex:1;padding:6px 12px;border:1px solid var(--border-color);border-radius:4px;font-size:14px;background:var(--bg-secondary);color:var(--text-primary);font-family:inherit}.editor-actions{display:flex;justify-content:flex-end;gap:12px;padding-top:20px;border-top:1px solid var(--border-color)}.btn-primary,.btn-secondary,.btn-test{padding:10px 20px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit}.btn-primary:hover{background:var(--accent-hover);transform:translateY(-2px)}.btn-secondary{background:var(--bg-primary);color:var(--text-primary);border:1px solid var(--border-color)}.btn-secondary:hover{background:var(--bg-secondary)}.btn-test{background:#27ae60;color:#fff}.btn-test:hover{background:#229954}.empty-editor{text-align:center;padding:60px 20px;color:var(--text-secondary)}.preview-section{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px}.preview-section h3{font-size:18px;font-weight:600;color:var(--text-primary);margin-bottom:16px}.preview-email{background:#fff;border:1px solid var(--border-color);border-radius:8px;padding:20px;font-family:Arial,sans-serif}.preview-header{border-bottom:1px solid var(--border-color);padding-bottom:12px;margin-bottom:16px}.preview-to,.preview-subject{font-size:14px;color:var(--text-secondary);margin-bottom:4px}.preview-body{font-size:14px;color:var(--text-primary);line-height:1.6;white-space:pre-wrap}.preview-body p{margin:0 0 8px}@media(max-width:1024px){.templates-layout{grid-template-columns:1fr}.templates-list{max-height:300px}}@media(max-width:768px){.admin-email-templates{padding:16px}.templates-header{flex-direction:column;align-items:flex-start}.editor-actions{flex-direction:column}.btn-primary,.btn-secondary,.btn-test{width:100%}}.admin-settings{padding:24px}.settings-header{margin-bottom:32px}.settings-header h2{font-size:28px;font-weight:600;color:var(--text-primary);margin:0}.settings-layout{display:grid;grid-template-columns:250px 1fr;gap:24px}.settings-tabs{display:flex;flex-direction:column;gap:8px}.settings-tab{display:flex;align-items:center;gap:12px;padding:12px 16px;border:none;background:var(--bg-secondary);color:var(--text-primary);border-radius:8px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease;font-family:inherit;text-align:left;border-left:3px solid transparent}.settings-tab:hover{background:var(--bg-primary);color:var(--accent-color)}.settings-tab.active{background:var(--bg-primary);color:var(--accent-color);border-left-color:var(--accent-color);font-weight:600}.tab-icon{font-size:18px}.settings-content{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px}.settings-section h3{font-size:20px;font-weight:600;color:var(--text-primary);margin-bottom:24px}.settings-form{display:flex;flex-direction:column;gap:20px}.form-group{display:flex;flex-direction:column;gap:8px}.form-group label{font-size:14px;font-weight:500;color:var(--text-primary)}.form-input,.form-textarea,.form-select{padding:10px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-primary);color:var(--text-primary);font-family:inherit;transition:border-color .2s ease}.form-input:focus,.form-textarea:focus,.form-select:focus{outline:none;border-color:var(--accent-color)}.form-textarea{resize:vertical;min-height:100px}.form-hint{font-size:12px;color:var(--text-tertiary);font-style:italic}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer;accent-color:var(--accent-color)}.integration-info,.security-info,.backup-info{margin-top:24px;padding:16px;background:var(--bg-primary);border-radius:8px;border:1px solid var(--border-color)}.integration-info h4,.security-info h4,.backup-info h4{font-size:16px;font-weight:600;color:var(--text-primary);margin-bottom:12px}.integration-info ul,.security-info ul,.backup-info ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:8px}.integration-info li,.security-info li,.backup-info li{font-size:14px;color:var(--text-secondary);padding-left:24px;position:relative}.integration-info li:before,.security-info li:before,.backup-info li:before{content:"•";position:absolute;left:0;color:var(--accent-color);font-size:20px;line-height:1}.file-types-list{display:flex;flex-wrap:wrap;gap:8px;padding:12px;background:var(--bg-primary);border-radius:6px;border:1px solid var(--border-color)}.file-type-item{display:flex;align-items:center;gap:8px;padding:6px 12px;background:var(--bg-secondary);border-radius:6px;font-size:12px;font-family:Courier New,monospace}.file-type-item button{background:none;border:none;color:var(--text-secondary);cursor:pointer;font-size:16px;line-height:1;padding:0;width:20px;height:20px;display:flex;align-items:center;justify-content:center}.file-type-item button:hover{color:#e74c3c}.file-type-input{padding:6px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:12px;background:var(--bg-secondary);color:var(--text-primary);font-family:inherit;min-width:200px}.backup-actions{display:flex;gap:12px;margin-top:16px}.backup-btn,.restore-btn{padding:12px 24px;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit}.backup-btn{background:var(--accent-color);color:#fff}.backup-btn:hover{background:var(--accent-hover);transform:translateY(-2px)}.restore-btn{background:#27ae60;color:#fff}.restore-btn:hover{background:#229954}@media(max-width:1024px){.settings-layout{grid-template-columns:1fr}.settings-tabs{flex-direction:row;overflow-x:auto;-webkit-overflow-scrolling:touch}.settings-tab{flex-shrink:0;border-left:none;border-bottom:3px solid transparent}.settings-tab.active{border-left:none;border-bottom-color:var(--accent-color)}}@media(max-width:768px){.admin-settings{padding:16px}.backup-actions{flex-direction:column}.backup-btn,.restore-btn{width:100%}}.admin-analytics{padding:24px;max-width:1400px;margin:0 auto}.analytics-header{margin-bottom:32px;text-align:center}.analytics-header h1{font-size:32px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.analytics-header p{font-size:16px;color:var(--text-secondary)}.analytics-tabs{display:flex;gap:8px;margin-bottom:24px;border-bottom:2px solid var(--border-color);padding-bottom:8px}.tab-button{padding:12px 24px;background:transparent;border:none;border-bottom:3px solid transparent;color:var(--text-secondary);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease;font-family:inherit;position:relative;bottom:-2px}.tab-button:hover{color:var(--text-primary);background:var(--bg-secondary)}.tab-button.active{color:var(--accent-color);border-bottom-color:var(--accent-color);font-weight:600}.analytics-content{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:32px}.analytics-list{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:16px;max-height:600px;overflow-y:auto}.analytics-item{padding:16px;margin-bottom:12px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;cursor:pointer;transition:all .2s ease}.analytics-item:hover{border-color:var(--accent-color);transform:translate(4px)}.analytics-item.selected{border-color:var(--accent-color);background:#4a90e21a;box-shadow:0 2px 8px #4a90e233}.item-key{font-size:13px;color:var(--text-primary);font-weight:500;margin-bottom:8px;word-break:break-all}.item-bar{position:relative;height:32px;background:var(--bg-primary);border-radius:6px;overflow:hidden;display:flex;align-items:center}.bar-fill{height:100%;background:linear-gradient(90deg,var(--accent-color),var(--accent-hover));transition:width .3s ease;border-radius:6px}.bar-value{position:absolute;right:8px;font-size:12px;font-weight:600;color:var(--text-primary);z-index:1}.analytics-detail{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:24px;position:sticky;top:24px;max-height:600px;overflow-y:auto}.detail-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px;padding-bottom:16px;border-bottom:1px solid var(--border-color)}.detail-header h3{flex:1;font-size:16px;font-weight:600;color:var(--text-primary);margin:0 16px;word-break:break-all}.nav-button{width:36px;height:36px;border:1px solid var(--border-color);background:var(--bg-secondary);border-radius:6px;font-size:20px;color:var(--text-primary);cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:center;font-family:inherit}.nav-button:hover:not(:disabled){background:var(--accent-color);color:#fff;border-color:var(--accent-color)}.nav-button:disabled{opacity:.3;cursor:not-allowed}.detail-metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:24px}.metric-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;padding:16px;display:flex;align-items:center;gap:12px}.metric-icon{width:48px;height:48px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:24px;flex-shrink:0}.metric-icon.visitors{background:#3498db33}.metric-icon.revenue{background:#f1c40f33}.metric-icon.conversion{background:#2ecc7133;font-size:14px;font-weight:600;color:var(--text-primary)}.metric-icon.rpv{background:#9b59b633;font-size:14px;font-weight:600;color:var(--text-primary)}.metric-info{flex:1}.metric-label{font-size:12px;color:var(--text-secondary);margin-bottom:4px;text-transform:uppercase;letter-spacing:.5px}.metric-value{font-size:20px;font-weight:700;color:var(--text-primary)}.detail-stats{display:flex;flex-direction:column;gap:12px}.stat-row{display:flex;justify-content:space-between;align-items:center;padding:12px;background:var(--bg-secondary);border-radius:6px}.stat-value{font-size:16px;font-weight:600;color:var(--text-primary)}.stat-value.highlight{color:var(--accent-color);font-size:18px}.analytics-placeholder{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:60px 24px;text-align:center;color:var(--text-secondary)}.placeholder-icon{font-size:64px;margin-bottom:16px;opacity:.3}.analytics-placeholder h3{font-size:20px;font-weight:600;color:var(--text-primary);margin-bottom:8px}.analytics-placeholder p{font-size:14px;color:var(--text-secondary)}.analytics-summary{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-top:32px}.summary-card{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:20px;text-align:center}.summary-label{font-size:13px;color:var(--text-secondary);margin-bottom:8px;text-transform:uppercase;letter-spacing:.5px}.summary-value{font-size:28px;font-weight:700;color:var(--text-primary)}.summary-value.highlight{color:var(--accent-color)}.no-data{text-align:center;padding:60px 20px;color:var(--text-secondary)}.no-data p{margin-bottom:8px}.no-data .hint{font-size:13px;opacity:.7}@media(max-width:1200px){.analytics-content{grid-template-columns:1fr}.analytics-detail{position:static}.analytics-summary{grid-template-columns:repeat(2,1fr)}}@media(max-width:768px){.analytics-summary,.detail-metrics{grid-template-columns:1fr}}.admin-notifications{padding:24px;max-width:1400px;margin:0 auto}.notifications-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.notifications-header h1{font-size:32px;font-weight:700;color:var(--text-primary)}.header-actions{display:flex;gap:12px}.notifications-content{display:grid;grid-template-columns:1fr 400px;gap:24px}.notifications-list h2{font-size:20px;font-weight:600;margin-bottom:16px;color:var(--text-primary)}.notifications-items{display:flex;flex-direction:column;gap:12px}.notification-item{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;padding:16px;display:flex;gap:12px;transition:all .2s ease}.notification-item:hover{box-shadow:0 2px 8px #0000001a}.notification-item.read{opacity:.6}.notification-item.error{border-left:4px solid #e74c3c}.notification-item.warning{border-left:4px solid #f39c12}.notification-item.success{border-left:4px solid #27ae60}.notification-item.info{border-left:4px solid #3498db}.notification-icon{font-size:24px;flex-shrink:0}.notification-content{flex:1}.notification-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.notification-header h3{font-size:16px;font-weight:600;color:var(--text-primary);margin:0}.notification-time{font-size:12px;color:var(--text-secondary)}.notification-message{font-size:14px;color:var(--text-secondary);margin:0 0 12px;line-height:1.5}.notification-actions{display:flex;gap:8px}.notifications-settings{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:24px;height:fit-content;position:sticky;top:24px}.notifications-settings h2{font-size:20px;font-weight:600;margin-bottom:24px;color:var(--text-primary)}.settings-section{margin-bottom:32px;padding-bottom:24px;border-bottom:1px solid var(--border-color)}.settings-section:last-child{border-bottom:none;margin-bottom:0;padding-bottom:0}.settings-section h3{font-size:16px;font-weight:600;margin-bottom:16px;color:var(--text-primary)}.checkbox-label{display:flex;align-items:center;gap:8px;margin-bottom:12px;cursor:pointer;font-size:14px;color:var(--text-primary)}.recipients-list{margin-top:12px}.add-recipient{display:flex;gap:8px;margin-bottom:12px}.add-recipient input{flex:1;padding:8px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-secondary);color:var(--text-primary)}.add-recipient button{padding:8px 16px;background:var(--accent-color);color:#fff;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500}.recipient-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:var(--bg-secondary);border-radius:6px;margin-bottom:8px;font-size:14px}.recipient-item button{background:#e74c3c;color:#fff;border:none;border-radius:4px;width:24px;height:24px;cursor:pointer;font-size:18px;line-height:1;display:flex;align-items:center;justify-content:center}.full-width{width:100%;padding:8px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-secondary);color:var(--text-primary);margin-top:8px;font-family:inherit}.btn-primary,.btn-secondary,.btn-danger{padding:10px 20px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease}.btn-secondary:disabled{opacity:.5;cursor:not-allowed}.btn-danger:disabled{opacity:.5;cursor:not-allowed}.btn-small{padding:6px 12px;font-size:12px;background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color);border-radius:4px;cursor:pointer}@media(max-width:1200px){.notifications-content{grid-template-columns:1fr}.notifications-settings{position:static}}.admin-themes{padding:24px;max-width:1400px;margin:0 auto}.create-theme-btn,.import-theme-btn{padding:12px 24px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;gap:8px}.create-theme-btn:hover,.import-theme-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.import-theme-btn{background:#6c757d;cursor:pointer}.themes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:24px}.theme-card{background:var(--bg-primary);border:2px solid var(--border-color);border-radius:12px;overflow:hidden;transition:all .3s;display:flex;flex-direction:column}.theme-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px #0000001a}.theme-card.active{border-color:var(--accent-color);box-shadow:0 0 0 3px #4a90e21a}.theme-card.default{border-left:4px solid #3498db}.theme-card.custom{border-left:4px solid #27ae60}.theme-preview{height:120px;display:flex;align-items:center;justify-content:center;position:relative}.theme-preview-content{text-align:center;color:#fff}.preview-box{width:60px;height:60px;border-radius:8px;margin:0 auto 12px;transition:transform .2s}.theme-card:hover .preview-box{transform:scale(1.1)}.preview-text{font-weight:600;font-size:16px}.theme-info{padding:20px;flex:1}.theme-info h3{margin:0 0 16px;font-size:20px;color:var(--text-primary)}.theme-colors{display:flex;flex-direction:column;gap:12px;margin-bottom:12px}.color-item{display:flex;align-items:center;gap:12px}.color-label{font-size:14px;color:var(--text-secondary);min-width:80px}.color-preview{width:32px;height:32px;border-radius:6px;border:2px solid var(--border-color);flex-shrink:0}.color-value{font-family:monospace;font-size:13px;color:var(--text-secondary)}.theme-description{font-size:14px;color:var(--text-secondary);margin:12px 0;line-height:1.5}.theme-badge{display:inline-block;padding:4px 12px;background:var(--bg-secondary);border-radius:12px;font-size:12px;color:var(--text-secondary);margin-top:8px}.theme-actions{padding:16px 20px;border-top:1px solid var(--border-color);display:flex;gap:8px;flex-wrap:wrap}.theme-actions button{flex:1;min-width:100px;padding:8px 16px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s;display:flex;align-items:center;justify-content:center;gap:6px}.apply-btn{background:var(--accent-color);color:#fff}.apply-btn:hover:not(:disabled){background:var(--accent-hover);transform:translateY(-1px)}.apply-btn:disabled{opacity:.6;cursor:not-allowed}.export-btn{background:#6c757d;color:#fff}.export-btn:hover{background:#5a6268}.form-group{margin-bottom:24px}.form-group input[type=text],.form-group textarea{width:100%;padding:12px;border:2px solid var(--border-color);border-radius:8px;font-size:16px;background:var(--bg-secondary);color:var(--text-primary);transition:border-color .2s}.form-group input[type=text]:focus,.form-group textarea:focus{outline:none;border-color:var(--accent-color)}.color-input-group{display:flex;gap:12px;align-items:center}.color-input-group input[type=color]{width:60px;height:40px;border:2px solid var(--border-color);border-radius:8px;cursor:pointer}.color-input-group input[type=text]{flex:1}.theme-preview-modal{margin-top:24px;padding:20px;background:var(--bg-secondary);border-radius:8px}.theme-preview-modal h4{margin:0 0 12px;color:var(--text-primary)}.preview-box-large{padding:24px;border-radius:8px;text-align:center;color:#fff;font-weight:600;position:relative;overflow:hidden}.preview-hover{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;transition:opacity .2s}.preview-box-large:hover .preview-hover{opacity:1}@media(max-width:768px){.themes-grid{grid-template-columns:1fr}.header-actions{width:100%;flex-direction:column}.create-theme-btn,.import-theme-btn{width:100%}}.admin-comments{padding:24px;max-width:1600px;margin:0 auto}.refresh-btn{padding:12px 24px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s}.refresh-btn:hover{background:var(--accent-hover);transform:translateY(-1px)}.comments-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:24px}.stat-card{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:20px;text-align:center}.stat-card.pending{border-left:4px solid #f39c12}.stat-card.approved{border-left:4px solid #27ae60}.stat-card.rejected{border-left:4px solid #e74c3c}.stat-card.spam{border-left:4px solid #9b59b6}.comments-filters{display:flex;gap:16px;margin-bottom:24px;padding:20px;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;flex-wrap:wrap}.filter-group{display:flex;flex-direction:column;gap:8px;min-width:150px}.filter-group label{font-weight:500;color:var(--text-primary);font-size:14px}.filter-group input,.filter-group select{padding:10px;border:2px solid var(--border-color);border-radius:8px;font-size:14px;background:var(--bg-secondary);color:var(--text-primary)}.filter-group input:focus,.filter-group select:focus{outline:none;border-color:var(--accent-color)}.bulk-actions{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;background:var(--accent-color);color:#fff;border-radius:8px;margin-bottom:24px}.bulk-actions span{font-weight:600}.bulk-buttons{display:flex;gap:8px}.bulk-buttons button{padding:8px 16px;background:#fff;color:var(--accent-color);border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.bulk-buttons button:hover{background:#ffffffe6;transform:translateY(-1px)}.bulk-buttons button.danger{color:#e74c3c}.bulk-buttons button.danger:hover{background:#fff5f5}.comments-list{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;overflow:hidden}.comments-table{width:100%;border-collapse:collapse}.comments-table th,.comments-table td{padding:16px;text-align:left;border-bottom:1px solid var(--border-color)}.comments-table th{background:var(--bg-secondary);font-weight:600;color:var(--text-primary);position:sticky;top:0;z-index:10}.comments-table tr:hover{background:var(--bg-secondary)}.comments-table tr.selected{background:#4a90e21a}.comment-text{max-width:400px;line-height:1.5;color:var(--text-primary)}.edited-badge{font-size:11px;color:var(--text-tertiary);font-style:italic;margin-left:8px}.task-link{color:var(--accent-color);cursor:pointer;text-decoration:underline}.status-badge{display:inline-block;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:500}.action-buttons button{background:none;border:none;font-size:18px;cursor:pointer;padding:6px;border-radius:4px;transition:all .2s;width:32px;height:32px;display:flex;align-items:center;justify-content:center}.action-buttons button:hover{background:var(--bg-secondary);transform:scale(1.1)}.approve-btn:hover{background:#27ae601a}.reject-btn:hover{background:#e74c3c1a}.spam-btn:hover{background:#9b59b61a}.delete-btn:hover{background:#e74c3c1a}.empty-state{padding:60px;text-align:center;color:var(--text-secondary)}@media(max-width:768px){.admin-comments{padding:16px}.comments-filters{flex-direction:column}.filter-group{width:100%}.comments-table{font-size:14px}.comments-table th,.comments-table td{padding:8px}.comment-text{max-width:200px}}.admin-tickets{padding:24px;max-width:1400px;margin:0 auto}.admin-page-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px;flex-wrap:wrap;gap:16px}.create-ticket-btn{padding:12px 24px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s}.create-ticket-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}.tickets-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px;margin-bottom:24px}.stat-card{background:var(--bg-primary);border:2px solid var(--border-color);border-radius:12px;padding:20px;text-align:center}.stat-card.open{border-color:#3498db}.stat-card.in-progress{border-color:#f39c12}.stat-card.resolved{border-color:#27ae60}.stat-card.closed{border-color:#95a5a6}.stat-value{font-size:32px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.tickets-filters{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap;align-items:flex-end}.filter-group{display:flex;flex-direction:column;gap:8px}.filter-group label{font-size:14px;font-weight:500;color:var(--text-secondary)}.filter-group select,.filter-group input{padding:10px 12px;border:2px solid var(--border-color);border-radius:8px;font-size:14px;background:var(--bg-primary);color:var(--text-primary)}.filter-group.search{flex:1;min-width:200px}.filter-group.search input{width:100%}.tickets-list{margin-top:24px}.tickets-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:20px}.ticket-card{background:var(--bg-primary);border:2px solid var(--border-color);border-radius:12px;padding:20px;cursor:pointer;transition:all .2s}.ticket-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a;border-color:var(--accent-color)}.ticket-card.selected{border-color:var(--accent-color);box-shadow:0 0 0 3px #4a90e21a}.ticket-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.ticket-id{font-family:monospace;font-size:14px;color:var(--text-secondary);font-weight:600}.ticket-priority{padding:4px 12px;border-radius:12px;color:#fff;font-size:12px;font-weight:600;text-transform:uppercase}.ticket-title{font-size:18px;font-weight:600;color:var(--text-primary);margin:0 0 8px}.ticket-description{font-size:14px;color:var(--text-secondary);margin:0 0 12px;line-height:1.5}.ticket-meta{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin-top:12px}.ticket-status{font-weight:600;text-transform:uppercase}.ticket-date{color:var(--text-secondary)}.ticket-assignee,.ticket-comments-count{font-size:12px;color:var(--text-secondary);margin-top:8px}.ticket-details-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:10001;padding:20px}.ticket-details{background:var(--bg-primary);border-radius:16px;width:100%;max-width:800px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.ticket-details-header{display:flex;justify-content:space-between;align-items:flex-start;padding:24px;border-bottom:1px solid var(--border-color)}.ticket-details-header h2{margin:0 0 12px;font-size:24px;color:var(--text-primary)}.ticket-details-meta{display:flex;gap:12px;font-size:14px}.ticket-details-meta span{padding:4px 12px;background:var(--bg-secondary);border-radius:12px;font-weight:500}.close-btn{background:none;border:none;font-size:32px;color:var(--text-secondary);cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.close-btn:hover{background:var(--bg-secondary);color:var(--text-primary)}.ticket-details-body{padding:24px}.ticket-description-full{margin-bottom:24px}.ticket-description-full h3{margin:0 0 12px;font-size:18px;color:var(--text-primary)}.ticket-description-full p{color:var(--text-secondary);line-height:1.6}.ticket-actions{display:flex;gap:12px;margin-bottom:24px;flex-wrap:wrap}.ticket-actions select{flex:1;min-width:150px;padding:10px 12px;border:2px solid var(--border-color);border-radius:8px;font-size:14px;background:var(--bg-secondary);color:var(--text-primary)}.ticket-comments-section{border-top:1px solid var(--border-color);padding-top:24px}.ticket-comments-section h3{margin:0 0 16px;font-size:18px;color:var(--text-primary)}.comments-list{margin-bottom:20px}.comment-item{background:var(--bg-secondary);border-radius:8px;padding:16px;margin-bottom:12px}.comment-author{font-weight:600;color:var(--text-primary);margin-bottom:8px}.comment-text{color:var(--text-secondary);line-height:1.5;margin-bottom:8px}.comment-date{font-size:12px;color:var(--text-tertiary)}.add-comment{display:flex;flex-direction:column;gap:12px}.add-comment textarea{width:100%;padding:12px;border:2px solid var(--border-color);border-radius:8px;font-size:14px;background:var(--bg-secondary);color:var(--text-primary);resize:vertical}.add-comment button{align-self:flex-end;padding:10px 20px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.add-comment button:hover{background:var(--accent-hover)}@media(max-width:768px){.tickets-grid,.form-row{grid-template-columns:1fr}.ticket-actions{flex-direction:column}.ticket-actions select{width:100%}}.admin-integrations{padding:24px;max-width:1400px;margin:0 auto}.integrations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(350px,1fr));gap:24px}.integration-card{background:var(--bg-primary);border:2px solid var(--border-color);border-radius:12px;padding:24px;transition:all .3s}.integration-card:hover{transform:translateY(-2px);box-shadow:0 4px 12px #0000001a}.integration-card.active{border-color:#27ae60}.integration-header{display:flex;align-items:flex-start;gap:16px;margin-bottom:16px}.integration-icon{font-size:48px;flex-shrink:0}.integration-info{flex:1}.integration-info h3{margin:0 0 4px;font-size:20px;color:var(--text-primary)}.integration-info p{margin:0;font-size:14px;color:var(--text-secondary)}.integration-status{font-size:14px;font-weight:600;padding:4px 12px;border-radius:12px;background:var(--bg-secondary)}.integration-details{margin-bottom:16px;font-size:12px;color:var(--text-secondary)}.last-test{margin-bottom:8px}.error-message{color:#e74c3c;font-size:13px}.integration-actions{display:flex;gap:12px;align-items:center}.configure-btn,.test-btn{flex:1;padding:10px 16px;border:2px solid var(--border-color);border-radius:8px;background:var(--bg-secondary);color:var(--text-primary);font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.configure-btn:hover{border-color:var(--accent-color);background:var(--accent-color);color:#fff}.test-btn:hover{border-color:#f39c12;background:#f39c12;color:#fff}.test-result{margin-top:12px;padding:12px;border-radius:8px;font-size:14px}.test-result.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.test-result.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.modal-content{background:var(--bg-primary);border-radius:16px;width:100%;max-width:600px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.form-group input{width:100%;padding:12px;border:2px solid var(--border-color);border-radius:8px;font-size:16px;background:var(--bg-secondary);color:var(--text-primary);transition:border-color .2s}.form-group input:focus{outline:none;border-color:var(--accent-color)}@media(max-width:768px){.integrations-grid,.form-row{grid-template-columns:1fr}}.admin-seo{padding:24px;max-width:1400px;margin:0 auto}.seo-tabs{margin-top:24px}.seo-section{background:var(--bg-primary);border:2px solid var(--border-color);border-radius:12px;padding:24px;margin-bottom:24px}.seo-section h2{margin:0 0 20px;font-size:24px;color:var(--text-primary)}.pages-list{margin-top:20px}.empty-state{text-align:center;padding:40px;color:var(--text-secondary)}.pages-table{overflow-x:auto}.pages-table table{width:100%;border-collapse:collapse}.pages-table th,.pages-table td{padding:12px;text-align:left;border-bottom:1px solid var(--border-color)}.pages-table th{background:var(--bg-secondary);font-weight:600;color:var(--text-primary)}.pages-table td{color:var(--text-secondary)}.pages-table code{background:var(--bg-secondary);padding:4px 8px;border-radius:4px;font-family:monospace;font-size:13px}.robots-badge{padding:4px 8px;background:var(--bg-secondary);border-radius:4px;font-size:12px;font-family:monospace}.action-buttons{display:flex;gap:8px}.edit-btn,.delete-btn{padding:6px 12px;border:none;border-radius:6px;font-size:16px;cursor:pointer;transition:all .2s}.edit-btn{background:#3498db;color:#fff}.edit-btn:hover{background:#2980b9}.delete-btn{background:#e74c3c;color:#fff}.delete-btn:hover{background:#c0392b}.sitemap-settings{display:flex;flex-direction:column;gap:16px}.setting-item{display:flex;align-items:center;gap:16px}.setting-info{flex:1}.setting-info h3{margin:0 0 4px;font-size:16px;color:var(--text-primary)}.setting-info p{margin:0;font-size:14px;color:var(--text-secondary)}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.4s;border-radius:24px}.slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.4s;border-radius:50%}.last-generated{font-size:14px;color:var(--text-secondary)}.generate-btn{padding:12px 24px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s;align-self:flex-start}.generate-btn:hover{background:var(--accent-hover);transform:translateY(-1px)}.robots-editor{display:flex;flex-direction:column;gap:12px}.robots-editor textarea{width:100%;padding:12px;border:2px solid var(--border-color);border-radius:8px;font-family:monospace;font-size:14px;background:var(--bg-secondary);color:var(--text-primary);resize:vertical;min-height:200px}.robots-editor textarea:focus{outline:none;border-color:var(--accent-color)}.schema-info{display:flex;flex-direction:column;gap:16px}.schema-info p{color:var(--text-secondary);margin:0}.schema-preview{background:var(--bg-secondary);border-radius:8px;padding:16px}.schema-preview h4{margin:0 0 12px;font-size:16px;color:var(--text-primary)}.schema-preview pre{margin:0;font-size:13px;color:var(--text-primary);overflow-x:auto}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#0009;display:flex;align-items:center;justify-content:center;z-index:10000;padding:20px}.modal-content{background:var(--bg-primary);border-radius:16px;width:100%;max-width:700px;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #0000004d}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:24px;border-bottom:1px solid var(--border-color)}.modal-header h2{margin:0;font-size:24px;color:var(--text-primary)}.modal-close{background:none;border:none;font-size:32px;color:var(--text-secondary);cursor:pointer;padding:0;width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:all .2s}.modal-close:hover{background:var(--bg-secondary);color:var(--text-primary)}.modal-body{padding:24px}.form-group label{display:block;margin-bottom:8px;font-weight:500;color:var(--text-primary)}.form-group input,.form-group textarea,.form-group select{width:100%;padding:12px;border:2px solid var(--border-color);border-radius:8px;font-size:16px;background:var(--bg-secondary);color:var(--text-primary);transition:border-color .2s}.form-group input:focus,.form-group textarea:focus,.form-group select:focus{outline:none;border-color:var(--accent-color)}.form-group small{display:block;margin-top:4px;font-size:12px;color:var(--text-secondary)}.modal-footer{display:flex;justify-content:flex-end;gap:12px;padding:24px;border-top:1px solid var(--border-color)}.cancel-btn,.save-btn{padding:12px 24px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s}.cancel-btn{background:var(--bg-secondary);color:var(--text-primary)}.cancel-btn:hover{background:var(--border-color)}.save-btn{background:var(--accent-color);color:#fff}.create-page-btn{padding:12px 24px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s}.create-page-btn:hover{transform:translateY(-2px);box-shadow:0 4px 12px #00000026}@media(max-width:768px){.pages-table{font-size:14px}.pages-table th,.pages-table td{padding:8px}}.admin-security{padding:24px;max-width:1400px;margin:0 auto}.admin-page-header{margin-bottom:32px}.admin-page-header h1{font-size:32px;font-weight:700;color:var(--text-primary);margin:0 0 8px}.admin-page-header p{color:var(--text-secondary);margin:0}.security-sections{display:flex;flex-direction:column;gap:24px}.security-section{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:24px}.security-section h2{font-size:24px;font-weight:600;color:var(--text-primary);margin:0 0 20px;padding-bottom:12px;border-bottom:2px solid var(--border-color)}.section-content{display:flex;flex-direction:column;gap:20px}.setting-item{display:flex;justify-content:space-between;align-items:center;padding:16px;background:var(--bg-secondary);border-radius:8px}.setting-info h3{font-size:18px;font-weight:600;color:var(--text-primary);margin:0 0 4px}.setting-info p{font-size:14px;color:var(--text-secondary);margin:0}.enable-btn,.disable-btn{padding:10px 20px;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s}.enable-btn{background:var(--accent-color);color:#fff}.enable-btn:hover{background:var(--accent-hover);transform:translateY(-1px)}.disable-btn{background:#e74c3c;color:#fff}.disable-btn:hover{background:#c0392b}.2fa-setup{padding:20px;background:var(--bg-secondary);border-radius:8px;border:2px dashed var(--border-color)}.2fa-setup code{background:var(--bg-primary);padding:8px 12px;border-radius:6px;font-family:monospace;font-size:14px;color:var(--accent-color)}.info-text{margin:12px 0;color:var(--text-secondary)}.qr-code-placeholder{margin-top:16px;padding:40px;background:#fff;border:2px dashed #ddd;border-radius:8px;text-align:center}.qr-code-placeholder p{font-size:16px;color:var(--text-secondary);margin:0 0 8px}.qr-code-placeholder small{font-size:12px;color:var(--text-tertiary)}.toggle-switch{position:relative;display:inline-block;width:50px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:.3s;border-radius:24px}.slider:before{position:absolute;content:"";height:18px;width:18px;left:3px;bottom:3px;background-color:#fff;transition:.3s;border-radius:50%}input:checked+.slider{background-color:var(--accent-color)}input:checked+.slider:before{transform:translate(26px)}.ip-list{margin-top:16px}.ip-input-group{display:flex;gap:12px;margin-bottom:16px}.ip-input-group input{flex:1;padding:12px;border:2px solid var(--border-color);border-radius:8px;font-size:16px;background:var(--bg-secondary);color:var(--text-primary)}.ip-input-group input:focus{outline:none;border-color:var(--accent-color)}.ip-input-group button{padding:12px 24px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s}.ip-input-group button:hover{background:var(--accent-hover)}.ip-list-items{display:flex;flex-direction:column;gap:8px}.ip-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:var(--bg-secondary);border-radius:8px}.ip-item span{font-family:monospace;font-size:14px;color:var(--text-primary)}.ip-item button{background:none;border:none;font-size:18px;cursor:pointer;padding:4px 8px;border-radius:4px;transition:background .2s}.ip-item button:hover{background:#e74c3c1a}.empty-state{text-align:center;padding:40px;color:var(--text-secondary);font-style:italic}.settings-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:20px}.setting-field{display:flex;flex-direction:column;gap:8px}.setting-field label{font-weight:500;color:var(--text-primary)}.setting-field input{padding:12px;border:2px solid var(--border-color);border-radius:8px;font-size:16px;background:var(--bg-secondary);color:var(--text-primary)}.setting-field input:focus{outline:none;border-color:var(--accent-color)}.save-btn{padding:12px 24px;background:var(--accent-color);color:#fff;border:none;border-radius:8px;font-size:16px;font-weight:500;cursor:pointer;transition:all .2s;align-self:flex-start}.save-btn:hover{background:var(--accent-hover);transform:translateY(-1px)}.login-attempts-table{overflow-x:auto}.login-attempts-table table{width:100%;border-collapse:collapse}.login-attempts-table th,.login-attempts-table td{padding:12px;text-align:left;border-bottom:1px solid var(--border-color)}.login-attempts-table th{background:var(--bg-secondary);font-weight:600;color:var(--text-primary);position:sticky;top:0}.login-attempts-table td{color:var(--text-secondary)}.status-badge{display:inline-flex;align-items:center;gap:6px;font-weight:500}.block-btn{background:#e74c3c;color:#fff;border:none;padding:6px 12px;border-radius:6px;cursor:pointer;font-size:14px;transition:background .2s}.block-btn:hover{background:#c0392b}@media(max-width:768px){.admin-security{padding:16px}.setting-item{flex-direction:column;align-items:flex-start;gap:12px}.settings-grid{grid-template-columns:1fr}.login-attempts-table{font-size:14px}}.admin-data-management{padding:24px;max-width:1200px;margin:0 auto}.data-header{margin-bottom:32px;text-align:center}.data-header h1{font-size:32px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.data-header p{font-size:16px;color:var(--text-secondary)}.status-message{padding:12px 20px;border-radius:8px;margin-bottom:24px;font-weight:500}.status-message.success{background:#d4edda;color:#155724;border:1px solid #c3e6cb}.status-message.error{background:#f8d7da;color:#721c24;border:1px solid #f5c6cb}.data-stats{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:24px;margin-bottom:32px}.data-stats h2{font-size:20px;font-weight:600;margin-bottom:20px;color:var(--text-primary)}.stats-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}.stat-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;padding:20px;text-align:center}.stat-value{font-size:32px;font-weight:700;color:var(--accent-color);margin-bottom:8px}.stat-label{font-size:14px;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px}.data-actions{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:32px}.action-card{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:24px}.action-card h2{font-size:20px;font-weight:600;margin-bottom:20px;color:var(--text-primary)}.form-group select{width:100%;padding:10px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-secondary);color:var(--text-primary);font-family:inherit;cursor:pointer}.hint{font-size:13px;color:var(--text-secondary);margin-bottom:16px;line-height:1.5}.file-input-label{display:inline-block;padding:12px 24px;background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color);border-radius:6px;cursor:pointer;text-align:center;transition:all .2s ease}.file-input-label:hover{background:var(--bg-primary)}.btn-primary,.btn-secondary,.btn-danger{padding:12px 24px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease;width:100%}.btn-danger{background:#e74c3c;color:#fff}.btn-danger:hover{background:#c0392b}.danger-zone{background:#fff3cd;border:2px solid #ffc107;border-radius:12px;padding:24px;text-align:center}.danger-zone h2{font-size:20px;font-weight:600;color:#856404;margin-bottom:8px}.danger-zone p{font-size:14px;color:#856404;margin-bottom:20px}.danger-zone .btn-danger{max-width:300px;margin:0 auto}@media(max-width:768px){.data-actions{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}}.admin-backup{padding:24px;max-width:1200px;margin:0 auto}.backup-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.backup-header h1{font-size:32px;font-weight:700;color:var(--text-primary)}.backup-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:32px}.stat-item{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;padding:20px;text-align:center}.stat-label{font-size:13px;color:var(--text-secondary);text-transform:uppercase;letter-spacing:.5px;margin-bottom:8px}.stat-value{font-size:24px;font-weight:700;color:var(--accent-color)}.backup-content{display:grid;grid-template-columns:1fr 400px;gap:24px}.backup-list{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:24px}.backup-list h2{font-size:20px;font-weight:600;margin-bottom:20px;color:var(--text-primary)}.empty-state{text-align:center;padding:60px 20px;color:var(--text-secondary)}.empty-state .hint{font-size:13px;margin-top:8px;opacity:.7}.backups-items{display:flex;flex-direction:column;gap:12px}.backup-item{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;padding:16px;display:flex;justify-content:space-between;align-items:center;transition:all .2s ease}.backup-item:hover{box-shadow:0 2px 8px #0000001a}.backup-info h3{font-size:16px;font-weight:600;color:var(--text-primary);margin:0 0 8px}.backup-meta{display:flex;gap:16px;font-size:13px;color:var(--text-secondary)}.backup-actions{display:flex;gap:8px}.backup-settings{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:24px;height:fit-content;position:sticky;top:24px}.backup-settings h2{font-size:20px;font-weight:600;margin-bottom:24px;color:var(--text-primary)}.settings-section{margin-bottom:24px}.settings-section label{display:block;font-size:14px;font-weight:500;margin-bottom:8px;color:var(--text-primary)}.settings-section select,.settings-section input[type=time],.settings-section input[type=number]{width:100%;padding:10px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-secondary);color:var(--text-primary);font-family:inherit}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:14px;color:var(--text-primary)}.checkbox-label input[type=checkbox]{width:18px;height:18px;cursor:pointer}.hint{font-size:12px;color:var(--text-secondary);margin-top:4px}.info-box{background:#e3f2fd;border:1px solid #90caf9;border-radius:8px;padding:16px;margin-top:24px}.info-box p{font-size:13px;color:#1565c0;margin:4px 0;line-height:1.5}.btn-primary,.btn-small{padding:10px 20px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease}.btn-small.btn-warning{background:#f39c12;color:#fff;border-color:#f39c12}.btn-small.btn-warning:hover{background:#e67e22}@media(max-width:1200px){.backup-content{grid-template-columns:1fr}.backup-settings{position:static}}@media(max-width:768px){.backup-stats{grid-template-columns:1fr}.backup-item{flex-direction:column;align-items:flex-start;gap:12px}.backup-actions{width:100%;flex-wrap:wrap}}.admin-subscriptions{padding:24px;max-width:1400px;margin:0 auto}.subscriptions-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.subscriptions-header h1{font-size:32px;font-weight:700;color:var(--text-primary)}.subscriptions-content{display:grid;grid-template-columns:2fr 1fr;gap:24px}.plans-section h2,.subscriptions-section h2{font-size:20px;font-weight:600;margin-bottom:20px;color:var(--text-primary)}.plans-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.plan-card{background:var(--bg-primary);border:2px solid var(--border-color);border-radius:12px;overflow:hidden;transition:all .2s ease}.plan-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.plan-card.inactive{opacity:.6}.plan-header{padding:24px;border-top:4px solid;background:var(--bg-secondary)}.plan-header h3{font-size:24px;font-weight:700;margin:0 0 12px;color:var(--text-primary)}.plan-price{font-size:32px;font-weight:700;color:var(--text-primary)}.plan-interval{font-size:16px;font-weight:400;color:var(--text-secondary)}.plan-features{padding:20px 24px}.plan-features ul{list-style:none;padding:0;margin:0}.plan-features li{padding:8px 0;color:var(--text-primary);font-size:14px}.plan-limits{padding:16px 24px;background:var(--bg-secondary);border-top:1px solid var(--border-color);display:flex;flex-direction:column;gap:8px}.limit-item{display:flex;justify-content:space-between;font-size:13px;color:var(--text-secondary)}.plan-actions{padding:16px 24px;display:flex;gap:8px;flex-wrap:wrap}.subscriptions-section{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:24px;height:fit-content;position:sticky;top:24px}.empty-state{text-align:center;padding:40px 20px;color:var(--text-secondary)}.subscriptions-list{display:flex;flex-direction:column;gap:12px}.subscription-item{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;padding:16px}.subscription-info h3{font-size:16px;font-weight:600;margin:0 0 4px;color:var(--text-primary)}.subscription-info p{font-size:13px;color:var(--text-secondary);margin:0 0 12px}.subscription-details{display:flex;gap:8px;margin-bottom:12px}.plan-badge{padding:4px 8px;background:var(--accent-color);color:#fff;border-radius:4px;font-size:12px;font-weight:500}.status-badge{padding:4px 8px;border-radius:4px;font-size:12px;font-weight:500}.status-badge.active{background:#27ae60;color:#fff}.status-badge.cancelled{background:#e74c3c;color:#fff}.status-badge.expired{background:#95a5a6;color:#fff}.subscription-dates{display:flex;flex-direction:column;gap:4px;font-size:12px;color:var(--text-secondary);margin-bottom:12px}.subscription-actions{display:flex;gap:8px}.modal-content{background:var(--bg-primary);border-radius:12px;padding:32px;max-width:600px;width:90%;max-height:90vh;overflow-y:auto}.form-group input,.form-group select{width:100%;padding:10px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-secondary);color:var(--text-primary);font-family:inherit}.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.features-list{display:flex;flex-direction:column;gap:8px}.feature-item{display:flex;justify-content:space-between;align-items:center;padding:8px 12px;background:var(--bg-secondary);border-radius:6px}.feature-item button{background:#e74c3c;color:#fff;border:none;border-radius:4px;width:24px;height:24px;cursor:pointer;font-size:18px;line-height:1}.add-feature{display:flex;gap:8px}.add-feature input{flex:1}.add-feature button{padding:10px 20px;background:var(--accent-color);color:#fff;border:none;border-radius:6px;cursor:pointer}.btn-primary:hover{background:var(--accent-hover)}@media(max-width:1200px){.subscriptions-content{grid-template-columns:1fr}.subscriptions-section{position:static}}@media(max-width:768px){.plans-grid,.form-row{grid-template-columns:1fr}}.admin-roles{padding:24px;max-width:1400px;margin:0 auto}.roles-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.roles-header h1{font-size:32px;font-weight:700;color:var(--text-primary)}.roles-content{display:grid;grid-template-columns:2fr 1fr;gap:24px}.roles-list h2,.users-roles h2{font-size:20px;font-weight:600;margin-bottom:20px;color:var(--text-primary)}.roles-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}.role-card{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:20px;border-left:4px solid}.role-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.role-header h3{font-size:20px;font-weight:600;margin:0;color:var(--text-primary)}.system-badge{padding:4px 8px;background:#e74c3c;color:#fff;border-radius:4px;font-size:11px;font-weight:500;text-transform:uppercase}.role-description{font-size:14px;color:var(--text-secondary);margin:0 0 16px;line-height:1.5}.role-stats{font-size:13px;color:var(--text-secondary);margin-bottom:16px}.role-permissions-preview{margin-bottom:16px}.role-permissions-preview strong{display:block;font-size:12px;color:var(--text-secondary);margin-bottom:8px;text-transform:uppercase}.permissions-tags{display:flex;flex-wrap:wrap;gap:6px}.permission-tag{padding:4px 8px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:4px;font-size:11px;color:var(--text-primary)}.role-actions{display:flex;gap:8px;flex-wrap:wrap}.users-roles{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;padding:24px;height:fit-content;position:sticky;top:24px}.users-list{display:flex;flex-direction:column;gap:12px}.user-role-item{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:8px;padding:16px}.user-info h3{font-size:16px;font-weight:600;margin:0 0 4px;color:var(--text-primary)}.user-info p{font-size:13px;color:var(--text-secondary);margin:0 0 8px}.current-role{display:inline-block;padding:4px 8px;background:var(--bg-primary);border:1px solid;border-radius:4px;font-size:12px;font-weight:500}.user-role-actions select{width:100%;padding:8px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-primary);color:var(--text-primary);font-family:inherit;cursor:pointer}.modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:1000}.modal-content{background:var(--bg-primary);border-radius:12px;padding:32px;max-width:700px;width:90%;max-height:90vh;overflow-y:auto}.modal-content h2{font-size:24px;font-weight:600;margin-bottom:24px;color:var(--text-primary)}.form-group{margin-bottom:20px}.form-group label{display:block;font-size:14px;font-weight:500;margin-bottom:8px;color:var(--text-primary)}.form-group input[type=text],.form-group textarea{width:100%;padding:10px 12px;border:1px solid var(--border-color);border-radius:6px;font-size:14px;background:var(--bg-secondary);color:var(--text-primary);font-family:inherit}.form-group input[type=color]{width:100%;height:40px;border:1px solid var(--border-color);border-radius:6px;cursor:pointer}.form-group input:disabled,.form-group textarea:disabled{opacity:.5;cursor:not-allowed}.permissions-section{margin-top:32px}.permissions-section h3{font-size:18px;font-weight:600;margin-bottom:20px;color:var(--text-primary)}.permission-group{margin-bottom:24px;padding:16px;background:var(--bg-secondary);border-radius:8px}.permission-group h4{font-size:14px;font-weight:600;margin:0 0 12px;color:var(--text-primary);text-transform:capitalize}.permission-options{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.checkbox-label{display:flex;align-items:center;gap:8px;cursor:pointer;font-size:13px;color:var(--text-primary)}.checkbox-label input[type=checkbox]{width:16px;height:16px;cursor:pointer}.checkbox-label input[type=checkbox]:disabled{cursor:not-allowed}.modal-actions{display:flex;gap:12px;justify-content:flex-end;margin-top:24px}.btn-primary,.btn-secondary,.btn-small,.btn-danger{padding:10px 20px;border:none;border-radius:6px;cursor:pointer;font-size:14px;font-weight:500;transition:all .2s ease}.btn-primary{background:var(--accent-color);color:#fff}.btn-primary:hover:not(:disabled){background:var(--accent-hover)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-secondary{background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}.btn-secondary:hover{background:var(--bg-primary)}.btn-small{padding:6px 12px;font-size:12px;background:var(--bg-secondary);color:var(--text-primary);border:1px solid var(--border-color)}.btn-small:hover{background:var(--bg-primary)}.btn-small.btn-danger{background:#e74c3c;color:#fff;border-color:#e74c3c}.btn-small.btn-danger:hover{background:#c0392b}@media(max-width:1200px){.roles-content{grid-template-columns:1fr}.users-roles{position:static}}@media(max-width:768px){.roles-grid,.permission-options{grid-template-columns:1fr}}.admin-error-log{padding:24px;max-width:1400px;margin:0 auto}.error-log-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:32px;gap:20px;flex-wrap:wrap}.error-log-header h1{font-size:32px;font-weight:700;color:var(--text-primary);margin-bottom:8px}.error-log-header p{font-size:16px;color:var(--text-secondary)}.header-actions{display:flex;gap:12px;align-items:center}.filter-select{padding:10px 16px;border:1px solid var(--border-color);border-radius:8px;background:var(--bg-primary);color:var(--text-primary);font-size:14px;cursor:pointer}.clear-btn{padding:10px 20px;background:#e74c3c;color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s ease}.clear-btn:hover{background:#c0392b}.error-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin-bottom:32px}.stat-card{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px;padding:24px;text-align:center}.stat-value{font-size:36px;font-weight:700;color:var(--accent-color);margin-bottom:8px}.stat-label{font-size:14px;color:var(--text-secondary)}.error-list-container{background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;overflow:hidden}.error-list{display:flex;flex-direction:column}.error-item{border-bottom:1px solid var(--border-color);padding:20px;cursor:pointer;transition:all .2s ease}.error-item:hover{background:var(--bg-secondary)}.error-item:last-child{border-bottom:none}.error-item.error-critical{border-left:4px solid #e74c3c;background:#e74c3c0d}.error-item.error-high{border-left:4px solid #f39c12;background:#f39c120d}.error-item.error-medium{border-left:4px solid #f1c40f}.error-item-header{display:flex;gap:16px;align-items:flex-start}.error-icon{font-size:24px;flex-shrink:0}.error-info{flex:1}.error-message{font-size:16px;font-weight:500;color:var(--text-primary);margin-bottom:8px;word-break:break-word}.error-meta{display:flex;gap:16px;font-size:12px;color:var(--text-secondary);flex-wrap:wrap}.error-file{font-family:monospace;background:var(--bg-secondary);padding:2px 8px;border-radius:4px}.error-details{margin-top:16px;padding-top:16px;border-top:1px solid var(--border-color)}.detail-section{margin-bottom:16px}.detail-section h4{font-size:14px;font-weight:600;color:var(--text-primary);margin-bottom:8px}.detail-section pre{background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:6px;padding:12px;font-size:12px;font-family:Courier New,monospace;color:var(--text-primary);overflow-x:auto;white-space:pre-wrap;word-break:break-word}.empty-state{text-align:center;padding:80px 20px}.empty-icon{font-size:64px;margin-bottom:16px}.empty-state h3{font-size:24px;font-weight:600;color:var(--text-primary);margin-bottom:8px}.empty-state p{font-size:16px;color:var(--text-secondary)}@media(max-width:768px){.error-log-header{flex-direction:column}.header-actions{width:100%;flex-direction:column}.filter-select,.clear-btn{width:100%}}.admin-activity-log{padding:24px}.activity-filters{display:flex;gap:16px;margin-bottom:24px;flex-wrap:wrap}.filter-group,.search-group{display:flex;flex-direction:column;gap:8px}.filter-group label{font-size:14px;color:var(--text-secondary)}.filter-group select,.search-group input{padding:10px 12px;border:1px solid var(--border-color);border-radius:8px;font-size:14px;background:var(--bg-primary);color:var(--text-primary)}.search-group input{min-width:300px}.activity-list{display:flex;flex-direction:column;gap:12px}.activity-item{display:flex;gap:16px;padding:16px;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:8px;transition:all .2s}.activity-item:hover{box-shadow:0 2px 8px #0000001a;transform:translateY(-1px)}.activity-icon{font-size:24px;flex-shrink:0}.activity-content{flex:1}.activity-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:8px}.activity-user{font-weight:600;color:var(--text-primary)}.activity-time{font-size:12px;color:var(--text-tertiary)}.activity-action{color:var(--text-secondary);margin-bottom:4px}.activity-details{font-size:12px;color:var(--text-tertiary);font-style:italic}.empty-state{text-align:center;padding:48px;color:var(--text-secondary)}@media(max-width:768px){.activity-filters{flex-direction:column}.search-group input{min-width:100%}.activity-header{flex-direction:column;align-items:flex-start;gap:4px}}.admin-performance{padding:24px}.page-header{margin-bottom:24px}.page-header h1{font-size:28px;margin-bottom:8px;color:var(--text-primary)}.page-header p{color:var(--text-secondary)}.performance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:32px}.performance-card{padding:24px;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px;text-align:center}.metric-label{font-size:14px;color:var(--text-secondary);margin-bottom:12px}.metric-value{font-size:32px;font-weight:700;margin-bottom:8px}.metric-threshold{font-size:12px;color:var(--text-tertiary)}.performance-tips{padding:24px;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:12px}.performance-tips h2{font-size:20px;margin-bottom:16px;color:var(--text-primary)}.performance-tips ul{list-style:none;padding:0;margin:0}.performance-tips li{padding:8px 0;color:var(--text-secondary);border-bottom:1px solid var(--border-color)}.performance-tips li:last-child{border-bottom:none}@media(max-width:768px){.performance-grid{grid-template-columns:1fr}}
