    :root {
        --color-primary: #9E6061;
        --color-primary-dark: #7f4d4e;
        --color-primary-light: #b97b7c;
        --color-secondary: #E9A99F;
        --color-secondary-dark: #d48f84;
        --color-secondary-light: #f3bdb4;
        --color-background: #F3F3F3;
        --color-male: #4A90E2;
        --color-female: #E91E63;
        --color-card-bg: #FFFFFF;
        --color-card-hover: #F9F9F9;
    }

    .no-spinner {
        /* برای WebKit */
        -webkit-appearance: none;
        -moz-appearance: textfield;
        appearance: none;
    }

    .no-spinner::-webkit-outer-spin-button,
    .no-spinner::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    body {
        background-color: var(--color-background);
        font-family: 'Vazirmatn FD NL', 'Tanha', 'Roboto', sans-serif;
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        margin: 0;
        padding: 20px;
    }

    .login-container {
        text-align: center;
        max-width: 400px;
        width: 100%;
    }

    .login-btn {
        background-color: var(--color-primary);
        color: white;
        border: none;
        padding: 15px 40px;
        border-radius: 30px;
        font-weight: 600;
        font-size: 18px;
        transition: all 0.3s;
        box-shadow: 0 4px 15px rgba(196, 101, 73, 0.3);
    }

    .login-btn:hover {
        background-color: #b35a42;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(196, 101, 73, 0.4);
    }

    /* استایل‌های مودال */
    .custom-modal .modal-content {
        border-radius: 20px;
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        overflow: hidden;
    }

    .custom-modal .modal-header {
        border-bottom: 2px solid var(--color-secondary);
        background: linear-gradient(135deg, var(--color-background), white);
        padding: 20px 30px;
        position: relative;
    }

    .custom-modal .modal-header .btn-close {
        padding: 0;
        position: relative;
        top: 3px;
    }

    .custom-modal .modal-header .btn-close:hover {
        opacity: 1;
    }

    .custom-modal .modal-body {
        padding: 30px;
    }

    .custom-modal .modal-footer {
        border-top: 2px solid var(--color-secondary);
        padding: 20px 30px;
        background-color: #f9f9f9;
    }

    /* استایل‌های فرم */
    .form-group {
        position: relative;
        margin-bottom: 25px;
    }

    .form-input {
        direction: ltr;
        width: 100%;
        padding: 15px 20px;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        font-size: 16px;
        background-color: white;
        transition: all 0.3s;
        text-align: center;
        letter-spacing: 8px;
    }

    .form-input:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(196, 101, 73, 0.1);
    }

    .form-label {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background-color: white;
        padding: 0 8px;
        color: #999;
        transition: all 0.3s;
        pointer-events: none;
    }

    .form-input:focus+.form-label,
    .form-input:not(:placeholder-shown)+.form-label {
        top: 0;
        font-size: 12px;
        color: var(--color-primary);
    }

    /* استایل کد تایید */
    .verification-container,
    .gender-container,
    .role-container {
        display: none;
    }

    .verification-inputs {
        display: flex;
        justify-content: space-between;
        margin-bottom: 25px;
    }

    .verification-input {
        width: 55px;
        height: 55px;
        text-align: center;
        font-size: 20px;
        font-weight: bold;
        border: 2px solid #e0e0e0;
        border-radius: 12px;
        background-color: white;
        transition: all 0.3s;
    }

    .verification-input:focus {
        outline: none;
        border-color: var(--color-primary);
        box-shadow: 0 0 0 3px rgba(196, 101, 73, 0.1);
    }

    .verification-input.filled {
        border-color: var(--color-primary);
    }

    /* دکمه‌ها */
    .submit-btn {
        background-color: var(--color-primary);
        color: white;
        border: none;
        padding: 15px;
        border-radius: 12px;
        font-weight: 600;
        font-size: 16px;
        width: 100%;
        transition: all 0.3s;
        margin-top: 20px;
    }

    .submit-btn:hover:not(:disabled) {
        background-color: #b35a42;
    }

    .submit-btn:disabled {
        background-color: #cccccc;
        cursor: not-allowed;
    }

    .back-btn {
        background: none;
        border: none;
        color: var(--color-primary);
        font-size: 14px;
        cursor: pointer;
        display: flex;
        align-items: center;
        margin-bottom: 15px;
        padding: 0;
    }

    .back-btn i {
        margin-left: 5px;
    }

    /* شمارش معکوس */
    .countdown {
        text-align: center;
        color: #666;
        margin-top: 15px;
    }

    .resend-code {
        text-align: center;
        margin-top: 15px;
    }

    .resend-link {
        color: var(--color-primary);
        text-decoration: none;
        cursor: pointer;
    }

    .resend-link:hover {
        text-decoration: underline;
    }

    .resend-link:disabled {
        color: #999;
        cursor: not-allowed;
    }

    /* کارت‌های انتخاب جنسیت */
    .gender-cards {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        margin: 25px 0;
    }

    .gender-card {
        background-color: var(--color-card-bg);
        border: 3px solid #e0e0e0;
        border-radius: 15px;
        padding: 25px 15px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s;
    }

    .gender-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        background-color: var(--color-card-hover);
    }

    .gender-card.selected {
        border-color: var(--color-primary);
        background-color: rgba(158, 96, 97, 0.05);
    }

    .gender-card.male:hover {
        border-color: var(--color-male);
    }

    .gender-card.female:hover {
        border-color: var(--color-female);
    }

    .gender-card.male.selected {
        border-color: var(--color-male);
        background-color: rgba(74, 144, 226, 0.05);
    }

    .gender-card.female.selected {
        border-color: var(--color-female);
        background-color: rgba(233, 30, 99, 0.05);
    }

    .gender-icon {
        font-size: 50px;
        margin-bottom: 15px;
    }

    .gender-card.male .gender-icon {
        color: var(--color-male);
    }

    .gender-card.female .gender-icon {
        color: var(--color-female);
    }

    .gender-name {
        font-size: 18px;
        font-weight: 600;
        color: #333;
    }

    /* کارت‌های انتخاب نقش */
    .role-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 25px 0;
    }

    @media (min-width: 768px) {
        .role-cards {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .role-card {
        background-color: var(--color-card-bg);
        border: 3px solid #e0e0e0;
        border-radius: 15px;
        padding: 25px 15px;
        text-align: center;
        cursor: pointer;
        transition: all 0.3s;
    }

    .role-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        background-color: var(--color-card-hover);
    }

    .role-card.selected {
        border-color: var(--color-primary);
        background-color: rgba(158, 96, 97, 0.05);
    }

    .role-icon {
        font-size: 40px;
        margin-bottom: 15px;
        color: var(--color-primary);
    }

    .role-name {
        font-size: 16px;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
    }

    .role-description {
        font-size: 12px;
        color: #666;
        line-height: 1.5;
    }

    /* هدر فرم */
    .form-header {
        text-align: center;
        margin-bottom: 25px;
    }

    .form-header h5 {
        color: var(--color-primary);
        font-weight: 600;
        margin-bottom: 5px;
    }

    .form-header p {
        color: #666;
        font-size: 14px;
    }

    /* دکمه‌های اجتماعی */
    .social-login {
        margin-top: 25px;
        text-align: center;
    }

    .social-divider {
        display: flex;
        align-items: center;
        margin: 20px 0;
        color: #666;
    }

    .social-divider::before,
    .social-divider::after {
        content: "";
        flex: 1;
        height: 1px;
        background-color: #e0e0e0;
    }

    .social-divider::before {
        margin-left: 10px;
    }

    .social-divider::after {
        margin-right: 10px;
    }

    .social-buttons {
        display: flex;
        justify-content: center;
        gap: 15px;
    }

    .social-btn {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #e0e0e0;
        background-color: white;
        color: #666;
        transition: all 0.3s;
    }

    .social-btn:hover {
        border-color: var(--color-primary);
        color: var(--color-primary);
        transform: translateY(-2px);
    }

    /* انیمیشن‌ها */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .fade-in {
        animation: fadeIn 0.5s ease-out;
    }

    /* پیشرفت مراحل */
    .progress-steps {
        display: flex;
        justify-content: space-between;
        margin-bottom: 25px;
        position: relative;
    }

    .progress-steps::before {
        content: "";
        position: absolute;
        top: 15px;
        right: 0;
        left: 0;
        height: 3px;
        background-color: #e0e0e0;
        z-index: 1;
    }

    .progress-bar {
        position: absolute;
        top: 15px;
        right: 0;
        height: 3px;
        background-color: var(--color-primary);
        z-index: 2;
        transition: width 0.3s;
    }

    .step {
        position: relative;
        z-index: 3;
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 25%;
    }

    .step-circle {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        background-color: white;
        border: 3px solid #e0e0e0;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        color: #999;
        margin-bottom: 8px;
        transition: all 0.3s;
    }

    .step.active .step-circle {
        border-color: var(--color-primary);
        background-color: var(--color-primary);
        color: white;
    }

    .step.completed .step-circle {
        border-color: var(--color-primary);
        background-color: var(--color-primary);
        color: white;
    }

    .step.completed .step-circle::after {
        content: "✓";
        font-size: 14px;
    }

    .step-label {
        font-size: 12px;
        color: #999;
        text-align: center;
    }

    .step.active .step-label {
        color: var(--color-primary);
        font-weight: 600;
    }

    /* آیکون‌های سفارشی */
    .bi-person,
    .bi-gender-male,
    .bi-gender-female {
        font-size: 1.5em;
    }

    .alert {
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 1056;
        min-width: 300px;
    }

    .spinner {
        animation: spin 1s linear infinite;
    }

    @keyframes spin {
        0% {
            transform: rotate(0deg);
        }

        100% {
            transform: rotate(360deg);
        }
    }



    /* استایل برای کارت‌های انتخاب نقش */
    .role-selection-cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }

    .role-selection-card {
        padding: 20px;
        border: 2px solid #e1e5e9;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: center;
    }

    .role-selection-card:hover {
        border-color: var(--color-primary);
        transform: translateY(-2px);
    }

    .role-selection-card.selected {
        border-color: var(--color-primary);
        background-color: var(--color-secondary-light);
    }

    .role-selection-icon {
        font-size: 32px;
        color: var(--color-primary);
        margin-bottom: 10px;
    }

    .role-selection-name {
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 5px;
    }

    .role-selection-description {
        font-size: 12px;
        color: #6c757d;
    }

    /* استایل برای کارت‌های انتخاب سالن */
    .salon-cards {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-bottom: 25px;
    }

    .salon-card {
        padding: 20px;
        border: 2px solid #e1e5e9;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .salon-card:hover {
        border-color: var(--color-primary);
        transform: translateY(-2px);
    }

    .salon-card.selected {
        border-color: var(--color-primary);
        background-color: var(--color-secondary-light);
    }

    .salon-name {
        font-weight: 600;
        font-size: 16px;
        margin-bottom: 5px;
    }

    .salon-address {
        font-size: 12px;
        color: #6c757d;
        margin-bottom: 8px;
    }

    .salon-info {
        display: flex;
        justify-content: space-between;
        font-size: 11px;
        color: #495057;
    }
