body {
    background: #f4fbf8;
    font-family: Arial, sans-serif;
    margin: 0;
    color: #17342d;
}

.wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    min-height: 100vh;
    background: linear-gradient(180deg, #0d6b57, #149174);
    box-shadow: 4px 0 18px rgba(0,0,0,0.08);
}

.sidebar .logo {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    object-fit: cover;
}

.sidebar .nav-link {
    color: #eafff8;
    padding: 12px 20px;
    border-radius: 12px;
    margin: 4px 10px;
    transition: 0.2s;
}

.sidebar .nav-link:hover,
.sidebar .nav-link.active {
    background: rgba(255,255,255,0.14);
    color: #fff;
}

.content {
    flex: 1;
    background: #f4fbf8;
}

.navbar {
    border-bottom: 1px solid #d7ebe3;
}

.card,
.card-stat,
.dashboard-table {
    border: none;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(13, 107, 87, 0.08);
}

.card-header {
    background: #f0faf6 !important;
    border-bottom: 1px solid #d7ebe3 !important;
    font-weight: bold;
    color: #1b4d42;
    border-radius: 16px 16px 0 0 !important;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background: #edf8f4;
    color: #27594f;
    font-size: 14px;
    border-bottom: 1px solid #d7ebe3;
}

.table tbody tr:hover {
    background: #f8fdfa;
}

.btn {
    border-radius: 12px;
    font-weight: 600;
}

.btn-primary {
    background: linear-gradient(135deg, #0f9d7a, #23b58f);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0d8b6d, #1ea681);
}

.btn-success {
    background: linear-gradient(135deg, #198754, #2ab56f);
    border: none;
}

.btn-warning {
    color: #fff;
    background: linear-gradient(135deg, #d98a00, #f0ad4e);
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, #c0392b, #e35d4f);
    border: none;
}

.btn-info {
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    border: none;
}

.form-control,
.form-select,
textarea {
    border-radius: 12px;
    border: 1px solid #cfe4db;
    box-shadow: none !important;
}

.form-control:focus,
.form-select:focus,
textarea:focus {
    border-color: #21b08c;
    box-shadow: 0 0 0 0.2rem rgba(33,176,140,0.15) !important;
}

.alert {
    border-radius: 14px;
    border: none;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* DASHBOARD */
.stat-card {
    color: #fff;
    border-radius: 18px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    min-height: 135px;
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

.stat-card .icon {
    font-size: 38px;
    position: absolute;
    right: 18px;
    top: 18px;
    opacity: 0.22;
}

.stat-card h6 {
    font-size: 14px;
    margin-bottom: 8px;
    opacity: 0.95;
}

.stat-card h2 {
    font-size: 30px;
    margin: 0;
    font-weight: bold;
}

.bg-blue {
    background: linear-gradient(135deg, #0f9d7a, #35c29d);
}

.bg-green {
    background: linear-gradient(135deg, #168f72, #48c9a8);
}

.bg-orange {
    background: linear-gradient(135deg, #0b7d65, #16a085);
}

.bg-purple {
    background: linear-gradient(135deg, #0f6b5a, #1ea98a);
}

.bg-darkblue {
    background: linear-gradient(135deg, #0b5d4d, #17806a);
}

/* LOGIN MODERN */
.login-modern-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0b6b57, #149174, #34b79a);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.login-modern-wrap {
    width: 100%;
    max-width: 1100px;
    background: rgba(255,255,255,0.10);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0,0,0,0.18);
}

.login-left {
    background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
    color: #fff;
    padding: 50px 40px;
    min-height: 560px;
    position: relative;
}

.login-left:before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    top: -50px;
    right: -50px;
}

.login-left:after {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    bottom: -40px;
    left: -40px;
}

.login-brand {
    position: relative;
    z-index: 2;
}

.login-brand img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.login-brand h2 {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
}

.login-brand p {
    color: rgba(255,255,255,0.92);
    margin-bottom: 24px;
    line-height: 1.7;
}

.login-feature {
    position: relative;
    z-index: 2;
    margin-top: 30px;
}

.login-feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
}

.login-feature-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 14px;
    font-size: 18px;
}

.login-right {
    background: #ffffff;
    padding: 50px 40px;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.login-form-box {
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
}

.login-badge {
    display: inline-block;
    padding: 7px 14px;
    background: #e5f8f2;
    color: #0d7f63;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 16px;
}

.login-form-title {
    font-size: 30px;
    font-weight: bold;
    color: #16342d;
    margin-bottom: 8px;
}

.login-form-subtitle {
    color: #5e7d73;
    margin-bottom: 28px;
}

.form-label-modern {
    font-weight: 600;
    color: #30574d;
    margin-bottom: 8px;
    display: block;
}

.input-group-modern {
    position: relative;
    margin-bottom: 18px;
}

.input-group-modern .input-icon {
    position: absolute;
    left: 14px;
    top: 13px;
    color: #5e7d73;
    font-size: 16px;
    z-index: 2;
}

.input-modern {
    height: 48px;
    border-radius: 14px;
    border: 1px solid #d6ebe3;
    padding-left: 42px;
    background: #f7fcfa;
    width: 100%;
    box-sizing: border-box;
}

.input-modern:focus {
    border-color: #22b08a;
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(34,176,138,0.15);
}

.btn-login-modern {
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #0f9d7a, #25b791);
    border: none;
    font-weight: bold;
    color: #fff;
    box-shadow: 0 10px 20px rgba(34,176,138,0.25);
    width: 100%;
}

.btn-login-modern:hover {
    opacity: 0.95;
}

.login-footer-note {
    color: #647b74;
    font-size: 13px;
    margin-top: 18px;
    text-align: center;
}

.login-info-card {
    margin-top: 30px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 16px;
    padding: 18px;
    position: relative;
    z-index: 2;
}

.login-info-card small {
    color: rgba(255,255,255,0.82);
    display: block;
    margin-bottom: 4px;
}

@media (max-width: 991px) {
    .login-left {
        min-height: auto;
        padding: 35px 25px;
    }

    .login-right {
        min-height: auto;
        padding: 35px 25px;
    }

    .login-form-title {
        font-size: 24px;
    }
}