﻿html, body {
    height: 100%;
    margin: 0;
/*    overflow: hidden;*/
    background-color: #f1f3f6;
    font-family: 'Vazirmatn', sans-serif;
    color: #222;
}


.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.auth-card {
    width: 100%;
    max-width: 600px;
    background-color: #fff;
    border-radius: 1rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
/*    max-height: 700px;*/
}

.auth-header {
    background: linear-gradient(135deg, #0d47a1, #1565c0);
    color: #fff;
    text-align: center;
    padding: 1rem;
}

    .auth-header h3 {
        font-weight: 700;
        margin-bottom: 0;
    }

.auth-body {
    padding: 0.1rem 2rem 1rem 2rem;
}

.auth-footer {
    text-align: center;
    padding: 0.1rem;
    font-size: 0.9rem;
    color: #777;
}

input.form-control {
    height: 45px;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: #0d47a1;
    border: none;
}

    .btn-primary:hover {
        background-color: #1565c0;
    }

#cardBorder {
    max-width: 450px;
/*    max-height: 600px;*/
    margin-top: 2rem;
}
/*مربوط به  OTP*/

body, input, button, label, p, h3, span {
    font-family: 'Vazir', sans-serif !important;
}

.verify-card {
    max-width: 450px;
    margin: 50px auto;
    background: #ffffff;
    border-radius: 25px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    padding: 2.5rem;
}

.otp-input {
    font-size: 1.8rem;
    letter-spacing: 10px;
    text-align: center;
    direction: ltr;
}

.btn-verify {
    background-color: #0d6efd;
    border: none;
    transition: all 0.3s ease;
}

    .btn-verify:hover {
        background-color: #084298;
    }

.timer {
    font-size: 1rem;
    color: #555;
    text-align: center;
    margin-top: 1rem;
}

.resend-btn {
    background: transparent;
    border: none;
    color: #0d6efd;
    font-weight: bold;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .resend-btn:disabled {
        color: #aaa;
        cursor: not-allowed;
        text-decoration: none;
    }



/*پایان بخش OTP*/
/* =================================================================
--- Responsive Styles (Mobile) ---
================================================================= */

/* Mobile Styles (max-width: 576px) */
@media (max-width: 576px) {
    .auth-wrapper {
        padding: 1rem; /* Add padding to prevent card from touching screen edges */
    }

    .auth-card {
        max-height: none; /* Allow height to adjust */
        margin: 1rem;
        border-radius: 0.75rem;
    }

    .auth-body {
        padding: 1.5rem;
    }

    input.form-control {
        font-size: 16px; /* Prevents zoom on focus in iOS */
    }
}





