/* ==========================================================================
   SIGN IN PAGE STYLES (rem only, 1rem = 10px)
   ========================================================================== */

.signin-section {
    min-height: calc(100vh - 7.2rem);
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.signin-section > .container-fluid {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.signin-section > .container-fluid > .row {
    flex: 1 1 auto;
    min-height: 100%;
}

/* Left Banner Column */
.signin-image-col {
    position: relative;
    padding: 0;
    overflow: hidden;
    background-color: #ffffff;
    min-height: 100%;
}

.signin-banner-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Right Form Column */
.signin-form-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(3.2rem, 4.0vw, 6.0rem) clamp(2.4rem, 3.6vw, 4.8rem);
    background-color: #ffffff;
}

/* Login Card Container */
.login-card {
    background-color: #f4f4f4;
    border-radius: 3.2rem;
    padding: 4.2rem 3.4rem 3.6rem 3.4rem;
    max-width: 44.0rem;
    width: 100%;
    box-shadow: none;
    border: none;
}

/* Typography */
.login-title {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 3.2rem;
    font-weight: 400;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 0.6rem;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.login-subtitle {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #555555;
    text-align: center;
    margin-bottom: 2.8rem;
    line-height: 1.4;
}

/* Form Controls */
.signin-form .form-group {
    margin-bottom: 2.0rem;
}

.signin-form .form-label-custom {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #555555;
    letter-spacing: 0.06em;
    display: block;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.forgot-password-link {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    color: #555555;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.2s ease;
}

.forgot-password-link:hover {
    color: #111111;
    text-decoration: underline;
}

/* Pill Input Wrapper */
.input-pill-wrapper {
    background-color: #ffffff;
    border-radius: 5rem;
    height: 4.6rem;
    padding: 0 1.8rem;
    display: flex;
    align-items: center;
    gap: 1.2rem;
    border: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-pill-wrapper:focus-within {
    border-color: #d1d5db;
    box-shadow: 0 0 0 0.25rem rgba(53, 243, 255, 0.25);
}

.input-pill-icon {
    width: 1.6rem;
    height: 1.6rem;
    color: #1a1a1a;
    flex-shrink: 0;
}

.input-pill-field {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.35rem;
    font-weight: 400;
    color: #111111;
    outline: none;
    padding: 0;
}

.input-pill-field::placeholder {
    color: #888888;
    font-size: 1.3rem;
    font-weight: 400;
}

/* Password Toggle Icon */
.password-toggle-btn {
    background: none;
    border: none;
    color: #555555;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.15s ease;
}

.password-toggle-btn:hover {
    color: #111111;
}

.password-toggle-btn .eye-icon {
    width: 1.6rem;
    height: 1.6rem;
}

/* Submit Button: Centered Cyan Pill */
.btn-login {
    background-color: #35f3ff !important;
    color: #000000 !important;
    border-radius: 5rem !important;
    width: 21.0rem;
    max-width: 75%;
    height: 4.6rem;
    margin: 2.6rem auto 2.0rem auto;
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    border: none !important;
    box-shadow: none;
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.2s ease, background-color 0.2s ease;
}

.btn-login:hover {
    background-color: #20e8f7 !important;
    filter: brightness(0.97);
    transform: translateY(-1px);
    color: #000000 !important;
}

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

.btn-login .arrow-icon {
    display: inline-block;
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 800;
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.btn-login:hover .arrow-icon {
    transform: translate(2px, -2px);
}

/* Bottom Register Prompt */
.login-footer-text {
    font-family: 'Urbanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #111111;
    text-align: center;
    margin: 0;
}

.register-link {
    color: #9624c1 !important;
    font-weight: 700;
    text-decoration: none;
    margin-left: 0.4rem;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.register-link:hover {
    color: #7b1aa2 !important;
    text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 991.98px) {
    .signin-section {
        min-height: auto;
    }

    .signin-section > .container-fluid,
    .signin-section > .container-fluid > .row {
        flex: 0 0 auto;
    }

    .signin-image-col {
        position: relative;
        min-height: 0;
        height: 38rem;
        width: 100%;
    }

    .signin-banner-img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .login-card {
        padding: 3.5rem 2.5rem;
        border-radius: 2.4rem;
        max-width: 44rem;
    }

    .btn-login {
        width: 20rem;
    }
}

@media (max-width: 575.98px) {
    .signin-image-col {
        height: 28rem;
    }

    .signin-form-col {
        padding: 3rem 1.6rem;
    }

    .login-card {
        padding: 3rem 2rem;
        border-radius: 2rem;
    }

    .login-title {
        font-size: 2.6rem;
    }

    .login-subtitle {
        margin-bottom: 2.4rem;
    }

    .btn-login {
        width: 100%;
        max-width: 24rem;
    }
}

@media (max-width: 375px) {
    .signin-image-col {
        height: 24rem;
    }

    .signin-form-col {
        padding: 2rem 1.2rem;
    }

    .login-card {
        padding: 2.4rem 1.4rem;
        border-radius: 1.8rem;
    }

    .login-title {
        font-size: 2.2rem;
    }

    .btn-login {
        width: 100%;
    }
}
