/* ==================== CSS Variables (Your Provided) ==================== */
:root {
    /* ******************* colors ******************* */
    --white-color: #ffffff;
    --white-smoke: #F5F5F5;
    --light-gray: #747474;
    --black-color: #000000;
    --secondary-green-color: #14AA3C;
    --secondary-green-color-20: rgba(20, 170, 60, 0.2);
    --secondary-green-color-30: rgba(20, 170, 60, 0.3);
    --gray-color: #545454;
    --pending-color: #F68D2B;
    --reject-color: #E53E3E;
    --primary-brick-red: #C04657;
    --primary-brick-red-30: rgba(192, 70, 87, 0.3);
    --primary-brick-red-20: rgba(192, 70, 87, 0.2);
    --primary-brick-red-10: rgba(192, 70, 87, 0.1);
    --border-color: #DFDFDF;
    --blue-color: #0067F1;
    /* ******************* Shadow ******************* */
    --shadow-03: 0rem 0.21875rem 0.34375rem 0rem rgba(0, 0, 0, 0.02);
    /* 0px 3.5px 5.5px 0px */
    --shadow-02: 0rem 0.125rem 0.3125rem 0rem rgba(0, 0, 0, 0.01);
    /* 0px 2px 5px 0px */
    /* ******************* Border-radius ******************* */
    --border-radius-15: 0.9375rem;
    /* 15px */
    --border-radius-10: 0.625rem;
    /* 10px */
    /* ******************* Z-index ******************* */
    --z-index: 1;
    --z-index-header: 100;
    --z-index-popup: 1000;
    /* ******************* Font-weight ******************* */
    --font-weight-light: 300;
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-smedium: 600;
    --font-weight-bold: 700;
    /* ******************* Font-size ******************* */
    --root-font-size: 16px;
    --font-style-italic: italic;
    /* ******************* Heading-size ******************* */
    --h1: 4.375rem;
    --h2: 3rem;
    --h3: 2.5rem;
    --h4: 1.625rem;
    --h5: 1.25rem;
    --h6: 1.125rem;
    --text-24: 1.5rem;
    --text-16: 1rem;
    --text-14: 0.875rem;
    /* ******************* Font-family ******************* */
    --font-montserrat: "Montserrat", sans-serif;
    --font-libre-baskerville: "Libre Baskerville", serif;
}

@media (min-width: 768px) {
    :root {
        --root-font-size: 1.3671875vw;
        /* --root-font-size: 0.833333vw; */
    }
}

@media (min-width: 1280px) {
    :root {
        --root-font-size: 0.833333vw;
    }
}


@media (max-width: 768px) {
    :root {
        --root-font-size: 1.82292vw;
    }
}

@media (max-width: 480px) {
    :root {
        --root-font-size: 12px;
    }
}

