.admin-dashboard{background-color:#f5f5f5;min-height:100vh;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;display:flex}.admin-sidebar{color:#fff;z-index:1000;background-color:#2c3e50;flex-direction:column;width:250px;height:100vh;display:flex;position:fixed;top:0;left:0}.brand{border-bottom:1px solid #34495e;align-items:center;padding:20px;display:flex}.brand-icon{background-color:#e74c3c;border-radius:6px;justify-content:center;align-items:center;width:32px;height:32px;margin-right:10px;font-weight:700;display:flex}.admin-nav-menu{flex:1;padding:20px 0}.admin-nav-item{cursor:pointer;align-items:center;padding:12px 20px;transition:background-color .2s;display:flex}.admin-nav-item:hover{background-color:#34495e}.admin-nav-item.active{background-color:#e74c3c;border-right:3px solid #c0392b}.admin-nav-icon{margin-right:12px;font-size:16px}.admin-nav-label{font-size:14px}.admin-user-info{border-top:1px solid #34495e;padding:20px}.admin-user-avatar{align-items:center;margin-bottom:10px;display:flex}.admin-user-icon{background-color:#95a5a6;border-radius:50%;justify-content:center;align-items:center;width:40px;height:40px;margin-right:10px;display:flex}.admin-user-details{margin-bottom:15px}.admin-user-name{margin-bottom:4px;font-weight:600}.admin-user-email{color:#bdc3c7;font-size:12px}.admin-logout-btn{color:#fff;cursor:pointer;background:0 0;border:none;align-items:center;padding:8px 0;font-size:14px;display:flex}.admin-logout-icon{margin-right:8px}.admin-main-content{background-color:#fff;flex:1;min-height:100vh;margin-left:250px;padding:30px}.content-header{justify-content:space-between;align-items:center;margin-bottom:20px;display:flex}.content-header h1{color:#2c3e50;margin:0;font-size:24px;font-weight:600}.header-actions{align-items:center;gap:15px;display:flex}.search-container{position:relative}.search-input{color:#000;border:1px solid #ddd;border-radius:6px;width:250px;padding:10px 40px 10px 15px;font-size:14px}.search-icon{color:#95a5a6;position:absolute;top:22%;right:0;transform:translate(88%)}.add-btn{color:#fff;cursor:pointer;background-color:#e91e63;border:none;border-radius:6px;padding:10px 20px;font-size:14px;font-weight:500;transition:background-color .2s}.add-btn:hover{background-color:#c2185b}.note{color:#856404;background-color:#fff3cd;border:1px solid #ffeaa7;border-radius:6px;margin-bottom:20px;padding:12px;font-size:14px}.error-message{color:#721c24;background-color:#f8d7da;border:1px solid #f5c6cb;border-radius:6px;margin-bottom:20px;padding:12px}.loading{text-align:center;color:#95a5a6;padding:40px}.dashboard-stats{grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px;margin-bottom:30px;display:grid}.stat-card{background:#fff;border-radius:8px;align-items:center;padding:20px;display:flex;box-shadow:0 2px 4px rgba(0,0,0,.1)}.stat-icon{margin-right:15px;font-size:32px}.stat-info h3{color:#6c757d;margin:0 0 5px;font-size:14px}.stat-number{color:#2c3e50;margin:0;font-size:24px;font-weight:700}.dashboard-charts{grid-template-columns:repeat(auto-fit,minmax(400px,1fr));gap:20px;display:grid}.chart-card{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 4px rgba(0,0,0,.1)}.chart-card h3{color:#2c3e50;margin:0 0 15px}.chart-placeholder{color:#6c757d;background:#f8f9fa;border-radius:4px;justify-content:center;align-items:center;height:200px;display:flex}.plans-table,.users-table,.compliance-table,.messages-table{border-radius:8px;margin-bottom:20px;overflow:hidden;box-shadow:0 2px 4px rgba(0,0,0,.1)}.plans-table table,.users-table table,.compliance-table table,.messages-table table{border-collapse:collapse;width:100%}.plans-table th,.users-table th,.compliance-table th,.messages-table th{text-align:left;color:#2c3e50;background-color:#f8f9fa;border-bottom:1px solid #dee2e6;padding:15px;font-weight:600}.plans-table td,.users-table td,.compliance-table td,.messages-table td{vertical-align:middle;border-bottom:1px solid #dee2e6;padding:15px}.plans-table tr:hover,.users-table tr:hover,.compliance-table tr:hover,.messages-table tr:hover{background-color:#f8f9fa}.currency-badge{color:#212529;background-color:#ffc107;border-radius:12px;padding:4px 8px;font-size:12px;font-weight:500}.status-indicator{font-size:16px}.status-indicator.active{color:#28a745}.status-indicator.inactive{color:#dc3545}.status-badge{border-radius:12px;padding:4px 8px;font-size:12px;font-weight:500}.status-badge.published{color:#155724;background-color:#d4edda}.status-badge.draft{color:#856404;background-color:#fff3cd}.status-badge.new{color:#004085;background-color:#cce5ff}.status-badge.replied{color:#155724;background-color:#d4edda}.status-badge.closed{color:#721c24;background-color:#f8d7da}.action-buttons{gap:8px;display:flex}.edit-btn,.delete-btn,.view-btn,.reply-btn{cursor:pointer;background:0 0;border:none;border-radius:4px;padding:6px;font-size:16px;transition:background-color .2s}.edit-btn:hover{background-color:#e3f2fd}.delete-btn:hover{background-color:#ffebee}.view-btn:hover{background-color:#f3e5f5}.reply-btn:hover{background-color:#e8f5e8}.templates-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px;display:grid}.template-card{background:#fff;border-radius:8px;overflow:hidden;box-shadow:0 2px 4px rgba(0,0,0,.1)}.template-preview{background:#f8f9fa;height:200px}.template-placeholder{color:#6c757d;justify-content:center;align-items:center;height:100%;display:flex}.template-info{padding:15px}.template-info h3{color:#2c3e50;margin:0 0 5px}.template-info p{color:#6c757d;margin:0 0 10px;font-size:14px}.template-actions{gap:8px;display:flex}.pagination{justify-content:space-between;align-items:center;margin-top:20px;display:flex}.pagination-info{color:#6c757d;font-size:14px}.pagination-controls{align-items:center;gap:10px;display:flex}.pagination-btn{cursor:pointer;background-color:#f8f9fa;border:1px solid #dee2e6;border-radius:4px;padding:8px 12px;font-size:14px;transition:all .2s}.pagination-btn:hover:not(:disabled){background-color:#e9ecef}.pagination-btn:disabled{opacity:.5;cursor:not-allowed}.pagination-btn.next{color:#fff;background-color:#e91e63;border-color:#e91e63}.pagination-btn.next:hover:not(:disabled){background-color:#c2185b}.current-page{color:#2c3e50;font-weight:600}.modal-overlay{z-index:2000;background-color:rgba(0,0,0,.5);justify-content:center;align-items:center;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}.modal-content{background:#fff;border-radius:8px;width:90%;max-width:500px;max-height:90vh;overflow-y:auto}.modal-header{border-bottom:1px solid #dee2e6;justify-content:space-between;align-items:center;padding:20px;display:flex}.modal-header h2{color:#2c3e50;margin:0;font-size:20px}.modal-close{cursor:pointer;color:#6c757d;background:0 0;border:none;justify-content:center;align-items:center;width:30px;height:30px;padding:0;font-size:20px;display:flex}.plan-form{padding:20px}.form-group{margin-bottom:20px}.form-row{grid-template-columns:1fr 1fr;gap:15px;display:grid}.form-group label{color:#2c3e50;margin-bottom:6px;font-weight:500;display:block}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:6px;width:100%;padding:10px;font-size:14px;transition:border-color .2s}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#e91e63;outline:none}.form-actions{border-top:1px solid #dee2e6;justify-content:flex-end;gap:10px;margin-top:30px;padding-top:20px;display:flex}.cancel-btn{color:#6c757d;cursor:pointer;background:0 0;border:1px solid #6c757d;border-radius:6px;padding:10px 20px;font-size:14px;transition:all .2s}.cancel-btn:hover{color:#fff;background-color:#6c757d}.save-btn{color:#fff;cursor:pointer;background-color:#e91e63;border:none;border-radius:6px;padding:10px 20px;font-size:14px;font-weight:500;transition:background-color .2s}.save-btn:hover{background-color:#c2185b}.settings-sections,.profile-sections{flex-direction:column;gap:30px;display:flex}.settings-section,.profile-section{background:#fff;border-radius:8px;padding:20px;box-shadow:0 2px 4px rgba(0,0,0,.1)}.settings-section h3,.profile-section h3{color:#2c3e50;border-bottom:1px solid #dee2e6;margin:0 0 20px;padding-bottom:10px}.settings-actions,.profile-actions{justify-content:flex-end;margin-top:30px;display:flex}.access-denied{text-align:center;flex-direction:column;justify-content:center;align-items:center;height:100vh;display:flex}.access-denied h2{color:#e74c3c;margin-bottom:10px}.access-denied p{color:#6c757d}@media (max-width:768px){.admin-sidebar{width:200px}.admin-main-content{margin-left:200px;padding:20px}.content-header{flex-direction:column;align-items:flex-start;gap:15px}.header-actions{justify-content:space-between;width:100%}.search-input{width:200px}.form-row,.dashboard-stats,.dashboard-charts{grid-template-columns:1fr}}@media (max-width:480px){.admin-sidebar{width:60px}.admin-sidebar .brand span,.admin-sidebar .admin-nav-label,.admin-sidebar .admin-user-details,.admin-sidebar .admin-logout-btn span:not(.admin-logout-icon){display:none}.admin-main-content{margin-left:60px;padding:15px}.plans-table,.users-table,.compliance-table,.messages-table{overflow-x:auto}.modal-content{width:95%;margin:10px}.templates-grid{grid-template-columns:1fr}}.task-management-admin{background:#f8fafc;min-height:100vh;padding:0}.task-management-admin .content-header{color:#fff;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);border:none;border-radius:16px;justify-content:space-between;align-items:center;margin-bottom:32px;padding:32px;display:flex;box-shadow:0 4px 20px rgba(99,102,241,.15)}.task-management-admin .content-header h1{color:#fff;text-shadow:0 2px 4px rgba(0,0,0,.1);margin:0;font-size:28px;font-weight:700}.view-full-btn{color:#fff;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:rgba(255,255,255,.2);border:1px solid rgba(255,255,255,.3);border-radius:10px;align-items:center;gap:8px;padding:12px 24px;font-size:14px;font-weight:600;text-decoration:none;transition:all .3s;display:flex;box-shadow:0 4px 12px rgba(0,0,0,.1)}.view-full-btn:hover{color:#fff;background:rgba(255,255,255,.3);text-decoration:none;transform:translateY(-2px);box-shadow:0 8px 25px rgba(0,0,0,.15)}.task-stats,.task-management-admin .task-stats{justify-content:space-between;align-items:stretch;gap:16px;width:100%;margin-bottom:24px;flex-flow:row!important;display:flex!important}.task-stats .stat-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;flex:1;min-width:200px;padding:20px;transition:all .3s;position:relative;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,.1),0 1px 2px rgba(0,0,0,.06)}.task-management-admin .task-stats .stat-card{text-align:center;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:10px;flex:1 1 0;justify-content:center;width:calc(25% - 9px);min-width:0;max-width:none;min-height:80px;padding:16px 12px;transition:all .3s;position:relative;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.06);flex-direction:column!important;display:flex!important}.task-stats .stat-card:hover{border-color:rgba(99,102,241,.2);transform:translateY(-2px);box-shadow:0 4px 15px rgba(0,0,0,.1)}.recent-projects{-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#fff;border:1px solid rgba(255,255,255,.8);border-radius:20px;padding:32px;box-shadow:0 8px 32px rgba(0,0,0,.08)}.recent-projects h3{color:#1f2937;margin:0 0 24px;padding-bottom:12px;font-size:22px;font-weight:700;position:relative}.recent-projects h3:after{content:"";background:linear-gradient(90deg,#6366f1,#8b5cf6);border-radius:2px;width:60px;height:3px;position:absolute;bottom:0;left:0}.projects-table{box-shadow:none;background:0 0;border-radius:0;margin-bottom:0;overflow:visible}.projects-table table{border-collapse:collapse;background:linear-gradient(135deg,#fafbff 0%,#f8fafc 100%);border:1px solid rgba(255,255,255,.8);border-radius:16px;width:100%;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.06)}.projects-table th{text-align:left;color:#fff;text-transform:uppercase;letter-spacing:1px;text-shadow:0 1px 2px rgba(0,0,0,.1);background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);border-bottom:none;padding:16px 20px;font-size:13px;font-weight:700}.projects-table td{vertical-align:middle;color:#374151;background:rgba(255,255,255,.7);border-bottom:1px solid rgba(99,102,241,.1);padding:20px}.projects-table tr:hover td{background:rgba(99,102,241,.05);transition:all .2s;transform:scale(1.01)}.projects-table tr:last-child td{border-bottom:none}.project-name-cell{flex-direction:column;gap:6px;display:flex}.project-name-cell strong{color:#1f2937;background:linear-gradient(135deg,#6366f1,#8b5cf6);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;font-size:16px;font-weight:700}.project-description{color:#6b7280;background:rgba(99,102,241,.05);border-left:3px solid #6366f1;border-radius:6px;padding:4px 8px;font-size:13px;font-style:italic;line-height:1.5}.status-badge{color:#fff;text-transform:capitalize;letter-spacing:.5px;border-radius:20px;align-items:center;padding:6px 14px;font-size:12px;font-weight:700;display:inline-flex;position:relative;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.15)}.status-badge:before{content:"";background:linear-gradient(90deg,transparent,rgba(255,255,255,.3),transparent);width:100%;height:100%;transition:left .5s;position:absolute;top:0;left:-100%}.status-badge:hover:before{left:100%}.action-buttons{align-items:center;gap:8px;display:flex}.view-btn,.edit-btn{cursor:pointer;color:#6366f1;background:linear-gradient(135deg,#f8fafc 0%,#e2e8f0 100%);border:1px solid rgba(99,102,241,.2);border-radius:10px;justify-content:center;align-items:center;width:40px;height:40px;padding:10px;font-size:16px;text-decoration:none;transition:all .3s;display:flex;position:relative;overflow:hidden;box-shadow:0 2px 8px rgba(0,0,0,.1)}.view-btn:before,.edit-btn:before{content:"";background:linear-gradient(90deg,transparent,rgba(255,255,255,.4),transparent);width:100%;height:100%;transition:left .5s;position:absolute;top:0;left:-100%}.view-btn:hover,.edit-btn:hover{color:#fff;background:linear-gradient(135deg,#6366f1 0%,#8b5cf6 100%);text-decoration:none;transform:translateY(-2px)scale(1.05);box-shadow:0 8px 25px rgba(99,102,241,.3)}.view-btn:hover:before,.edit-btn:hover:before{left:100%}.no-projects{text-align:center;color:#6b7280;background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:60px 20px}.no-projects h3{color:#374151;margin-bottom:8px;font-size:18px;font-weight:600}.no-projects p{color:#2c3e50;margin:0;font-size:14px}.task-management-admin .loading{text-align:center;color:#6b7280;background:linear-gradient(135deg,#fafbff 0%,#f8fafc 100%);border:1px solid rgba(99,102,241,.1);border-radius:20px;padding:80px;font-size:18px;font-weight:500;position:relative;overflow:hidden;box-shadow:0 8px 32px rgba(0,0,0,.08)}.task-management-admin .loading:before{content:"";background:linear-gradient(90deg,transparent,rgba(99,102,241,.1),transparent);width:100%;height:100%;animation:2s infinite shimmer;position:absolute;top:0;left:-100%}@keyframes shimmer{0%{left:-100%}to{left:100%}}.task-management-admin .error-message{color:#991b1b;background:linear-gradient(135deg,#fef2f2 0%,#fee2e2 100%);border:1px solid #fca5a5;border-left:4px solid #dc2626;border-radius:12px;margin-bottom:24px;padding:20px;font-size:15px;font-weight:500;box-shadow:0 4px 12px rgba(220,38,38,.1)}@media (max-width:1024px){.task-stats,.task-management-admin .task-stats{gap:10px;overflow-x:auto;flex-flow:row!important;display:flex!important}.task-stats .stat-card,.task-management-admin .task-stats .stat-card{flex:1 0;min-width:120px;min-height:70px;padding:12px 8px}.task-stats .stat-card .stat-info h3{font-size:9px}.task-stats .stat-card .stat-number{font-size:20px}}@media (max-width:768px){.task-management-admin .content-header{flex-direction:column;align-items:stretch;gap:16px}.task-stats,.task-management-admin .task-stats{gap:8px;overflow-x:auto;flex-flow:row!important;display:flex!important}.task-stats .stat-card,.task-management-admin .task-stats .stat-card{flex:1 0;min-width:100px;min-height:65px;padding:10px 6px}.task-stats .stat-card .stat-icon{margin-bottom:4px;font-size:16px}.task-stats .stat-card .stat-info h3{margin-bottom:2px;font-size:8px}.task-stats .stat-card .stat-number{font-size:18px}.projects-table{overflow-x:auto}.projects-table table{min-width:600px}}@media (max-width:480px){.task-stats,.task-management-admin .task-stats{gap:6px;overflow-x:auto;flex-flow:row!important;display:flex!important}.task-stats .stat-card,.task-management-admin .task-stats .stat-card{flex:1 0;min-width:80px;min-height:60px;padding:8px 4px}.task-stats .stat-card .stat-icon{margin-bottom:3px;font-size:14px}.task-stats .stat-card .stat-info h3{margin-bottom:2px;font-size:7px}.task-stats .stat-card .stat-number{font-size:16px}.recent-projects{padding:16px}.projects-table th,.projects-table td{padding:12px 8px;font-size:12px}}.task-stats .stat-card .stat-icon{filter:drop-shadow(0 1px 2px rgba(0,0,0,.1));margin-bottom:6px;font-size:20px;display:block}.task-stats .stat-card .stat-info{text-align:center}.task-stats .stat-card .stat-info h3{color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin:0 0 4px;font-size:10px;font-weight:600;line-height:1.2}.task-stats .stat-card .stat-number{color:#1f2937;background:linear-gradient(135deg,#6366f1,#8b5cf6);-webkit-text-fill-color:transparent;-webkit-background-clip:text;background-clip:text;margin:0;font-size:24px;font-weight:800;line-height:1}.task-stats .stat-card:before{content:"";background:linear-gradient(90deg,#6366f1,#8b5cf6);height:3px;position:absolute;top:0;left:0;right:0}.task-stats .stat-card.projects:before{background:linear-gradient(90deg,#3b82f6,#1d4ed8)}.task-stats .stat-card.active:before{background:linear-gradient(90deg,#10b981,#059669)}.task-stats .stat-card.tasks:before{background:linear-gradient(90deg,#f59e0b,#d97706)}.task-stats .stat-card.completed:before{background:linear-gradient(90deg,#8b5cf6,#7c3aed)}.task-stats .stat-card:hover{transform:translateY(-2px);box-shadow:0 4px 6px rgba(0,0,0,.1),0 2px 4px rgba(0,0,0,.06)}.task-stats .stat-header{justify-content:space-between;align-items:center;margin-bottom:16px;display:flex}.task-stats .stat-icon-wrapper{background:#6366f1;border-radius:10px;justify-content:center;align-items:center;width:44px;height:44px;display:flex}.task-stats .stat-card.projects .stat-icon-wrapper{background:#3b82f6}.task-stats .stat-card.active .stat-icon-wrapper{background:#10b981}.task-stats .stat-card.tasks .stat-icon-wrapper{background:#f59e0b}.task-stats .stat-card.completed .stat-icon-wrapper{background:#8b5cf6}.task-stats .stat-icon{filter:brightness(0)invert();font-size:20px}.task-stats .stat-trend{border-radius:20px;align-items:center;gap:4px;padding:4px 8px;font-size:12px;font-weight:600;display:flex}.task-stats .stat-trend.positive{color:#10b981;background:rgba(16,185,129,.1)}.task-stats .stat-trend.neutral{color:#6b7280;background:rgba(107,114,128,.1)}.task-stats .trend-icon{font-size:14px}.task-stats .stat-content{text-align:left}.task-stats .stat-title{color:#6b7280;text-transform:uppercase;letter-spacing:.5px;margin:0 0 8px;font-size:14px;font-weight:500}.task-stats .stat-number{color:#1f2937;margin:0 0 4px;font-size:32px;font-weight:700;line-height:1}.task-stats .stat-subtitle{color:#9ca3af;margin:0;font-size:14px}
