﻿/* Modal Overlay */
.modal {
    opacity: 0; /* Start fully transparent */
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    transform: scale(0.95); /* Slightly smaller for a zoom-in effect */
    transition: opacity 0.3s ease, transform 0.3s ease; /* Smooth transition */
}
    /* When the modal is visible */
    .modal.active {
        opacity: 1; /* Fully visible */
        transform: scale(1); /* Normal size */
    }

.hidden {
    display: none;
}
/* Error message styling */
.message-error {
    color: #dc3545;
    font-size: 1em;
    margin-bottom: 5px;
}

.message-info {
    color: #1411e9;
    font-size: 1em;
    margin-bottom: 5px;
}
/* phoneNumber Info message styling */
.phone-number-info {
    color: #1411e9;
    font-size: 1em;
    margin-bottom: 5px;
    font-weight: bold;
}


.btnForgetPasswordContainer {
    background: none;
    border: 0;
    color: white;
    position: absolute;
    left: 0;
    bottom: 20px;
}

.btnOPTLoginContainer {
    background: none;
    border: 0;
    color: white;
    position: absolute;
    right: 0;
    bottom: 20px;
}

.btnShowForgetPasswordModal {
    background: none;
    border: 0;
    color: white;
    margin-top: 1rem;
    display: block;
    margin-right: auto;
}

.btnShowOTPModal {
    background: none;
    border: 0;
    color: white;
    margin-top: 1rem;
    display: block;
    margin-left: auto;
}

/* Modal Content */
.modal-content {
    background-color: #fff;
    /* Higher on the page */
    padding: 30px;
    width: 90%;
    max-width: 500px;
    /* Larger modal */
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    /* Subtle shadow for depth */
    position: absolute;
    text-align: center;
    /* Center all content */
    direction: rtl;
    /* Right-to-left for Persian */
    top: 50%;
    left: 50%;
    transform: translateY(-50%) translateX(-50%);
}

/* Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .close:hover {
        color: #000;
    }

/* Modal Title */
.modal-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

/* Step Visibility */
.step {
    display: none;
}

    .step.active {
        display: block;
    }

/* Form Group for Spacing */
.form-group {
    margin-bottom: 20px;
}

/* Inputs */
.forget-password-input {
    margin-top: 5px !important;
    direction: rtl;
    width: 100%;
    /* Full width */
    padding: 14px 16px;
    /* Larger inputs */
    margin: 0 auto;
    /* Centered horizontally */
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
    background-color: #f9f9f9;
    /* Light background */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

    .forget-password-input:focus {
        border-color: #007bff;
        box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
        /* Glow effect */
        outline: none;
    }

/* Button Styling */
.btn-custom {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    background-color: #007bff;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .btn-custom:hover {
        background-color: #0056b3;
    }

/* Responsive Adjustments */
@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 5% auto;
        padding: 20px;
    }

    .forget-password-input {
        padding: 12px;
        font-size: 14px;
    }

    .btn-custom {
        padding: 12px;
        font-size: 14px;
    }
}


.smsValidationTimer {
    /* Layout and Positioning */
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    /* Fixed width for consistency */
    height: 35px;
    /* Comfortable height */
    /* Typography */
    font-size: 18px;
    font-weight: 600;
    /* Slightly bold for emphasis */
    color: #2c3e50;
    /* Dark slate for readability */
    /* Background and Border */
    background: linear-gradient(135deg, #ecf0f1, #dfe6e9);
    /* Subtle gradient */
    border-radius: 20px;
    /* Smooth, pill-like shape */
    /* Box Shadow for Depth */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.08);
    /* Animation for a ticking feel */
    transition: all 0.3s ease;
    margin-top: 15px;
}

    /* Optional: Hover effect for interactivity */
    .smsValidationTimer:hover {
        background: linear-gradient(135deg, #dfe6e9, #ecf0f1);
        /* Reverse gradient */
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15);
    }

    /* Optional: Style when timer is low (e.g., under 30 seconds) */
    .smsValidationTimer.low-time {
        color: #e74c3c;
        /* Red to indicate urgency */
        border-color: #e74c3c;
        animation: pulse 1s infinite;
        /* Pulsing effect */
    }

/* Pulse animation for low-time */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}


.loader120-container {
    width: 100%;
    height: 100%;
    position: absolute;
    background: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
}

.loader120 {
    position: absolute !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    display: inline-block;
    border-top: 4px solid #fff !important;
    border-right: 4px solid transparent !important;
    box-sizing: border-box !important;
    animation: rotation 1s linear infinite !important;
    top: 42%;
    opacity: 1;
    left: 45%;
    transform: translateY(-50%) translateX(-50%);
}

    .loader120::after {
        content: '' !important;
        box-sizing: border-box !important;
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        width: 48px !important;
        height: 48px !important;
        opacity: 1;
        border-radius: 50% !important;
        border-left: 4px solid #004a73 !important;
        border-bottom: 4px solid transparent !important;
        animation: rotation 0.5s linear infinite reverse !important;
    }

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}