html {
    font-size: var(--root-font-size);
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: subpixel-antialiased;
    -ms-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

/* ==================== Base Reset ==================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--root-font-size);
}

body,
button,
p {
    font-family: var(--font-montserrat);
}

body {
    background: var(--white-color);
    color: var(--gray-color);
    line-height: 1.6;
    background-image: url('./images/login-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    backdrop-filter: blur(0.25rem);
    background-color: rgba(0, 0, 0, 0.25);
}

/* ==================== Main Layout ==================== */
.ark__container {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
    /*backdrop-filter: blur(0.25rem);*/
    background-color: rgba(0, 0, 0, 0.30);
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
}

/* Left: Image Section */

/* Right: Form Section */
.ark__form-section {
    flex: 1;
    max-width: 82.5rem;
    /* max-height: max-content; */
    min-height: calc(100vh - 9.375rem);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ark__form-bg {
    padding: 2.5rem;
    border: 0.0625rem solid #DFDFDF;
    background: var(--white-smoke);
    box-shadow: var(--shadow-03);
    font-family: var(--font-dm-sans);
    position: relative;
    z-index: 1;
    overflow: hidden;
    border-radius: 1.25rem;
    -webkit-border-radius: 1.25rem;
    -moz-border-radius: 1.25rem;
    -ms-border-radius: 1.25rem;
    -o-border-radius: 1.25rem;
}

.ark__form--wrap {
    background-color: var(--white-color);
    height: 100%;
    -webkit-border-radius: 1.25rem;
    -moz-border-radius: 1.25rem;
    -ms-border-radius: 1.25rem;
    -o-border-radius: 1.25rem;
    border: 0.0625rem solid #DFDFDF;
    padding: 1.25rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    -webkit-border-radius: 1.875rem;
    -moz-border-radius: 1.875rem;
    -ms-border-radius: 1.875rem;
    -o-border-radius: 1.875rem;
    border-radius: 1.875rem;
}

.ark__form--center {
    overflow-y: auto;
    height: 100%;
}

.ark__form--center::-webkit-scrollbar {
    display: none;
}

.ark__form--wrap::-webkit-scrollbar {
    display: none;
}

.ark__round-one {
    position: absolute;
    top: -5rem;
    right: -5.4375rem;
    width: 22.4375rem;
    height: 22.4375rem;
    background-color: #D9D9D9;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    z-index: -1;
}

.ark__round-two {
    position: absolute;
    bottom: -8.5rem;
    left: -7.9375rem;
    width: 22.4375rem;
    height: 22.4375rem;
    background-color: #D9D9D9;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    z-index: -1;
}

.ark__login-width {
    max-width: 37.5rem;
    width: 100%;
    margin: auto;
}

/* Logo */
.ark__logo {
    font-size: var(--h2);
    text-align: center;
    font-weight: var(--font-weight-bold);
    color: var(--primary-brick-red);
    margin-bottom: 2.5rem;
    line-height: 1.2;
    font-family: var(--font-libre-baskerville);
}

.ark__logo span {
    color: var(--black-color);
}

/* Title */
.ark__auth-header {
    margin-bottom: 2.5rem;
    gap: 0.625rem;
    max-width: 28.125rem;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.ark__title {
    font-size: var(--h4);
    font-weight: var(--font-weight-bold);
    color: var(--black-color);
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    gap: 0.625rem;
    font-family: var(--font-libre-baskerville);
    line-height: 1.2;
}


/* Subtitle */
.ark__subtitle {
    font-size: var(--text-16);
    color: var(--light-gray);
    text-align: center;
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
}

.ark__form-group {
    margin-bottom: 1.25rem;
}

.ark__label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: var(--font-weight-bold);
    font-size: var(--text-16);
    color: var(--black-color);
    line-height: 1.2;
    font-family: var(--font-nunito-sans);
}

.ark__input {
    width: 100%;
    padding: 0.85rem 1rem;
    border: 0.0625rem solid var(--border-color);
    border-radius: var(--border-radius-10);
    font-size: var(--text-16);
    font-family: var(--font-montserrat);
    transition: border 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--white-color);
}

.ark__input:focus {
    outline: none;
    border-color: var(--primary-brick-red);
    box-shadow: var(--shadow-03);
}

.ark__input::placeholder {
    color: var(--light-gray);
    font-size: var(--text-16);
    font-family: var(--font-inter);
}


/* ==================== Submit Button ==================== */

.ark__submit-btn {
    background: var(--primary-brick-red);
    color: var(--white-color);
    border: none;
    padding: 0.813rem;
    font-size: var(--text);
    font-weight: var(--font-weight-smedium);
    border-radius: var(--border-radius-10);
    cursor: pointer;
    font-family: var(--font-inter);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1.25rem;
    width: 100%;
    position: relative;
    overflow: hidden;
    -webkit-border-radius: var(--border-radius-10);
    -moz-border-radius: var(--border-radius-10);
    -ms-border-radius: var(--border-radius-10);
    -o-border-radius: var(--border-radius-10);
}

/* Shine effect overlay */
.ark__submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.6s ease;
}

/* On hover — trigger shine sweep + lift */
.ark__submit-btn:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1.25rem rgba(15, 138, 47, 0.3);
    background: var(--primary-brick-red);
}

.ark__submit-btn:hover::before {
    left: 100%;
}

/* Active state (when clicking) */
.ark__submit-btn:active {
    transform: translateY(-0.0625rem);
    box-shadow: 0 0.25rem 0.75rem rgba(15, 138, 47, 0.25);
    transition: all 0.1s ease;
}

.ark__password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.ark__password-toggle {
    position: absolute;
    right: 0.75rem;
    cursor: pointer;
    color: #666;
    z-index: 2;
}

.ark__password-toggle:hover {
    color: #333;
}

/* ==================== Login Link ==================== */
.ark__login-link {
    text-align: start;
    font-size: var(--text-16);
    color: var(--light-gray);
}

.ark__login-link a {
    color: #3B82F6;
    text-decoration: none;
    font-weight: var(--font-weight-medium);
}

.ark__login-link a:hover {
    text-decoration: underline;
}

.ark__reset-password .ark__login-link {
    text-align: center;
}

/* ==================== Responsive Design ==================== */

@media (max-width: 992px) {

    .ark__container {
        flex-direction: column;
    }

    .ark__form-section {
        max-width: 94%;
        margin: auto;
        width: 100%;
        /* padding: 2rem 1.5rem; */
    }
}

@media (max-width: 576px) {
    .ark__social-buttons {
        flex-direction: column;

    }

    .ark__social-btn {
        padding: 0.25rem;
    }

    .ark__form-section {
        padding: 1rem;
    }

    .ark__logo {
        font-size: 2.5rem;
    }

    .ark__title {
        font-size: var(--h4);
    }
}

@media (max-width: 480px) {
    .ark__title::before {
        width: 1.25rem;
        height: 1.25rem;
    }

    .ark__logo {
        margin-bottom: 1rem;
    }

    .ark__form-section {
        padding: 1rem;
        max-width: 100%;
    }
}