﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-deep-blue: #0B1E33;
    --primary-electric-blue: #2563EB;
    --primary-soft-blue: #60A5FA;
    --accent-orange: #F97316;
    --accent-teal: #14B8A6;
    --gradient-1: linear-gradient(135deg, #0B1E33 0%, #1E3A6F 100%);
    --gradient-2: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    --gradient-3: linear-gradient(135deg, #F97316 0%, #FACC15 100%);
}

body {
    font-family: Vazirmatn, sans-serif !important;
    background: var(--gradient-1);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
    padding: 20px;
}

.floating-shapes {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    animation: float 20s infinite;
}

.shape-1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
}

.shape-2 {
    width: 500px;
    height: 500px;
    bottom: -250px;
    left: -250px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.15) 0%, transparent 70%);
    animation-delay: -5s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 30%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-30px) rotate(10deg);
    }
}

.top-logo {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.8s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }

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

.top-logo .logo-icon {
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s;
}

    .top-logo .logo-icon .material-icons {
        transform: rotate(-45deg);
        color: white;
        font-size: 28px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
    }

.top-logo:hover .logo-icon {
    transform: rotate(225deg);
    background: rgba(255, 255, 255, 0.25);
}

.logo-text {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-card {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    padding: 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

    .login-header h2 {
        color: white;
        font-size: 28px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .login-header p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
    }

    .login-header .gradient-text {
        background: var(--gradient-3);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        font-weight: 800;
    }

.login-main {
    width: 100%;
}

    .login-main h5 {
        color: white;
        font-size: 18px;
        font-weight: 500;
        margin-bottom: 25px;
        opacity: 0.9;
    }

.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 15px 25px;
    color: white;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
    height: auto;
    text-align: left;
    direction: ltr;
}

    .form-control:focus {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--accent-orange);
        box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
        color: white;
        outline: none;
    }

    .form-control::placeholder {
        color: rgba(255, 255, 255, 0.4);
        font-size: 14px;
    }

.input-air-primary {
    border-color: rgba(255, 255, 255, 0.2);
}

#phoneNumber {
    font-size: 18px;
    letter-spacing: 1px;
}

    #phoneNumber.is-valid {
        border-color: #10b981;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: left 15px center;
        background-size: 20px;
        padding-left: 45px;
    }

    #phoneNumber.is-invalid {
        border-color: #ef4444;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23ef4444' stroke='none'/%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: left 15px center;
        background-size: 20px;
        padding-left: 45px;
    }

.btn-primary {
    background: var(--gradient-2);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    font-weight: 600;
    font-size: 16px;
    color: white;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    margin-top: 20px;
    font-family: 'Vazirmatn', sans-serif;
    cursor: pointer;
}

    .btn-primary::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: 0.5s;
    }

    .btn-primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(37, 99, 235, 0.4);
    }

        .btn-primary:hover::before {
            left: 100%;
        }

.field-validation-valid {
    display: none !important;
}

.field-validation-error {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    margin-right: 15px;
    text-align: right;
}

.input-validation-error {
    border-color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.05) !important;
}

    .input-validation-error:focus {
        box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2) !important;
    }

.invalid-feedback {
    display: block;
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    margin-right: 15px;
    text-align: right;
    width: 100%;
}

.validation-summary-valid {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 15px;
    padding: 15px 20px;
    margin-bottom: 20px;
    color: #ef4444;
    font-size: 14px;
    text-align: right;
}

    .validation-summary-valid:empty {
        display: none;
    }

    .validation-summary-valid.d-none {
        display: none !important;
    }

    .validation-summary-valid ul {
        margin: 0;
        padding-right: 20px;
        list-style-type: disc;
    }

    .validation-summary-valid li {
        margin-bottom: 5px;
    }

        .validation-summary-valid li:last-child {
            margin-bottom: 0;
        }

.captcha-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 20px;
    margin: 20px 0;
    animation: fadeIn 0.5s ease;
}

.captcha-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.captcha-title {
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

    .captcha-title::before {
        content: '•';
        color: var(--accent-orange);
        font-size: 18px;
    }

.captcha-question {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2) 0%, rgba(124, 58, 237, 0.2) 100%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 15px;
    text-align: center;
}

