/* ============================================
   Modern Login Form - Clean & Centered
   ============================================ */

input::placeholder {
    font-size: 16px;
    color: #9ca3af;
    opacity: 1;
}

main {
    background-color: transparent;
}

/* ============================================
   Login App Container - Light Grey Background
   ============================================ */
.login-app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    padding: 20px;
}

/* ============================================
   Login Header - Brand Section
   ============================================ */
.login-header {
    padding: 0;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.login-brand {
    color: #1a1a1a;
}

.login-title {
    font-size: clamp(32px, 6vw, 42px);
    font-weight: 300;
    margin: 0 0 6px 0;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.login-subtitle {
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 400;
    color: #6b7280;
    margin: 0;
    letter-spacing: 0.2px;
}

/* ============================================
   Login Content - Card Container
   ============================================ */
.login-content {
    width: 100%;
    max-width: 420px;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.login-card {
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    padding: 40px 32px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ============================================
   Login Card Header - Centered
   ============================================ */
.login-card-header {
    text-align: center;
    margin-bottom: 32px;
}

.login-card-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

.login-description {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* ============================================
   Login Form Wrapper
   ============================================ */
.login-form-wrapper {
    width: 100%;
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
    letter-spacing: 0;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    max-width: 100%;
    appearance: none;
    font-family: inherit;
    margin-bottom: 10px;
}

.form-group input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.form-group input:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group input:hover:not(:focus) {
    border-color: #d1d5db;
}

.btn_container button {
    width: 100%;
}

.change_number_btn {
    text-align: center;
    margin-top: 20px;
    color: var(--lite-shade-color);
    cursor: pointer;
}

.change_number_btn:hover {
    text-decoration: underline;
}

/* OTP Verification Form Container */
.otp-verify-container {
    width: 100%;
    margin-top: 20px;
    animation: fadeIn 0.3s ease-out;
}

.otp-verify-container form {
    display: block !important;
    width: 100%;
}

.otp-verify-container form input[type="tel"] {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #1a1a1a;
    background: #ffffff;
    transition: all 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    font-family: inherit;
    margin-bottom: 10px;
    display: block !important;
}

.otp-verify-container form input[type="tel"]:focus {
    outline: none;
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.otp-verify-container form input[type="tel"]::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

.otp-verify-container .btn_container {
    margin-top: 16px;
}

.otp-verify-container p.tiny {
    font-size: 12px;
    color: #6b7280;
    margin: 8px 0;
    line-height: 1.5;
}

.otp-verify-container span.tiny {
    font-size: 12px;
    color: #6b7280;
    display: block;
    margin-bottom: 10px;
}

/* ============================================
   Login Submit Button - Purple, Uppercase
   ============================================ */

/* ============================================
   Responsive Design - Mobile First
   ============================================ */
@media (max-width: 480px) {
    .login-app-container {
        padding: 16px;
    }

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

    .login-title {
        font-size: 28px;
    }

    .login-subtitle {
        font-size: 13px;
    }

    .login-card {
        padding: 32px 24px;
        border-radius: 10px;
    }

    .login-card-header {
        margin-bottom: 28px;
    }

    .login-card-header h2 {
        font-size: 22px;
    }

    .login-description {
        font-size: 13px;
    }

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

    .form-group label {
        font-size: 13px;
        margin-bottom: 7px;
    }

    .form-group input {
        padding: 11px 14px;
        font-size: 16px;
        /* Prevent zoom on iOS */
        border-radius: 6px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .login-card {
        max-width: 400px;
        padding: 36px 28px;
    }
}

/* ============================================
   Legacy Support (Old Login Form)
   ============================================ */
.starter_anim,
.login_form {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 2rem;
    z-index: 999;
    opacity: 0;
}

.starter_anim {
    text-align: center;
    animation: open_slide_left 4s ease-out forwards;
}

.login_form {
    animation: slide_to_center .5s ease-out 2.4s forwards;
    border-radius: 21px;
    padding: 18px 33px;
    height: 450px;
    background: var(--white);
    box-shadow: var(--shadow-lite);
}

form {
    display: block !important;
}

.modal {
    background-color: var(--modal-bg);
}

@keyframes open_slide_left {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.7);
    }

    20% {
        transform: translate(-50%, -50%) scale(1);
    }

    60% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translate(-610%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes slide_to_center {
    0% {
        opacity: 0;
        transform: translate(100%, -50%);
    }

    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

.starter_anim h2,
.starter_anim p {
    color: var(--danger-red);
}

.starter_anim p {
    transform: translateY(0px);
}

.corporate-column.corporate h2 {
    color: var(--white);
    color: var(--danger-red);
    font-size: 18px;
}

.form_control_content {
    text-align: left;
}

.form_control_content input {
    outline: var(--danger-red);
    font-weight: 700;
    font-size: 20px;
}

.form_control_content button {
    background: transparent;
    color: var(--lite-text-color);
    font-weight: 600;
    border: var(--border-lite);
    padding: 7px 15px;
    display: flex;
    height: 34px;
    align-items: anchor-center;
}

.btn_container button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

form p {
    font-size: 10px;
}

.corporate-column.corporate .form_container {
    width: auto;
    display: inline-block;
    margin: auto;
    width: 100%;
    max-width: 720px;
}

.float_bottom {
    position: fixed;
    z-index: 50;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    display: flex;
    gap: 6px;
    align-items: center;
}

.float_bottom strong,
.float_bottom p {
    color: var(--white);
}

@media (min-width: 1064px) {
    .float_right h2 {
        font-size: 40px;
    }

    .float_right {
        position: fixed;
        top: 59%;
        right: 5%;
    }
}