/* body {
    font-family: "Segoe UI", Tahoma, sans-serif;
    background: linear-gradient(135deg, #1f5e3b, #2f7d4e);
    min-height: 100vh;
} */

body {
    min-height: 100vh;
    background:
        linear-gradient(
            /* rgba(25, 90, 55, 0.88), */
            rgba(25, 90, 55, 0.88)
        );
    /* url('/images/bg-image-w.png') */

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}


/* Top Bar */
.top-bar {
    background: #ffffff;
    padding: 12px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.logo {
    height: 40px;
    margin-right: 12px;
}

.system-title {
    font-size: 20px;
    font-weight: 600;
    color: #1f5e3b;
}

/* Center Card */
.login-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 15px;
}

.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.login-card h5 {
    color: #1f5e3b;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
}

/* Button */
.btn-login {
    background: #1f5e3b;
    color: #fff;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
}

.btn-login:hover {
    background: #174a2f;
    color: #fff;
}

/* Links */
.forgot-link {
    font-size: 14px;
    color: #1f5e3b;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Footer */
.footer-text {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-top: 20px;
}
/* ===== Wave Card Auth Pages ===== */

.wave-auth-body {
    background: #e6e6e6;
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-topbar-outline {
    padding: 7px 22px;
    border: 1.5px solid #1f5e3b;
    border-radius: 30px;
    color: #1f5e3b;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.btn-topbar-outline:hover,
.btn-topbar-outline.active {
    background: #1f5e3b;
    color: #ffffff;
}

.btn-topbar-solid {
    padding: 8px 24px;
    background: linear-gradient(135deg, #1f5e3b, #2a6f47);
    border-radius: 30px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 6px 14px rgba(31,94,59,0.25);
}

.btn-topbar-solid:hover,
.btn-topbar-solid.active {
    color: #ffffff;
    transform: translateY(-1px);
}

.wave-auth-wrapper {
    min-height: calc(100vh - 66px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

.wave-auth-wrapper .footer-text {
    color: #6c6c6c;
}

.wave-card {
    position: relative;
    display: flex;
    width: 100%;
    max-width: 960px;
    min-height: 520px;
    background: #ffffff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0,0,0,0.18);
}

.wave-card-wide {
    max-width: 1040px;
}

/* --- Green Panel --- */
.wave-panel-green {
    position: relative;
    z-index: 2;
    flex: 0 0 38%;
    background: linear-gradient(160deg, #1f5e3b, #2f7d4e);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 36px;
}

.wave-green-content {
    text-align: center;
    color: #ffffff;
    max-width: 280px;
}

.wave-logo-circle {
    width: 128px;
    height: 128px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.wave-logo-circle img {
    width: 86px;
}

.wave-brand-name {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #d7efe4;
    margin-bottom: 26px;
}

.wave-green-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.wave-green-content p {
    font-size: 0.88rem;
    color: #d7efe4;
    line-height: 1.6;
    margin-bottom: 26px;
}

.wave-btn-outline {
    display: inline-block;
    padding: 10px 34px;
    border: 1.5px solid #ffffff;
    border-radius: 30px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
}

.wave-btn-outline:hover {
    background: #ffffff;
    color: #1f5e3b;
}

/* --- Wave Divider --- */
.wave-divider {
    position: absolute;
    top: 0;
    left: calc(38% - 90px);
    width: 180px;
    height: 100%;
    z-index: 1;
}

.wave-divider path {
    fill: #1f5e3b;
}

/* --- White Panel --- */
.wave-panel-white {
    position: relative;
    z-index: 0;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 60px;
}

.wave-white-content {
    width: 100%;
    max-width: 340px;
}

.wave-title {
    font-size: 2.4rem;
    font-weight: 700;
    color: #1f5e3b;
    margin-bottom: 4px;
}

.wave-subtitle {
    color: #7c8a83;
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.wave-input {
    background: #eef2f0;
    border: none;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 0.9rem;
}

.wave-input:focus {
    background: #e6ede9;
    box-shadow: 0 0 0 2px rgba(31,94,59,0.25);
}

.auth-error {
    color: #dc3545;
    font-size: 0.82rem;
    margin-top: 6px;
}

.wave-hint {
    display: block;
    color: #dc3545;
    font-size: 0.78rem;
    margin-top: 6px;
}

.wave-forgot-link {
    font-size: 0.8rem;
    color: #1f5e3b;
    text-decoration: none;
}

.wave-forgot-link:hover {
    text-decoration: underline;
}

.wave-btn-solid {
    background: linear-gradient(135deg, #1f5e3b, #2a6f47);
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 12px;
    border: none;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(31,94,59,0.28);
    transition: transform 0.15s ease;
}

.wave-btn-solid:hover {
    transform: translateY(-1px);
    color: #fff;
}

.wave-signup-text {
    text-align: center;
    font-size: 0.85rem;
    color: #7c8a83;
    margin-top: 18px;
    margin-bottom: 0;
}

.wave-signup-text a {
    color: #1f5e3b;
    font-weight: 600;
    text-decoration: none;
}

.wave-signup-text a:hover {
    text-decoration: underline;
}

@media (max-width: 820px) {
    .wave-card {
        flex-direction: column;
        max-width: 420px;
        min-height: auto;
    }

    .wave-panel-green {
        flex: none;
        padding: 30px 30px;
    }

    .wave-logo-circle {
        width: 90px;
        height: 90px;
        margin-bottom: 0;
    }

    .wave-logo-circle img {
        width: 58px;
    }

    .wave-brand-name,
    .wave-green-content h2,
    .wave-green-content p,
    .wave-btn-outline {
        display: none;
    }

    .wave-divider {
        display: none;
    }

    .wave-panel-white {
        padding: 40px 30px;
    }

    .wave-white-content {
        max-width: 100%;
    }
}

/* Collapsible mobile menu (Bootstrap's navbar-expand-md breakpoint) */
@media (max-width: 767.98px) {
    .top-bar .container {
        flex-wrap: wrap;
    }

    .navbar-collapse {
        width: 100%;
    }

    .top-bar-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 14px 0 6px;
    }

    .btn-topbar-outline,
    .btn-topbar-solid {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo {
        height: 30px;
        margin-right: 8px;
    }

    .system-title {
        font-size: 15px;
    }

    .btn-topbar-outline,
    .btn-topbar-solid {
        padding: 6px 16px;
        font-size: 0.78rem;
    }
}

/* ===== Forgot Password Page ===== */

.forgot-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 15px;
}

.forgot-card {
    background: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.forgot-card h5 {
    color: #1f5e3b;
    font-weight: 600;
}

.forgot-card .form-label {
    font-weight: 500;
}

.forgot-card .btn-reset {
    background: #1f5e3b;
    color: #ffffff;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
}

.forgot-card .btn-reset:hover {
    background: #174a2f;
    color: #ffffff;
}

.forgot-note {
    font-size: 14px;
    color: #b02a37;
    text-align: center;
}
/* ===== Reset Password Page ===== */

.reset-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 15px;
}

.reset-card {
    background: #ffffff;
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.reset-card h5 {
    color: #1f5e3b;
    font-weight: 600;
}

.reset-card .form-label {
    font-weight: 500;
}

.reset-card .btn-reset {
    background: #1f5e3b;
    color: #ffffff;
    font-weight: 600;
    padding: 10px;
    border-radius: 8px;
}

.reset-card .btn-reset:hover {
    background: #174a2f;
    color: #ffffff;
}