.question-text {
    color: white;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    direction: ltr;
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 20px;
    border-radius: 30px;
    font-family: 'Courier New', monospace;
}

.captcha-input-wrapper {
    position: relative;
    width: 100%;
}

.captcha-input {
    width: 100%;
    padding: 15px 45px 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: white;
    font-family: 'Vazirmatn', sans-serif;
    font-size: 16px;
    transition: all 0.3s;
    direction: ltr;
    text-align: left;
}

    .captcha-input:focus {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--accent-orange);
        box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
        outline: none;
    }

    .captcha-input::placeholder {
        color: rgba(255, 255, 255, 0.4);
        font-size: 14px;
    }

    .captcha-input.is-invalid {
        border-color: #ef4444;
    }

.captcha-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-orange);
    font-size: 18px;
    opacity: 0.7;
    z-index: 2;
    pointer-events: none;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.security-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.security-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
}

    .security-item i {
        color: var(--accent-teal);
        font-size: 14px;
    }

.login-guide {
    text-align: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
}

    .login-guide i {
        color: var(--accent-orange);
        margin-left: 5px;
    }

.back-link {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 100;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

    .back-link:hover {
        color: var(--accent-orange);
        transform: translateX(-5px);
        background: rgba(255, 255, 255, 0.15);
    }

.btn-loading {
    position: relative;
    pointer-events: none;
    opacity: 0.8;
}

    .btn-loading .btn-text {
        opacity: 0;
    }

    .btn-loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin-top: -10px;
        margin-left: -10px;
        border: 2px solid white;
        border-top-color: transparent;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
    }

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

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.is-invalid,
.input-validation-error {
    animation: shake 0.3s ease;
}

@media (max-width: 768px) {
    .login-card {
        padding: 30px 20px;
    }

    .top-logo {
        top: 20px;
        right: 20px;
    }

        .top-logo .logo-icon {
            width: 90px;
        }

            .top-logo .logo-icon .material-icons {
                font-size: 22px;
            }

    .logo-text {
        font-size: 24px;
    }

    .back-link {
        bottom: 20px;
        left: 20px;
        padding: 8px 15px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 25px 15px;
    }

    .security-features {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}

.validation-summary {
    display: none;
}

    .validation-summary.validation-summary-errors {
        display: block;
        margin-bottom: 16px;
    }

.validation-summary-errors ul {
    margin: 0;
    padding-right: 20px;
}

.validation-summary-errors li {
    color: #ef4444;
    font-size: 14px;
}


/* ===== استایل صفحه OTP ===== */

/* کانتینر اصلی OTP */
.otp-container {
    margin: 30px 0 20px;
    text-align: center;
}

/* اینپوت‌های 6 رقمی */
.otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    direction: ltr;
    margin-bottom: 15px;
}

.otp-input {
    width: 50px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: white;
    font-size: 24px;
    font-weight: 600;
    text-align: center;
    font-family: 'Courier New', monospace;
    transition: all 0.3s;
    outline: none;
}

    .otp-input:focus {
        background: rgba(255, 255, 255, 0.1);
        border-color: var(--accent-orange);
        box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
        transform: translateY(-2px);
    }

    .otp-input.is-invalid {
        border-color: #ef4444;
        background: rgba(239, 68, 68, 0.05);
    }

/* پیام OTP */
.otp-message {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: 15px;
    padding: 12px 20px;
    margin-bottom: 20px;
    color: var(--accent-orange);
    font-size: 14px;
    text-align: center;
}

    .otp-message i {
        margin-left: 8px;
        font-size: 16px;
    }

/* تایمر */
.timer-container {
    text-align: center;
    margin: 20px 0;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
}

.timer-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .timer-text i {
        color: var(--accent-orange);
        font-size: 16px;
    }

.timer-count {
    color: var(--accent-orange);
    font-weight: 600;
    font-size: 16px;
    font-family: 'Courier New', monospace;
    direction: ltr;
    display: inline-block;
    min-width: 45px;
}

