@import "normalize.css";
@import "bootstrap.min.css";
@import "default-style.css";
@import "color.css";


body {
    font-family: var(--font-site), serif;
    background-color: #f8f3e6;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.auth-container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin: 2rem auto;
}

.auth-image {
    background-image: linear-gradient(to bottom right, rgb(209, 213, 219) 0%, #d4af37 85%);
    background-size: cover;
    background-position: center;
    min-height: 600px;
}

.auth-forms {
    padding: 2rem;
}

.logo {
    max-width: 120px;
    margin-bottom: 2rem;
}

.phone-icon {
    width: 120px;
    margin-bottom: 2rem;
}

.form-control {
    border-radius: 10px;
    padding: 0.8rem 1rem;
    direction: ltr;
    font-size: 1.1rem;
}

.btn-continue {
    background-color: #d4af37;
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    color: white;
    font-weight: bold;
    width: 100%;
    margin-top: 1rem;
}

.btn-continue:hover {
    background-color: #c4a030;
}

.otp-inputs {
    direction: ltr;
}

.slide {
    display: none;
}

.slide.active {
    display: block;
}

.terms {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.terms a {
    color: #d4af37;
    text-decoration: none;
}

.invalid-feedback {
    font-size: 0.875rem;
    color: #dc3545;
}

@media (max-width: 768px) {
    .auth-image {
        display: none !important;
    }

    .col-md-6 {
        width: 100%;
    }
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.6); /* روشن و واضح‌تر */
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease;
}

.loading-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.9);
    padding: 20px 30px;
    border-radius: 16px; /* لبه‌های گرد واقعی */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #c9a66b; /* بژ گرم، شیرین */
    border-radius: 50%; /* لبه گرد واقعی */
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-text {
    font-size: 14px;
    color: #444;
    direction: rtl;
    text-align: center;
    opacity: 0.9;
}
