* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f2f5;
    min-height: 100vh;
}

.login-page {
    background: linear-gradient(135deg, #075e54 0%, #128c7e 50%, #25d366 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.login-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    padding: 40px 30px;
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-logo {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.login-logo i {
    font-size: 32px;
    color: #fff;
}

.login-header h4 {
    color: #075e54;
    margin-bottom: 5px;
}

.btn-login {
    background: linear-gradient(135deg, #128c7e, #25d366);
    border: none;
    padding: 12px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(18, 140, 126, 0.4);
}

.bg-dark-topbar {
    background-color: #075e54 !important;
    padding: 10px 20px;
}

.sidebar {
    background-color: #fff;
    min-height: calc(100vh - 56px);
    border-right: 1px solid #e0e0e0;
    padding-top: 15px;
}

.sidebar .nav-link {
    color: #333;
    padding: 12px 20px;
    border-radius: 0;
    transition: all 0.2s;
    font-weight: 500;
}

.sidebar .nav-link:hover {
    background-color: #f0f2f5;
    color: #128c7e;
}

.sidebar .nav-link.active {
    background-color: #e8f5e9;
    color: #075e54;
    border-left: 3px solid #25d366;
    font-weight: 600;
}

.sidebar .nav-link i {
    width: 20px;
    text-align: center;
}

.main-content {
    padding: 25px;
    min-height: calc(100vh - 56px);
}

.card-stat {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s;
}

.card-stat:hover {
    transform: translateY(-2px);
}

.card-stat .card-body {
    padding: 20px;
}

.card-stat h6 {
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.card-stat h3 {
    color: #333;
    font-weight: 700;
    font-size: 28px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
}

.stat-icon.bg-primary { background: linear-gradient(135deg, #128c7e, #25d366); }
.stat-icon.bg-success { background: linear-gradient(135deg, #28a745, #34ce57); }
.stat-icon.bg-warning { background: linear-gradient(135deg, #ffc107, #ffdb4d); }
.stat-icon.bg-info { background: linear-gradient(135deg, #17a2b8, #1fc8e3); }
.stat-icon.bg-danger { background: linear-gradient(135deg, #dc3545, #e4606d); }

.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0 !important;
}

.card-header h6 {
    font-weight: 600;
    color: #333;
}

.table th {
    font-weight: 600;
    color: #555;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-bottom: 2px solid #f0f0f0;
}

.table td {
    vertical-align: middle;
    padding: 12px 15px;
    color: #444;
}

.badge {
    font-weight: 500;
    padding: 6px 10px;
    font-size: 11px;
}

@media (max-width: 768px) {
    .sidebar {
        min-height: auto;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }

    .main-content {
        padding: 15px;
    }

    .login-card {
        padding: 30px 20px;
    }
}

.form-control:focus {
    border-color: #128c7e;
    box-shadow: 0 0 0 0.2rem rgba(18, 140, 126, 0.25);
}

.btn-primary {
    background-color: #128c7e;
    border-color: #128c7e;
}

.btn-primary:hover {
    background-color: #075e54;
    border-color: #075e54;
}

.input-group-text {
    background-color: #f8f9fa;
    border-right: none;
}

.form-control {
    border-left: none;
}

.form-control:focus + .input-group-text,
.input-group:focus-within .input-group-text {
    border-color: #128c7e;
}
