body {
    background:
        linear-gradient(150deg, rgba(163, 230, 53, 0.12) 0%, rgba(163, 230, 53, 0) 22%),
        linear-gradient(330deg, rgba(46, 125, 50, 0.2) 0%, rgba(46, 125, 50, 0) 28%),
        linear-gradient(135deg, #1e2a38 0%, #0f172a 100%);
    color: #1e2a38;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 24px;
    overflow-x: hidden;
}

.auth-container {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.28), 0 0 0 1px rgba(230, 234, 240, 0.85);
    padding: 42px;
    width: 100%;
    max-width: 420px;
}

.auth-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #2e7d32 0%, #a3e635 100%);
}

.auth-container::after {
    content: "";
    position: absolute;
    right: 28px;
    bottom: 24px;
    width: 84px;
    height: 2px;
    background: #a3e635;
    opacity: 0.55;
}

.auth-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-logo {
    display: block;
    width: min(220px, 82%);
    height: auto;
    margin: 0 auto 24px;
}

.auth-header h2 {
    color: #1e2a38;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0;
    margin-bottom: 8px;
}

.auth-header p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 0;
}

.auth-container .form-label {
    color: #1e2a38;
    font-weight: 600;
    margin-bottom: 8px;
}

.auth-container .form-control {
    height: 48px;
    background: #f2f4f7;
    border: 1px solid #e6eaf0;
    border-radius: 12px;
    color: #1e2a38;
    padding: 0 14px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.auth-container .form-control::placeholder {
    color: #98a2b3;
}

.auth-container .form-control:focus {
    background: #ffffff;
    border-color: #2e7d32;
    box-shadow: 0 0 0 0.22rem rgba(46, 125, 50, 0.2);
    color: #1e2a38;
}

.auth-container .text-danger {
    display: block;
    margin-top: 6px;
    font-size: 13px;
}

.btn-login {
    height: 48px;
    border-radius: 12px;
    font-weight: 600;
    background: #2e7d32;
    border-color: #2e7d32;
    color: #ffffff;
    transition: background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.btn-login:hover,
.btn-login:focus {
    background: #256628;
    border-color: #256628;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(46, 125, 50, 0.24);
}

.btn-login:active {
    transform: translateY(1px);
}

@media (max-width: 575.98px) {
    body {
        align-items: flex-start;
        padding: 18px;
    }

    .auth-container {
        max-width: 100%;
        padding: 34px 24px 30px;
        margin-top: 18px;
    }

    .auth-logo {
        width: min(190px, 78%);
        margin-bottom: 20px;
    }

    .auth-header {
        margin-bottom: 24px;
    }

    .auth-header h2 {
        font-size: 25px;
    }
}
