/* ===== Page ===== */
body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background: #ffffff;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ===== Main Wrapper ===== */
.login-logo-wrapper {
    width: 100%;
    max-width: 1440px;
    padding: 56px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
    box-sizing: border-box;
}

/* ===== Logo ===== */
.logo-container img {
    max-width: 160px;
    height: auto;
}

/* ===== Card ===== */
.auth-card {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ===== Titles ===== */
.auth-title {
    text-align: center;
    font-size: 24px;
    font-weight: 600;
    color: #171717;
    margin: 0;
}

.auth-subtitle {
    text-align: center;
    font-size: 14px;
    color: #5c5c5c;
    margin: 0;
}

/* ===== Error ===== */
#auth-error {
    text-align: center;
    color: red;
    font-weight: 600;
}

/* ===== Shared Form Styles ===== */
form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hidden {
    display: none;
}

/* ===== Inputs ===== */
input {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #ebebeb;
    background: #f7f7f7;
    font-size: 14px;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: #0fa9d2;
    background: #ffffff;
}

/* ===== Phone Input ===== */
.phone-input-wrapper {
    position: relative;
    width: 100%;
}

.phone-number {
    font-size: 14px;
    font-weight: 500;
    color: #171717;
    margin: 0;
}

.phone-input-wrapper input {
    padding-right: 88px;
}

/* ===== OTP Send Button (inside input) ===== */
.otp-send-btn {
    position: absolute;
    right: 8px;
    top: 65%;
    transform: translateY(-50%);

    padding: 6px 10px;
    border-radius: 8px;
    background: #f0f0f0;
    border: none;

    font-size: 13px;
    font-weight: 500;
    color: #5c5c5c;
    cursor: pointer;
    white-space: nowrap;
}

.otp-send-btn:hover {
    background: #e6e6e6;
}

/* ===== OTP Verify ===== */
.verify-code {
    font-size: 14px;
    font-weight: 500;
    color: #5c5c5c;
    margin-top: 12px;
}

/* ===== Submit Button ===== */
.auth-submit-btn {
    margin-top: 8px;
    height: 40px;
    border-radius: 10px;
    background: #0fa9d2;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.auth-submit-btn:hover {
    background: #0c95ba;
}

/* ===== OR Divider ===== */
.or-divider {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.or-line {
    flex: 1;
    height: 1px;
    background: #ebebeb;
}

.or-text {
    font-size: 11px;
    font-weight: 500;
    color: #a3a3a3;
    letter-spacing: 0.22px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ===== Google Login ===== */
.google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    height: 40px;
    border-radius: 10px;
    border: 1px solid #ebebeb;
    background: #ffffff;

    text-decoration: none;
    color: #000;
    font-size: 14px;
    font-weight: 500;

    box-shadow: 0 1px 2px rgba(10, 13, 20, 0.03);
}

.google-login:hover {
    background: #fafafa;
}

.google-icon {
    width: 24px;
    height: 24px;
    display: flex;
}