:root{--primary:#2D3436;--primary-light:#636E72;--primary-dark:#000000;--secondary:#74B9FF;--accent:#FF6348;--accent-light:#FF7675;--accent-secondary:#74B9FF;--text-dark:#2D3436;--text-light:#FFFFFF;--text-muted:#636E72;--bg-dark:#DFE6E9;--bg-medium:#F8F9FA;--bg-light:#FFFFFF;--bg-gradient:linear-gradient(135deg,#FFFFFF 0%,#F1F3F5 50%,#E9ECEF 100%);--border:#DEE2E6;--border-light:#E9ECEF;--shadow:0 2px 8px rgba(0,0,0,0.08);--shadow-medium:0 4px 12px rgba(0,0,0,0.1);--shadow-heavy:0 8px 24px rgba(0,0,0,0.15);--gradient-metal:linear-gradient(135deg,#FFFFFF 0%,#F8F9FA 50%,#F1F3F5 100%);--gradient-accent:linear-gradient(135deg,#FF6348 0%,#FF7675 100%);--card-gradient:linear-gradient(180deg,#FFFFFF 0%,#FEFEFE 100%);--transition:all 0.2s ease;--border-radius:12px;--border-radius-large:16px}

*{font-family:'Inter','Segoe UI','Roboto',sans-serif;box-sizing:border-box;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
html{scroll-behavior:smooth}
body{background:var(--bg-gradient);min-height:100vh;margin:0;padding:0;color:var(--text-dark);overflow-x:hidden;font-size:15px;line-height:1.6}

.orbitron{font-family:'Poppins','Inter',sans-serif;font-weight:600}
.fade-in{opacity:1}
.text-accent{color:var(--accent)}
.bg-gradient-dark{background:var(--gradient-metal)}
.border-accent{border-color:var(--accent) !important}
.main-content{margin-left:0;margin-top:5px !important;padding:1.5rem}

.page-header{background:var(--bg-light);color:var(--text-dark);border-radius:var(--border-radius-large);padding:2rem;margin-bottom:2rem;border:1px solid var(--border);box-shadow:var(--shadow-medium);position:relative;overflow:hidden}
.page-header::before{content:'';position:absolute;top:0;right:0;width:150px;height:100%;background:linear-gradient(120deg,transparent 0%,rgba(255,99,72,0.03) 100%);pointer-events:none}
.page-header h1{margin:0;font-weight:700;font-size:2.25rem;color:var(--text-dark);letter-spacing:-0.5px;word-break:break-word}
.page-header p{margin:0.75rem 0 0;color:var(--text-muted);font-size:1.1rem;font-weight:400}

.card{border:1px solid var(--border-light);border-radius:var(--border-radius-large);background:var(--card-gradient);box-shadow:var(--shadow);transition:var(--transition);overflow:hidden;position:relative;margin-bottom:1.5rem}
.card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--gradient-accent)}
.card:hover{transform:translateY(-2px);box-shadow:var(--shadow-heavy);border-color:var(--accent-light)}
.card-header{background:linear-gradient(180deg,#F8F9FA 0%,#F1F3F5 100%);border-bottom:1px solid var(--border);padding:1.25rem 1.5rem;font-weight:600;color:var(--text-dark);font-size:1rem;letter-spacing:-0.2px}
.card-body{padding:1.5rem;font-size:0.95rem}

.table-container{background:var(--bg-light);border-radius:var(--border-radius-large);box-shadow:var(--shadow-medium);border:1px solid var(--border-light);margin-bottom:2rem;overflow:hidden;position:relative}
.table-container::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--gradient-accent)}
.table-header{background:linear-gradient(180deg,#F8F9FA 0%,#F1F3F5 100%);color:var(--text-dark);padding:1.25rem 1.5rem;border-bottom:1px solid var(--border)}
.table-header h3{margin:0;font-weight:600;font-size:1.15rem;letter-spacing:-0.2px}

.table{margin:0;border-collapse:collapse;width:100%;font-size:0.9rem}
.table thead th{background:linear-gradient(180deg,#F8F9FA 0%,#F1F3F5 100%);color:var(--text-dark);font-weight:600;font-size:0.85rem;letter-spacing:0.3px;text-align:center;padding:1rem 0.75rem;border:none;border-bottom:2px solid var(--border);white-space:nowrap}
.table tbody tr{text-align:center;transition:var(--transition);font-size:0.9rem;font-weight:400;border-bottom:1px solid var(--border-light)}
.table tbody tr:hover{background:linear-gradient(90deg,rgba(255,99,72,0.02) 0%,rgba(255,118,117,0.02) 100%)}
.table tbody td{border:none;vertical-align:middle;padding:0.875rem 0.75rem;word-break:break-word;color:var(--text-dark)}
.table-striped tbody tr:nth-of-type(odd){background:linear-gradient(180deg,#FAFBFC 0%,#F8F9FA 100%)}

.btn{border-radius:var(--border-radius);padding:0.75rem 1.5rem;font-weight:500;transition:var(--transition);border:1px solid transparent;position:relative;overflow:hidden;font-size:0.9rem;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;white-space:nowrap;letter-spacing:-0.1px}
.btn:hover{transform:translateY(-1px);box-shadow:var(--shadow-medium)}
.btn-primary{background:var(--gradient-accent);color:var(--text-light);border-color:var(--accent)}
.btn-primary:hover{background:linear-gradient(135deg,#FF7675 0%,#FF8584 100%);box-shadow:0 4px 12px rgba(255,99,72,0.3)}
.btn-success{background:linear-gradient(135deg,#00B894 0%,#00CCA3 100%);color:white;border-color:#00B894}
.btn-success:hover{background:linear-gradient(135deg,#00A383 0%,#00B894 100%);box-shadow:0 4px 12px rgba(0,184,148,0.3)}
.btn-warning{background:linear-gradient(135deg,#FDCB6E 0%,#FED766 100%);color:var(--text-dark);border-color:#FDCB6E;font-weight:500}
.btn-warning:hover{background:linear-gradient(135deg,#F4BB5C 0%,#FDCB6E 100%);box-shadow:0 4px 12px rgba(253,203,110,0.3)}
.btn-danger{background:linear-gradient(135deg,#D63031 0%,#E84749 100%);color:white;border-color:#D63031}
.btn-danger:hover{background:linear-gradient(135deg,#C72829 0%,#D63031 100%);box-shadow:0 4px 12px rgba(214,48,49,0.3)}
.btn-secondary{background:linear-gradient(135deg,#B2BEC3 0%,#C7D1D8 100%);color:var(--text-dark);border-color:#B2BEC3;font-weight:500}
.btn-secondary:hover{background:linear-gradient(135deg,#A6B1B8 0%,#B2BEC3 100%);box-shadow:0 4px 12px rgba(178,190,195,0.3)}
.btn-sm{padding:0.5rem 1rem;font-size:0.8rem;border-radius:10px}

.form-control,.form-select{border-radius:var(--border-radius);border:1px solid var(--border);padding:0.75rem 1rem;transition:var(--transition);background:var(--bg-light);font-weight:400;font-size:0.9rem;color:var(--text-dark)}
.form-control:focus,.form-select:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(255,99,72,0.1);background:var(--bg-light);outline:none}
.form-control::placeholder{color:var(--text-muted);opacity:0.6}
.form-label{font-weight:500;color:var(--text-dark);margin-bottom:0.5rem;font-size:0.875rem;letter-spacing:-0.1px}

.login-form{display:flex;flex-direction:column;gap:1rem}
.login-form .form-control{background:rgba(255,255,255,0.95);border:1px solid var(--border-light);color:var(--text-dark);padding:0.75rem 1rem;border-radius:var(--border-radius);font-size:0.9rem}
.login-form .form-control::placeholder{color:var(--text-muted);opacity:0.6}
.login-form .form-control:focus{background:var(--bg-light);border-color:var(--accent);box-shadow:0 0 0 3px rgba(255,99,72,0.1);color:var(--text-dark)}

.alert{border:none;border-radius:var(--border-radius-large);padding:1rem 1.25rem;border-left:4px solid;margin-bottom:1.5rem;box-shadow:var(--shadow);font-weight:400;font-size:0.9rem}
.alert-success{background:linear-gradient(135deg,#E8F8F5 0%,#D5F4E6 100%);color:#00704A;border-left-color:#00B894}
.alert-danger{background:linear-gradient(135deg,#FFE8E8 0%,#FFD7D7 100%);color:#8C1C1C;border-left-color:#D63031}
.alert-warning{background:linear-gradient(135deg,#FFF9E6 0%,#FFF4CC 100%);color:#8C6B1F;border-left-color:#FDCB6E}
.alert-info{background:linear-gradient(135deg,#E3F2FD 0%,#D1E9FF 100%);color:#1565C0;border-left-color:#74B9FF}

.modal-content{border:1px solid var(--border-light);border-radius:var(--border-radius-large);background:var(--bg-light);box-shadow:var(--shadow-heavy)}
.modal-header{border-bottom:1px solid var(--border);border-radius:var(--border-radius-large) var(--border-radius-large) 0 0;background:linear-gradient(180deg,#F8F9FA 0%,#F1F3F5 100%);color:var(--text-dark);padding:1.25rem 1.5rem}
.modal-header h5{font-weight:600;font-size:1.15rem;margin:0;letter-spacing:-0.2px}
.modal-body{padding:1.5rem;font-size:0.95rem}
.modal-footer{border-top:1px solid var(--border);padding:1rem 1.5rem;background:linear-gradient(180deg,#FAFBFC 0%,#F8F9FA 100%);border-radius:0 0 var(--border-radius-large) var(--border-radius-large)}

.badge{padding:0.4rem 0.75rem;border-radius:20px;font-weight:500;font-size:0.75rem;letter-spacing:0.2px}

.stats-card{background:var(--card-gradient);border-radius:var(--border-radius-large);padding:1.75rem;text-align:center;border:1px solid var(--border-light);box-shadow:var(--shadow-medium);transition:var(--transition);position:relative;overflow:hidden;margin-bottom:1.5rem}
.stats-card::before{content:'';position:absolute;top:0;left:0;right:0;height:4px;background:var(--gradient-accent)}
.stats-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-heavy);border-color:var(--accent-light)}
.stats-card .stats-icon{font-size:2.5rem;margin-bottom:1rem;color:var(--accent);font-weight:600}
.stats-card .stats-number{font-size:2.25rem;font-weight:700;color:var(--text-dark);margin-bottom:0.5rem;letter-spacing:-1px}
.stats-card .stats-label{color:var(--text-muted);font-weight:500;font-size:0.875rem;letter-spacing:0.2px}

.logo-container{position:relative;width:40px;height:40px;border-radius:var(--border-radius);background:var(--bg-light);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:var(--transition);border:1px solid var(--border-light)}
.logo-container:hover{background:var(--accent);border-color:var(--accent);transform:scale(1.03)}
.logo-container img{width:100%;height:100%;object-fit:contain;border-radius:10px}
.logo-container i{font-size:1.25rem;color:var(--text-dark)}
.logo-marque{width:40px;height:40px;object-fit:contain;border-radius:var(--border-radius);box-shadow:var(--shadow);border:1px solid var(--border-light)}

::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-track{background:var(--bg-medium)}
::-webkit-scrollbar-thumb{background:var(--gradient-accent);border-radius:4px}
::-webkit-scrollbar-thumb:hover{background:linear-gradient(135deg,var(--accent-light) 0%,var(--accent) 100%)}

.navbar-enhanced{background:var(--bg-light) !important;box-shadow:0 2px 12px rgba(0,0,0,0.08);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:1000;padding:0.75rem 0}
.navbar-brand{font-family:'Poppins','Inter',sans-serif !important;font-weight:600 !important;font-size:1.5rem !important;color:var(--text-dark) !important;letter-spacing:-0.5px;transition:var(--transition);position:relative;z-index:2;padding:0.25rem 0}
.navbar-brand:hover{color:var(--accent) !important}
.navbar-brand img{width:40px;height:40px;margin-right:12px;border-radius:var(--border-radius)}
.navbar-nav{gap:0.25rem}
.navbar-nav .nav-link{color:var(--text-dark) !important;font-weight:500 !important;font-size:0.9rem;padding:0.625rem 1rem !important;margin:0 0.15rem;border-radius:var(--border-radius);transition:var(--transition);position:relative;white-space:nowrap}
.navbar-nav .nav-link:hover{color:var(--accent) !important;background:rgba(255,99,72,0.05)}
.navbar-nav .nav-link.active{background:var(--gradient-accent) !important;color:white !important;box-shadow:0 2px 8px rgba(255,99,72,0.25)}
.navbar-nav .nav-link i{margin-right:6px;font-size:1rem}

.dropdown-menu{background:var(--bg-light) !important;border:1px solid var(--border) !important;border-radius:var(--border-radius-large) !important;box-shadow:var(--shadow-heavy) !important;margin-top:0.5rem !important;overflow:visible !important;white-space:nowrap !important;padding:0.5rem !important}
.dropdown-item{color:var(--text-dark) !important;font-weight:500 !important;font-size:0.875rem;padding:0.625rem 1rem !important;transition:var(--transition);border-radius:var(--border-radius);margin:0.15rem 0}
.dropdown-item:hover{background:rgba(255,99,72,0.08) !important;color:var(--accent) !important}
.dropdown-item.active{background:var(--gradient-accent) !important;color:white !important}
.dropdown-item i{margin-right:8px;width:16px;text-align:center;opacity:0.8}
.dropdown-divider{border-color:var(--border) !important;margin:0.5rem 0 !important}

.user-profile{position:relative;cursor:pointer}
.user-avatar{width:40px;height:40px;background:var(--gradient-accent);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:600;font-size:1rem;color:white;transition:var(--transition);border:2px solid var(--border-light);box-shadow:var(--shadow);cursor:pointer}
.user-avatar:hover{transform:scale(1.03);box-shadow:var(--shadow-medium)}
.user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.user-name{color:var(--text-dark);font-weight:500;margin-left:10px;font-size:0.95rem}

.navbar-toggler{border:1px solid var(--border) !important;border-radius:var(--border-radius) !important;padding:0.5rem 0.75rem !important;transition:var(--transition);box-shadow:none !important}
.navbar-toggler:hover{background:var(--bg-medium);transform:scale(1.02)}
.navbar-toggler:focus{box-shadow:none !important}
.navbar-toggler-icon{background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2845,52,54,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='m4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;width:22px;height:22px}

.btn-login{background:var(--gradient-accent) !important;border:1px solid var(--accent) !important;color:white !important;font-weight:500 !important;font-size:0.9rem;padding:0.625rem 1.25rem !important;border-radius:var(--border-radius) !important;transition:var(--transition)}
.btn-login:hover{background:linear-gradient(135deg,var(--accent-light) 0%,var(--accent) 100%) !important;box-shadow:0 4px 12px rgba(255,99,72,0.25) !important}

.footer{background:linear-gradient(180deg,#F8F9FA 0%,#F1F3F5 100%);color:var(--text-dark);padding:2.5rem 0 1.5rem;margin-top:3rem;border-top:1px solid var(--border)}
.footer h5{color:var(--accent);font-weight:600;font-size:1rem;margin-bottom:1rem;letter-spacing:-0.2px}
.footer p,.footer a{color:var(--text-muted);transition:var(--transition);font-size:0.875rem}
.footer a:hover{color:var(--accent)}
.footer ul{padding-left:0}
.footer li{margin-bottom:0.5rem}

.table-responsive{border-radius:var(--border-radius-large);overflow:hidden}

@media (min-width:1200px){body{font-size:16px}.page-header h1{font-size:2.5rem}.page-header p{font-size:1.2rem}.navbar-brand{font-size:1.65rem !important}.table{font-size:0.95rem}.table thead th{font-size:0.9rem}.table tbody tr{font-size:0.95rem}.btn{font-size:0.95rem;padding:0.8rem 1.6rem}.form-control,.form-select{font-size:0.95rem;padding:0.8rem 1.1rem}.stats-card .stats-icon{font-size:2.75rem}.stats-card .stats-number{font-size:2.5rem}.stats-card .stats-label{font-size:0.925rem}}

@media (max-width:1199.98px){.navbar-brand{font-size:1.3rem !important;letter-spacing:-0.3px}.navbar-brand img{width:36px;height:36px;margin-right:10px}.navbar-nav .nav-link{font-size:0.85rem;padding:0.5rem 0.875rem !important}.page-header h1{font-size:2rem;letter-spacing:-0.3px}.stats-card .stats-icon{font-size:2.25rem}.stats-card .stats-number{font-size:2rem}}

@media (max-width:991.98px){.navbar-enhanced{padding:0.5rem 0}.navbar-brand{font-size:1.2rem !important}.navbar-brand img{width:34px;height:34px}.navbar-nav{width:100%;margin-top:0.75rem}.navbar-nav .nav-link{margin:0.15rem 0;padding:0.75rem 1rem !important;border-radius:var(--border-radius);background:var(--bg-medium);border:1px solid var(--border-light)}.dropdown-menu{position:static !important;transform:none !important;border:none !important;box-shadow:none !important;background:var(--bg-medium) !important;margin:0.25rem 0 !important;border-radius:var(--border-radius) !important}.dropdown-item{background:transparent !important;margin:0.1rem 0;border-radius:var(--border-radius);padding:0.625rem 1rem !important}.user-profile{margin-top:0.75rem;padding:0.75rem;background:var(--bg-medium);border-radius:var(--border-radius);border:1px solid var(--border-light)}.user-name{font-size:0.9rem;margin-left:10px}.user-avatar{width:36px;height:36px;font-size:0.9rem}.main-content{padding:1rem}.page-header{padding:1.25rem;margin-bottom:1.5rem}.page-header h1{font-size:1.75rem;letter-spacing:-0.3px}.card-header{padding:1rem}.card-body{padding:1rem}.table-header{padding:1rem}.table{font-size:0.825rem}.table thead th{padding:0.75rem 0.5rem;font-size:0.775rem}.table tbody td{padding:0.625rem 0.5rem}.btn{padding:0.625rem 1.125rem;font-size:0.825rem}.btn-sm{padding:0.4rem 0.75rem;font-size:0.775rem}.stats-card{padding:1.25rem}.stats-card .stats-icon{font-size:2.1rem;margin-bottom:0.875rem}.stats-card .stats-number{font-size:1.875rem;margin-bottom:0.5rem}.stats-card .stats-label{font-size:0.8rem}.modal-header{padding:1.125rem 1.25rem}.modal-body{padding:1.25rem}.modal-footer{padding:1rem 1.25rem}.footer{padding:2rem 0 1rem}.footer h5{font-size:0.95rem;margin-bottom:0.875rem}.footer p,.footer a{font-size:0.85rem}.footer-bottom{font-size:0.825rem;padding-top:1rem;margin-top:1rem}}

@media (max-width:767.98px){.navbar-brand{font-size:1.1rem !important}.navbar-brand img{width:32px;height:32px;margin-right:8px}.main-content{padding:0.75rem}.page-header{padding:1rem;margin-bottom:1.25rem}.page-header h1{font-size:1.5rem}.page-header p{font-size:0.95rem}.card-header{padding:0.875rem;font-size:0.875rem}.card-body{padding:0.875rem}.table{font-size:0.775rem}.table thead th{padding:0.625rem 0.375rem;font-size:0.725rem;letter-spacing:0.1px}.table tbody td{padding:0.5rem 0.375rem;font-size:0.775rem}.btn{padding:0.5rem 1rem;font-size:0.8rem;letter-spacing:0px}.btn-sm{padding:0.35rem 0.625rem;font-size:0.725rem}.form-control,.form-select{padding:0.625rem 0.875rem;font-size:0.875rem}.form-label{font-size:0.8rem;margin-bottom:0.4rem}.stats-card{padding:1rem}.stats-card .stats-icon{font-size:1.875rem;margin-bottom:0.75rem}.stats-card .stats-number{font-size:1.625rem;margin-bottom:0.4rem}.stats-card .stats-label{font-size:0.75rem}.alert{padding:0.875rem 1rem;font-size:0.875rem}.modal-header{padding:1rem}.modal-body{padding:1rem}.modal-footer{padding:0.875rem 1rem}.user-avatar{width:34px;height:34px;font-size:0.875rem}.user-name{font-size:0.875rem;margin-left:8px}.footer{padding:1.5rem 0 0.75rem}.footer h5{font-size:0.9rem;margin-bottom:0.75rem}.footer p,.footer a{font-size:0.825rem}.footer li{margin-bottom:0.35rem}.footer-bottom{font-size:0.8rem;padding-top:0.875rem;margin-top:0.875rem}}

@media (max-width:575.98px){.navbar-brand{font-size:1rem !important}.navbar-brand img{width:28px;height:28px}.main-content{padding:0.5rem}.page-header{padding:0.875rem;margin-bottom:1rem}.page-header h1{font-size:1.35rem;letter-spacing:-0.2px}.page-header p{font-size:0.9rem}.card-header{padding:0.75rem;font-size:0.825rem}.card-body{padding:0.75rem}.table{font-size:0.725rem}.table thead th{padding:0.5rem 0.25rem;font-size:0.675rem}.table tbody td{padding:0.45rem 0.25rem;font-size:0.725rem}.btn{padding:0.45rem 0.875rem;font-size:0.75rem}.btn-sm{padding:0.3rem 0.5rem;font-size:0.675rem}.form-control,.form-select{padding:0.5rem 0.75rem;font-size:0.85rem}.stats-card{padding:0.875rem}.stats-card .stats-icon{font-size:1.625rem;margin-bottom:0.625rem}.stats-card .stats-number{font-size:1.375rem;margin-bottom:0.35rem}.stats-card .stats-label{font-size:0.7rem}.user-avatar{width:32px;height:32px;font-size:0.85rem}.user-name{font-size:0.85rem;margin-left:6px}.footer{padding:1.25rem 0 0.625rem}.footer h5{font-size:0.875rem;margin-bottom:0.625rem}.footer p,.footer a{font-size:0.8rem}.footer-bottom{font-size:0.775rem;padding-top:0.75rem;margin-top:0.75rem}}

.container,.container-fluid{padding-left:1rem;padding-right:1rem}
@media (min-width:576px){.container{padding-left:1.5rem;padding-right:1.5rem}}
@media (min-width:768px){.container{padding-left:2rem;padding-right:2rem}}

.table-responsive{margin:0;border-radius:var(--border-radius-large)}
.overflow-auto{border-radius:var(--border-radius)}
.d-none{display:none !important}
.d-block{display:block !important}
@media (max-width:767.98px){.d-md-none{display:none !important}.d-md-block{display:block !important}}
@media (max-width:575.98px){.d-sm-none{display:none !important}.d-sm-block{display:block !important}}

.text-truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.navbar-collapse{background:var(--bg-light);border-radius:0 0 var(--border-radius-large) var(--border-radius-large);margin-top:0.5rem;border-top:1px solid var(--border)}
@media (min-width:992px){.navbar-collapse{background:transparent;border:none;margin-top:0}}

.navbar-nav .dropdown-menu{max-height:400px;overflow-y:auto}
.table-container .table-responsive{border-radius:0}
.table-container .table{border-radius:0}
.navbar-toggler:active,.navbar-toggler:focus{outline:none;box-shadow:none !important}

.mobile-table{display:block;width:100%}
.mobile-table thead{display:none}
.mobile-table tbody{display:block}
.mobile-table tr{display:block;border:1px solid var(--border-light);margin-bottom:0.75rem;border-radius:var(--border-radius-large);background:var(--bg-light);box-shadow:var(--shadow);padding:1rem}
.mobile-table td{display:block;text-align:left;padding:0.5rem 0;border:none;position:relative;padding-left:130px}
.mobile-table td::before{content:attr(data-label);position:absolute;left:0;width:120px;font-weight:600;color:var(--text-dark);font-size:0.8rem;top:0.5rem}
.mobile-table td:first-child{font-weight:600;color:var(--accent);border-bottom:1px solid var(--border-light);margin-bottom:0.5rem;padding-bottom:0.5rem}
@media (min-width:768px){.mobile-table{display:table}.mobile-table thead{display:table-header-group}.mobile-table tbody{display:table-row-group}.mobile-table tr{display:table-row;border:none;margin:0;border-radius:0;background:transparent;box-shadow:none;padding:0}.mobile-table td{display:table-cell;text-align:center;padding:0.875rem 0.75rem;position:static}.mobile-table td::before{display:none}.mobile-table td:first-child{font-weight:400;color:inherit;border-bottom:none;margin-bottom:0;padding-bottom:0.875rem}}

.btn-group-mobile{display:flex;flex-direction:column;gap:0.5rem;width:100%}
.btn-group-mobile .btn{width:100%;justify-content:center;margin-bottom:0}
@media (min-width:576px){.btn-group-mobile{flex-direction:row;width:auto}.btn-group-mobile .btn{width:auto;margin-bottom:0;margin-right:0.5rem}}

.card-mobile{margin-bottom:1rem}
.card-mobile .card-header{padding:0.875rem;font-size:0.875rem;text-align:center}
.card-mobile .card-body{padding:0.875rem}

.pagination-mobile{display:flex;justify-content:center;flex-wrap:wrap;gap:0.375rem}
.pagination-mobile .page-link{padding:0.5rem 0.75rem;font-size:0.8rem;border-radius:var(--border-radius);margin:0.125rem}

.search-mobile{width:100%;margin-bottom:1.25rem}
.search-mobile .form-control{border-radius:var(--border-radius-large);padding:0.75rem 1rem;font-size:0.9rem}
.search-mobile .btn{border-radius:var(--border-radius-large);padding:0.75rem 1.25rem}

.filter-mobile{background:var(--bg-light);border-radius:var(--border-radius-large);padding:1.25rem;margin-bottom:1.25rem;box-shadow:var(--shadow-medium);border:1px solid var(--border-light)}
.filter-mobile .form-select,.filter-mobile .form-control{margin-bottom:0.75rem;border-radius:var(--border-radius);padding:0.75rem 1rem;font-size:0.875rem}
.filter-mobile .btn{width:100%;margin-top:0.75rem}
@media (min-width:768px){.search-mobile{width:auto;margin-bottom:0}.filter-mobile{display:flex;align-items:center;gap:1.25rem;padding:1rem}.filter-mobile .form-select,.filter-mobile .form-control{margin-bottom:0;width:auto;min-width:180px}.filter-mobile .btn{width:auto;margin-top:0}}

.offcanvas-mobile{background:var(--bg-light);color:var(--text-dark)}
.offcanvas-mobile .offcanvas-header{border-bottom:1px solid var(--border);padding:1.25rem}
.offcanvas-mobile .offcanvas-title{color:var(--accent);font-weight:600}
.offcanvas-mobile .btn-close{filter:none;opacity:0.7}
.offcanvas-mobile .offcanvas-body{padding:1.25rem}
.offcanvas-mobile .nav-link{color:var(--text-dark);padding:0.875rem 0;border-bottom:1px solid var(--border-light);transition:var(--transition)}
.offcanvas-mobile .nav-link:hover{color:var(--accent);background:rgba(255,99,72,0.05);padding-left:1rem}

.toast-mobile{position:fixed;top:20px;right:20px;z-index:1055;max-width:350px}
@media (max-width:575.98px){.toast-mobile{right:10px;left:10px;max-width:none}}

.loading-spinner{display:inline-block;width:22px;height:22px;border:2px solid var(--border-light);border-radius:50%;border-top-color:var(--accent)}

.mobile-hide{display:block}
.mobile-show{display:none}
@media (max-width:767.98px){.mobile-hide{display:none}.mobile-show{display:block}}

.sticky-header{position:sticky;top:0;z-index:100;background:linear-gradient(180deg,#F8F9FA 0%,#F1F3F5 100%);color:var(--text-dark);padding:0.75rem;border-radius:var(--border-radius-large) var(--border-radius-large) 0 0}

.scroll-indicator{position:fixed;top:0;left:0;width:100%;height:3px;background:var(--gradient-accent);transform-origin:left;transform:scaleX(0);z-index:1001}

.floating-action{position:fixed;bottom:24px;right:24px;width:56px;height:56px;border-radius:50%;background:var(--gradient-accent);color:white;border:none;box-shadow:var(--shadow-heavy);font-size:1.5rem;z-index:1000;transition:var(--transition);display:flex;align-items:center;justify-content:center}
.floating-action:hover{transform:scale(1.05);box-shadow:0 8px 24px rgba(255,99,72,0.35)}
@media (max-width:575.98px){.floating-action{bottom:16px;right:16px;width:50px;height:50px;font-size:1.35rem}}

.nav-pills-mobile .nav-link{border-radius:var(--border-radius-large);padding:0.75rem 1.25rem;margin:0.25rem;transition:var(--transition);border:1px solid var(--border-light);background:var(--bg-light)}
.nav-pills-mobile .nav-link.active{background:var(--gradient-accent);color:white;border-color:var(--accent)}

.breadcrumb-mobile{background:var(--bg-light);border-radius:var(--border-radius-large);padding:1rem;margin-bottom:1.25rem;box-shadow:var(--shadow);font-size:0.875rem}
.breadcrumb-mobile .breadcrumb-item{color:var(--text-muted)}
.breadcrumb-mobile .breadcrumb-item.active{color:var(--accent);font-weight:500}

.progress-mobile{height:8px;border-radius:10px;background:var(--border-light);overflow:hidden;margin:0.75rem 0}
.progress-mobile .progress-bar{background:var(--gradient-accent);border-radius:10px}

.error-state{text-align:center;padding:2.5rem;color:var(--text-muted)}
.error-state i{font-size:3.5rem;margin-bottom:1.25rem;color:var(--accent)}
.error-state h4{color:var(--text-dark);margin-bottom:0.75rem;font-weight:600}

.empty-state{text-align:center;padding:3.5rem 1.25rem;color:var(--text-muted)}
.empty-state i{font-size:4.5rem;margin-bottom:1.75rem;color:var(--border)}
.empty-state h3{color:var(--text-dark);margin-bottom:1.25rem;font-weight:600}
.empty-state p{margin-bottom:1.75rem}
@media (max-width:575.98px){.empty-state{padding:2.5rem 1rem}.empty-state i{font-size:3.5rem;margin-bottom:1.25rem}.empty-state h3{font-size:1.35rem}}

input[type="search"]::-webkit-search-cancel-button{-webkit-appearance:none;height:20px;width:20px;background:url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23636E72'%3E%3Cpath d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3C/svg%3E") no-repeat center;cursor:pointer}

.form-floating-mobile{position:relative}
.form-floating-mobile .form-control{padding:1.25rem 1rem 0.5rem;border-radius:var(--border-radius-large)}
.form-floating-mobile label{position:absolute;top:0;left:0;padding:1.25rem 1rem;color:var(--text-muted);transform-origin:0 0;transition:opacity 0.15s ease-in-out,transform 0.15s ease-in-out}
.form-floating-mobile .form-control:focus~label,.form-floating-mobile .form-control:not(:placeholder-shown)~label{opacity:0.7;transform:scale(0.875) translateY(-0.625rem) translateX(0.25rem)}

.table-actions{display:flex;gap:0.5rem;justify-content:center;flex-wrap:wrap}
.table-actions .btn{padding:0.375rem 0.75rem;font-size:0.775rem;min-width:auto}
@media (max-width:575.98px){.table-actions{flex-direction:column}.table-actions .btn{width:100%;margin-bottom:0.25rem}}

.badge-mobile{font-size:0.725rem;padding:0.375rem 0.75rem;border-radius:14px;white-space:nowrap}

.tooltip-mobile{position:relative;cursor:help}
.tooltip-mobile::after{content:attr(data-tooltip);position:absolute;bottom:125%;left:50%;transform:translateX(-50%);background:var(--text-dark);color:var(--text-light);padding:0.625rem 1rem;border-radius:var(--border-radius);font-size:0.8rem;white-space:nowrap;opacity:0;pointer-events:none;transition:opacity 0.2s ease;z-index:1000;box-shadow:var(--shadow-medium)}
.tooltip-mobile:hover::after{opacity:0.95}

.list-group-mobile{border-radius:var(--border-radius-large);overflow:hidden;box-shadow:var(--shadow-medium)}
.list-group-mobile .list-group-item{border-left:none;border-right:none;padding:1.25rem;transition:var(--transition);background:var(--bg-light)}
.list-group-mobile .list-group-item:hover{background:rgba(255,99,72,0.03);transform:translateX(3px)}
.list-group-mobile .list-group-item:first-child{border-top:none}
.list-group-mobile .list-group-item:last-child{border-bottom:none}

.quick-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:1.25rem;margin-bottom:2rem}
@media (max-width:575.98px){.quick-stats{grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:1rem}}

.quick-stats .stat-item{background:var(--bg-light);border-radius:var(--border-radius-large);padding:1.25rem;text-align:center;box-shadow:var(--shadow-medium);border:1px solid var(--border-light);transition:var(--transition)}
.quick-stats .stat-item:hover{transform:translateY(-2px);box-shadow:var(--shadow-heavy)}
.quick-stats .stat-value{font-size:1.75rem;font-weight:700;color:var(--accent);margin-bottom:0.5rem;letter-spacing:-0.5px}
.quick-stats .stat-label{font-size:0.85rem;color:var(--text-muted);letter-spacing:0.1px}
@media (max-width:575.98px){.quick-stats .stat-value{font-size:1.5rem}.quick-stats .stat-label{font-size:0.775rem}}

.notification-badge{position:absolute;top:-6px;right:-6px;background:var(--gradient-accent);color:white;border-radius:50%;width:20px;height:20px;font-size:0.725rem;display:flex;align-items:center;justify-content:center;font-weight:600;box-shadow:var(--shadow)}

.slide-panel{position:fixed;top:0;right:-100%;width:360px;height:100vh;background:var(--bg-light);box-shadow:var(--shadow-heavy);z-index:1050;transition:right 0.25s ease;overflow-y:auto}
.slide-panel.active{right:0}
.slide-panel-overlay{position:fixed;top:0;left:0;width:100%;height:100vh;background:rgba(45,52,54,0.4);z-index:1049;opacity:0;visibility:hidden;transition:all 0.25s ease;backdrop-filter:blur(2px)}
.slide-panel-overlay.active{opacity:1;visibility:visible}
@media (max-width:575.98px){.slide-panel{width:100%;right:-100%}}

.compact-form{display:grid;grid-template-columns:1fr auto;gap:0.75rem;align-items:end}
.compact-form .form-control{margin-bottom:0}
@media (max-width:575.98px){.compact-form{grid-template-columns:1fr;gap:0.75rem}.compact-form .btn{width:100%}}

.status-indicator{width:10px;height:10px;border-radius:50%;display:inline-block;margin-right:0.625rem}
.status-indicator.success{background:#00B894}
.status-indicator.warning{background:#FDCB6E}
.status-indicator.danger{background:#D63031}
.status-indicator.info{background:#74B9FF}

  /* User profile dropdown enhancements */
  .user-profile {
    margin-left: 1rem;
  }

  .user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0.5rem;
  }

  .user-name {
    font-weight: 600;
    font-size: 0.95rem;
  }

  .user-role {
    color: #6c757d;
    font-size: 0.75rem;
    margin-top: -2px;
  }

  .user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
  }

  .user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #userInitial {
    font-size: 1.2rem;
  }

  /* Dropdown menu enhancements */
  .dropdown-menu {
    min-width: 280px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    border: none;
    border-radius: 0.5rem;
  }

  .dropdown-header {
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    margin: -0.5rem -0.5rem 0 -0.5rem;
    border-radius: 0.5rem 0.5rem 0 0;
  }

  .dropdown-item {
    padding: 0.6rem 1rem;
    transition: all 0.2s;
  }

  .dropdown-item:hover {
    background-color: #f8f9fa;
    padding-left: 1.2rem;
  }

  .dropdown-item i {
    width: 20px;
    margin-right: 8px;
  }

  .dropdown-item .badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }

  /* Badge styles for permission indicators */
  .badge-sm {
    font-size: 0.65rem;
    padding: 0.15rem 0.4rem;
  }

  /* Navigation active state */
  .nav-link.active {
    font-weight: 600;
    position: relative;
  }

  .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 3px;
    background: #667eea;
    border-radius: 2px 2px 0 0;
  }

  .dropdown-item.active {
    background-color: #667eea;
    color: white;
  }

  /* Alert badge on navigation */
  .nav-link .badge {
    margin-left: 0.3rem;
    vertical-align: middle;
  }

  /* Admin dropdown styling */
  #adminDropdown {
    position: relative;
  }

  #adminDropdown::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 70%;
    background: #ffc107;
    border-radius: 0 2px 2px 0;
  }

  /* Responsive adjustments */
  @media (max-width: 991px) {
    .user-info {
      display: none;
    }

    .dropdown-menu {
      min-width: 250px;
    }
  }

  /* Tooltip styling */
  [data-bs-toggle="tooltip"] {
    cursor: help;
  }

  /* Loading state for dropdowns */
  .dropdown-item.loading {
    opacity: 0.6;
    pointer-events: none;
  }

  .dropdown-item.loading::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #ccc;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-left: 0.5rem;
  }

  @keyframes spin {
    to { transform: rotate(360deg); }
  }