
/* ==========================================
   LOMARVIA GOLD - LOGIN PAGE
   Premium Navy Blue + Gold Theme
   Fully Responsive
========================================== */


/* 1. GLOBAL SETTINGS */

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

html {
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;
    font-family: "Segoe UI", Arial, sans-serif;
    background: #081426;
    color: #ffffff;
    overflow-x: hidden;
}


/* 2. MAIN CONTAINER */

.login-container {
    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    display: grid;
    grid-template-columns: 1.05fr 0.95fr;

    background: #081426;
}


/* ==========================================
   3. LEFT BRANDING SECTION
========================================== */

.login-branding {
    position: relative;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    padding: clamp(25px, 5vw, 65px);

    overflow: hidden;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            rgba(5, 17, 35, 0.93),
            rgba(10, 30, 55, 0.88)
        ),
        url("../../assets/images/gold-jewel.png");

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


/* DECORATIVE CIRCLES */

.login-branding::before {
    content: "";

    position: absolute;

    width: 350px;
    height: 350px;

    right: -180px;
    bottom: -180px;

    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50%;

    pointer-events: none;
}

.login-branding::after {
    content: "";

    position: absolute;

    width: 250px;
    height: 250px;

    right: -130px;
    bottom: -130px;

    border: 1px solid rgba(212, 175, 55, 0.20);
    border-radius: 50%;

    pointer-events: none;
}


/* ==========================================
   4. LOMARVIA GOLD LOGO
========================================== */

.brand-image-container {
    position: relative;
    z-index: 1;

    width: 100%;
    max-width: 580px;

    padding: 12px;

    margin-bottom: 30px;

    display: flex;
    justify-content: center;
    align-items: center;

    background: #ffffff;

    border: 1px solid #e5c56a;
    border-radius: 14px;

    box-shadow:
        0 12px 35px rgba(0, 0, 0, 0.30);
}

.brand-image {
    display: block;

    width: 100%;
    height: auto;

    max-height: 200px;

    object-fit: contain;
}


/* ==========================================
   5. BRANDING TEXT
========================================== */

.login-branding h2 {
    position: relative;
    z-index: 1;

    max-width: 500px;

    margin-bottom: 15px;

    color: #f4d477;

    font-size: clamp(21px, 2.4vw, 30px);
    font-weight: 650;

    line-height: 1.4;
}

.login-branding p {
    position: relative;
    z-index: 1;

    max-width: 470px;

    color: #e0e6ef;

    font-size: 15px;
    line-height: 1.9;
}


/* BRAND FOOTER */

.brand-footer {
    position: relative;
    z-index: 1;

    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 30px;
}

.brand-footer span {
    padding: 9px 18px;

    border: 1px solid rgba(212, 175, 55, 0.45);
    border-radius: 30px;

    background: rgba(212, 175, 55, 0.08);

    color: #f3d477;

    font-size: 13px;
    font-weight: 600;
}


/* ==========================================
   6. RIGHT LOGIN SECTION
========================================== */

.login-form-section {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 35px 25px;

    background: #f4f6fa;
}


/* LOGIN CARD */

.login-form-container {
    width: 100%;
    max-width: 430px;

    padding: clamp(25px, 4vw, 42px);

    border: 1px solid #e6e9ef;
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 15px 50px rgba(9, 25, 48, 0.10);
}


/* ==========================================
   7. LOGIN HEADING
========================================== */

.login-heading {
    margin-bottom: 32px;
}

.login-heading h2 {
    margin-bottom: 8px;

    color: #102541;

    font-size: clamp(26px, 3vw, 32px);
    font-weight: 750;
}

.login-heading p {
    margin-bottom: 9px;

    color: #bd9630;

    font-size: 18px;
    font-weight: 600;
}

.login-heading span {
    color: #788394;

    font-size: 14px;
    line-height: 1.6;
}


/* ==========================================
   8. FORM GROUP
========================================== */

.form-group {
    width: 100%;
    margin-bottom: 23px;
}

.form-group label {
    display: block;

    margin-bottom: 9px;

    color: #24364d;

    font-size: 14px;
    font-weight: 650;
}


/* INPUT */

.form-group input {
    width: 100%;
    height: 51px;

    padding: 0 15px;

    border: 1px solid #dce1e9;
    border-radius: 9px;

    outline: none;

    background: #f9fafc;

    color: #152943;

    font-size: 14px;

    transition: 0.25s ease;
}

.form-group input::placeholder {
    color: #a0a9b6;
}

.form-group input:focus {
    border-color: #c49b2e;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(196, 155, 46, 0.12);
}


/* ==========================================
   9. PASSWORD FIELD
========================================== */

.password-field {
    position: relative;
    width: 100%;
}

.password-field input {
    padding-right: 75px;
}

.password-toggle {
    position: absolute;

    top: 50%;
    right: 14px;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    color: #b18a27;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.password-toggle:hover {
    color: #806116;
}


/* ==========================================
   10. REMEMBER ME / FORGOT PASSWORD
========================================== */

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;

    gap: 12px;

    margin: 5px 0 23px;
}

.remember-option {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #586579;

    font-size: 12px;

    cursor: pointer;
}