/* دکمه ارسال مجدد */
.resend-btn {
    background: transparent;
    border: 2px solid var(--accent-orange);
    border-radius: 50px;
    padding: 10px 25px;
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

    .resend-btn:hover {
        background: rgba(249, 115, 22, 0.1);
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(249, 115, 22, 0.3);
    }

    .resend-btn i {
        font-size: 14px;
    }

    .resend-btn.btn-loading {
        position: relative;
        pointer-events: none;
        opacity: 0.8;
    }

        .resend-btn.btn-loading::after {
            content: '';
            position: absolute;
            width: 16px;
            height: 16px;
            top: 50%;
            left: 50%;
            margin-top: -8px;
            margin-left: -8px;
            border: 2px solid var(--accent-orange);
            border-top-color: transparent;
            border-radius: 50%;
            animation: spin 0.8s linear infinite;
        }

/* لینک بازگشت به شماره موبایل */
.back-to-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

    .back-to-phone:hover {
        color: var(--accent-orange);
        transform: translateX(-5px);
    }

    .back-to-phone i {
        font-size: 14px;
    }

@media (max-width: 480px) {
    .otp-input {
        width: 40px;
        height: 50px;
        font-size: 20px;
    }

    .otp-inputs {
        gap: 5px;
    }

    .timer-container {
        padding: 12px;
    }

    .resend-btn {
        padding: 8px 20px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .otp-input {
        width: 35px;
        height: 45px;
        font-size: 18px;
    }
}

/* حالت تاریک */
@media (prefers-color-scheme: dark) {
    .otp-input {
        background: rgba(0, 0, 0, 0.2);
    }
}

/* ===== استایل صفحه ثبت نام ===== */

.register-card {
    max-width: 800px !important; /* بزرگتر برای دو کارت */
}

.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    padding: 8px 20px;
    margin-top: 15px;
    color: #10b981;
    font-size: 14px;
}

    .success-badge i {
        font-size: 16px;
    }

.welcome-message {
    text-align: center;
    margin-bottom: 30px;
}

    .welcome-message i {
        font-size: 48px;
        color: var(--accent-orange);
        margin-bottom: 15px;
        background: rgba(249, 115, 22, 0.1);
        padding: 20px;
        border-radius: 50%;
    }

    .welcome-message h5 {
        color: white;
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .welcome-message p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 14px;
    }

.role-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 30px 0;
}

.role-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 25px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .role-card:hover {
        transform: translateY(-5px);
        background: rgba(255, 255, 255, 0.08);
        border-color: rgba(255, 255, 255, 0.2);
        box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
    }

.customer-card:hover {
    border-color: var(--primary-electric-blue);
}

.technician-card:hover {
    border-color: var(--accent-orange);
}

.role-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.customer-card .role-icon {
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
}

.technician-card .role-icon {
    background: linear-gradient(135deg, #F97316 0%, #FACC15 100%);
}

.role-icon i {
    font-size: 32px;
    color: white;
}

.role-content {
    flex: 1;
}

    .role-content h3 {
        color: white;
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .role-content p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 13px;
        margin-bottom: 15px;
        line-height: 1.6;
    }

.role-features {
    list-style: none;
    margin-bottom: 20px;
}

    .role-features li {
        display: flex;
        align-items: center;
        gap: 8px;
        color: rgba(255, 255, 255, 0.8);
        font-size: 13px;
        margin-bottom: 8px;
    }

    .role-features i {
        color: var(--accent-orange);
        font-size: 14px;
    }

.technician-card .role-features i {
    color: var(--accent-orange);
}

.btn-role {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    margin-top: 15px;
    border: 1px solid transparent;
}

.customer-card .btn-role {
    background: linear-gradient(135deg, #2563EB 0%, #7C3AED 100%);
    color: white;
}

    .customer-card .btn-role:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
    }

.technician-card .btn-role {
    background: linear-gradient(135deg, #F97316 0%, #FACC15 100%);
    color: white;
}

    .technician-card .btn-role:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
    }

.btn-role i {
    font-size: 16px;
    transition: transform 0.3s;
}

.btn-role:hover i {
    transform: translateX(-5px);
}

.info-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 15px;
    padding: 15px 20px;
    margin: 20px 0;
}

    .info-box i {
        color: var(--primary-electric-blue);
        font-size: 20px;
    }

    .info-box p {
        color: rgba(255, 255, 255, 0.8);
        font-size: 13px;
        margin: 0;
    }

