/* assets/css/style.css - Modern Glass-morphism Theme */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(145deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    min-height: 100vh;
    padding: 20px;
}

/* ===== CONTAINERS ===== */
.container-fluid {
    padding: 0 20px;
}

.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.3);
}

.glass-card-dark {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.glass-card-dark:hover {
    transform: translateY(-3px);
}

/* ===== NAVBAR ===== */
.navbar-glass {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px;
    padding: 12px 30px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.navbar-glass .navbar-brand {
    color: #fff !important;
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.navbar-glass .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    transition: all 0.3s ease;
    border-radius: 12px;
    padding: 8px 18px !important;
}

.navbar-glass .nav-link:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.15);
}

.navbar-glass .navbar-text {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ===== STATS CARDS ===== */
.stat-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: default;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.18);
}

.stat-card .stat-icon {
    font-size: 35px;
    margin-bottom: 10px;
}

.stat-card .stat-number {
    font-size: 40px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .stat-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 8px;
}

.stat-card .stat-link:hover {
    color: #fff;
    transform: translateX(5px);
}

/* Stat card colors */
.stat-primary { background: linear-gradient(135deg, rgba(102, 126, 234, 0.5), rgba(118, 75, 162, 0.5)); }
.stat-success { background: linear-gradient(135deg, rgba(17, 153, 142, 0.5), rgba(56, 239, 125, 0.5)); }
.stat-warning { background: linear-gradient(135deg, rgba(255, 193, 7, 0.4), rgba(255, 152, 0, 0.4)); }
.stat-danger { background: linear-gradient(135deg, rgba(220, 53, 69, 0.4), rgba(200, 35, 51, 0.4)); }
.stat-info { background: linear-gradient(135deg, rgba(23, 162, 184, 0.5), rgba(0, 123, 255, 0.5)); }
.stat-dark { background: rgba(0, 0, 0, 0.3); }

/* ===== BUTTONS ===== */
.btn-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: #fff;
}

.btn-gradient-success {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(17, 153, 142, 0.4);
    color: #fff;
}

.btn-gradient-danger {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-gradient-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(245, 87, 108, 0.4);
    color: #fff;
}

.btn-outline-glass {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline-glass:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card-glass {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.card-glass:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.card-glass .card-header {
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 18px 25px;
    color: #fff;
    font-weight: 600;
    font-size: 18px;
}

.card-glass .card-body {
    padding: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.card-glass .card-footer {
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 25px;
}

/* ===== TABLES ===== */
.table-glass {
    color: rgba(255, 255, 255, 0.9);
    border-collapse: separate;
    border-spacing: 0 8px;
}

.table-glass thead th {
    border-bottom: none;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.5px;
    padding: 15px 20px;
}

.table-glass tbody tr {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.table-glass tbody tr:hover {
    background: rgba(255, 255, 255, 0.10);
}

.table-glass tbody td {
    padding: 14px 20px;
    border-bottom: none;
    vertical-align: middle;
}

/* ===== FORMS ===== */
.form-glass .form-label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.form-glass .form-control, .form-glass .form-select {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 12px;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

.form-glass .form-control:focus, .form-glass .form-select:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.25);
    color: #fff;
}

.form-glass .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-glass .form-control option {
    color: #333;
}

/* ===== ALERTS ===== */
.alert-glass {
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 18px 25px;
    color: #fff;
}

.alert-glass-success {
    border-left: 4px solid #38ef7d;
}

.alert-glass-danger {
    border-left: 4px solid #f5576c;
}

.alert-glass-warning {
    border-left: 4px solid #ffc107;
}

.alert-glass-info {
    border-left: 4px solid #667eea;
}

/* ===== LOGIN PAGE ===== */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 50px 40px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 440px;
}

.login-card h2 {
    color: #1a1a2e;
    font-weight: 800;
    font-size: 32px;
}

.login-card .subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.login-card .form-control {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 14px 18px;
    transition: all 0.3s ease;
}

.login-card .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.login-card .btn-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    width: 100%;
}

.login-card .btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* ===== BADGES ===== */
.badge-glass {
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 12px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    body { padding: 10px; }
    .navbar-glass { padding: 10px 15px !important; }
    .stat-card .stat-number { font-size: 28px; }
    .login-card { padding: 30px 20px; }
    .card-glass .card-body { padding: 15px; }
}

/* ===== MISC ===== */
.text-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 40px;
    border-radius: 25px;
    color: white;
}

.page-title {
    color: #fff;
    font-weight: 700;
    font-size: 28px;
    letter-spacing: -0.5px;
}

.page-title i {
    margin-right: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}