.remember-option input {
    width: 15px;
    height: 15px;

    accent-color: #b9932e;

    cursor: pointer;
}

.login-options a {
    color: #b18a27;

    font-size: 12px;
    font-weight: 650;

    text-decoration: none;
}

.login-options a:hover {
    color: #806116;
    text-decoration: underline;
}


/* ==========================================
   11. LOGIN MESSAGE
========================================== */

.login-message {
    display: none;

    width: 100%;

    margin-bottom: 15px;
    padding: 11px 13px;

    border-radius: 7px;

    font-size: 13px;
    line-height: 1.5;
}


/* ==========================================
   12. LOGIN BUTTON
========================================== */

.login-button {
    width: 100%;
    min-height: 52px;

    border: none;
    border-radius: 9px;

    background: linear-gradient(
        135deg,
        #d9b34b,
        #b58a20
    );

    color: #101d30;

    font-size: 15px;
    font-weight: 750;

    letter-spacing: 0.4px;

    cursor: pointer;

    box-shadow:
        0 6px 18px rgba(181, 138, 32, 0.22);

    transition: all 0.25s ease;
}

.login-button:hover {
    background: linear-gradient(
        135deg,
        #e8c766,
        #c49b2e
    );

    transform: translateY(-2px);

    box-shadow:
        0 9px 22px rgba(181, 138, 32, 0.30);
}

.login-button:active {
    transform: translateY(0);
}

.login-button:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
}


/* ==========================================
   13. LOGIN FOOTER
========================================== */

.login-footer {
    margin-top: 35px;
    text-align: center;
}

.login-footer p {
    margin-bottom: 10px;

    color: #8993a2;
    font-size: 12px;
}

.login-footer strong {
    color: #263b56;
    font-weight: 750;
}

.login-footer span {
    color: #a1a9b5;
    font-size: 11px;
}


/* ==========================================
   14. TABLET RESPONSIVE
========================================== */

@media (max-width: 1000px) and (min-width: 701px) {

    .login-container {
        grid-template-columns: 1fr 1fr;
    }

    .login-branding {
        padding: 30px;
    }

    .brand-image-container {
        max-width: 440px;
    }

    .brand-image {
        max-height: 160px;
    }

    .login-form-section {
        padding: 25px 18px;
    }

    .login-form-container {
        padding: 28px 23px;
    }
}


/* ==========================================
   15. MOBILE RESPONSIVE
========================================== */

@media (max-width: 700px) {

    .login-container {
        grid-template-columns: 1fr;

        min-height: 100vh;
        min-height: 100dvh;
    }

    .login-branding {
        min-height: auto;

        padding: 28px 22px 25px;
    }

    .brand-image-container {
        max-width: 420px;

        padding: 9px;

        margin-bottom: 20px;

        border-radius: 11px;
    }

    .brand-image {
        max-height: 125px;
    }

    .login-branding h2 {
        font-size: 20px;
        margin-bottom: 9px;
    }

    .login-branding p {
        font-size: 13px;
    }

    .brand-footer {
        gap: 8px;
        margin-top: 18px;
    }

    .brand-footer span {
        padding: 7px 12px;
        font-size: 11px;
    }

    .login-form-section {
        padding: 25px 18px 35px;
    }

    .login-form-container {
        max-width: 450px;
        padding: 28px 23px;
    }

    .login-heading {
        margin-bottom: 25px;
    }

    .login-footer {
        margin-top: 27px;
    }
}


/* ==========================================
   16. SMALL MOBILE
========================================== */

@media (max-width: 380px) {

    .login-branding {
        padding: 22px 14px 20px;
    }

    .brand-image-container {
        padding: 7px;
        margin-bottom: 15px;
    }

    .brand-image {
        max-height: 95px;
    }

    .login-branding h2 {
        font-size: 17px;
    }

    .login-branding p {
        font-size: 12px;
    }

    .login-form-section {
        padding: 18px 12px 25px;
    }

    .login-form-container {
        padding: 23px 17px;
        border-radius: 13px;
    }

    .login-heading h2 {
        font-size: 24px;
    }

    .login-options {
        align-items: flex-start;
        flex-direction: column;
    }
}


/* ==========================================
   17. SHORT HEIGHT DESKTOP SCREENS
========================================== */

@media (min-width: 701px) and (max-height: 650px) {

    .login-branding {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .brand-image-container {
        max-width: 420px;
        margin-bottom: 15px;
    }

    .brand-image {
        max-height: 115px;
    }

    .login-branding h2 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .brand-footer {
        margin-top: 15px;
    }

    .login-form-section {
        padding-top: 15px;
        padding-bottom: 15px;
    }

    .login-form-container {
        padding-top: 22px;
        padding-bottom: 22px;
    }

    .login-heading {
        margin-bottom: 20px;
    }

    .form-group {
        margin-bottom: 15px;
    }

    .login-footer {
        margin-top: 20px;
    }
}
#loginMessage {
    display: block;
    margin: 10px 0;
    font-size: 13px;
    text-align: center;
}

#loginMessage.error {
    color: #dc2626;
}

#loginMessage.success {
    color: #16a34a;
}