.back-to-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
    padding: 10px;
}

    .back-to-login:hover {
        color: var(--accent-orange);
        transform: translateX(-5px);
    }

    .back-to-login i {
        font-size: 14px;
    }

/* ریسپانسیو */
@media (max-width: 768px) {
    .role-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .role-card {
        padding: 20px;
    }

    .role-icon {
        width: 60px;
        height: 60px;
    }

        .role-icon i {
            font-size: 28px;
        }

    .role-content h3 {
        font-size: 20px;
    }

    .welcome-message i {
        font-size: 40px;
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .success-badge {
        width: 100%;
        justify-content: center;
    }

    .btn-role {
        padding: 10px 15px;
        font-size: 13px;
    }

    .info-box {
        flex-direction: column;
        text-align: center;
    }
}


.input-wrapper {
    position: relative;
    width: 100%;
}

.input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-orange);
    font-size: 16px;
    opacity: 0.7;
    z-index: 2;
}

.input-wrapper .form-control {
    padding-right: 45px;
}

/* برای فیلد فقط خواندنی */
.form-control[readonly] {
    background: rgba(255, 255, 255, 0.08);
    cursor: default;
}

/* ===== استایل صفحه CreateTechnician ===== */

.create-technician-card {
    max-width: 700px !important;
}

.select-wrapper {
    position: relative;
    width: 100%;
}

.select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-orange);
    font-size: 16px;
    opacity: 0.7;
    z-index: 10;
    pointer-events: none;
}

.select-wrapper select {
    padding-right: 45px;
}

/* استایل Select2 */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--multiple {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 2px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 50px !important;
    min-height: 50px;
    padding: 5px 15px;
}

    .select2-container--default .select2-selection--single .select2-selection__rendered {
        color: white !important;
        line-height: 36px;
    }

    .select2-container--default .select2-selection--single .select2-selection__arrow {
        top: 12px;
        left: 10px;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice {
        background: rgba(249, 115, 22, 0.2) !important;
        border: 1px solid var(--accent-orange) !important;
        color: white !important;
        border-radius: 30px !important;
        padding: 3px 10px !important;
    }

    .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
        color: var(--accent-orange) !important;
        margin-left: 5px;
    }

.select2-dropdown {
    background: var(--primary-deep-blue) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    backdrop-filter: blur(10px);
}

.select2-results__option {
    color: white !important;
    padding: 8px 15px !important;
}

.select2-results__option--highlighted {
    background: rgba(249, 115, 22, 0.2) !important;
}

.select2-search__field {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 30px !important;
    color: white !important;
    padding: 8px 15px !important;
}

/* استایل SumoSelect */
.SumoSelect {
    width: 100% !important;
}

    .SumoSelect > .CaptionCont {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 2px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 50px !important;
        height: 50px;
        padding: 12px 45px 12px 15px !important;
    }

        .SumoSelect > .CaptionCont > span {
            color: white !important;
        }

        .SumoSelect > .CaptionCont > label {
            left: 15px;
            right: auto !important;
        }

    .SumoSelect > .optWrapper {
        background: var(--primary-deep-blue) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 15px !important;
        backdrop-filter: blur(10px);
    }

        .SumoSelect > .optWrapper > .options li.opt {
            color: white !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        }

            .SumoSelect > .optWrapper > .options li.opt:hover {
                background: rgba(249, 115, 22, 0.2) !important;
            }

        .SumoSelect > .optWrapper.multiple > .options li.opt span {
            border-color: rgba(255, 255, 255, 0.2) !important;
            background: transparent !important;
        }

        .SumoSelect > .optWrapper.multiple > .options li.opt.selected span i {
            background-color: var(--accent-orange) !important;
        }

.form-actions {
    margin-top: 30px;
}

    .form-actions button {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

        .form-actions button i {
            font-size: 18px;
        }

/* ریسپانسیو */
@media (max-width: 768px) {
    .create-technician-card {
        padding: 30px 20px !important;
    }

    .row {
        margin: 0 -5px;
    }

    [class*="col-"] {
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .create-technician-card {
        padding: 20px 15px !important;
    }
}