﻿/* ==================== استایل عنوان مشترک (section-heading) ==================== */
.section-heading {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #1e293b;
    display: inline-block;
    position: relative;
}

    .section-heading::after {
        content: '';
        position: absolute;
        bottom: -10px;
        right: 0;
        width: 70px;
        height: 3px;
        background: linear-gradient(90deg, #224173, #1b3560);
        border-radius: 3px;
    }

body.dark-mode .section-heading {
    color: #f1f5f9;
}

@media (max-width: 767px) {
    .section-heading {
        font-size: 1.7rem;
    }

        .section-heading::after {
            width: 50px;
            bottom: -6px;
        }
}

/* ==================== فرم درخواست تعمیر – مدرن و حرفه‌ای (بدون تغییر دکمه) ==================== */
.quick-form {
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 2rem;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(255, 255, 255, 0.3) inset;
    border: none;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

    .quick-form:hover {
        transform: translateY(-4px);
        box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.4) inset;
    }

    /* نوار رنگی بالای کارت – ضخیم‌تر و براق‌تر */
    .quick-form::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 8px;
        background: linear-gradient(90deg, #224173, #1b3560, #224173);
        z-index: 2;
        opacity: 0.9;
    }

    /* هاله‌های تزئینی پویا */
    .quick-form::after {
        content: '';
        position: absolute;
        bottom: -80px;
        right: -80px;
        width: 250px;
        height: 250px;
        background: radial-gradient(circle, rgba(34, 65, 115, 0.15) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
        pointer-events: none;
    }

    /* هاله دوم در سمت چپ بالا */
    .quick-form .quick-form-bg-blob {
        position: absolute;
        top: -60px;
        left: -60px;
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(34, 65, 115, 0.1) 0%, transparent 70%);
        border-radius: 50%;
        z-index: 0;
        pointer-events: none;
    }

    /* عنوان و متن */
    .quick-form h3 {
        font-size: 1.8rem;
        font-weight: 800;
        color: #0f172a;
        letter-spacing: -0.3px;
        position: relative;
        z-index: 3;
        text-align: center;
        margin-bottom: 0.75rem;
        background: linear-gradient(135deg, #0f172a, #224173);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
        display: inline-block;
        width: 100%;
    }

    .quick-form p {
        color: #475569;
        position: relative;
        z-index: 3;
        font-size: 0.95rem;
        text-align: center;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    /* فیلدهای ورودی – طراحی مدرن تر */
    .quick-form .form-control,
    .quick-form .form-select {
        border-radius: 1.2rem;
        padding: 0.9rem 1.2rem;
        border: 1px solid rgba(0, 0, 0, 0.08);
        background: rgba(255, 255, 255, 0.85);
        color: #0f172a;
        transition: all 0.25s ease;
        position: relative;
        z-index: 3;
        font-size: 0.95rem;
        backdrop-filter: blur(4px);
    }

        .quick-form .form-control::placeholder {
            color: #94a3b8;
            font-weight: 400;
        }

        .quick-form .form-control:focus,
        .quick-form .form-select:focus {
            background: #ffffff;
            border-color: #224173;
            box-shadow: 0 0 0 4px rgba(34, 65, 115, 0.2);
            outline: none;
            transform: scale(1.01);
        }

    /* دکمه (بدون تغییر – دقیقاً همان استایل قبلی) */
    .quick-form .btn-warning {
        background: linear-gradient(214deg, #224173, #1b3560);
        border: none;
        font-weight: 700;
        padding: 0.9rem;
        border-radius: 1rem !important;
        transition: all 0.25s;
        font-size: 1.1rem;
        color: #fff;
        letter-spacing: -0.2px;
        box-shadow: 0 10px 20px rgba(34, 65, 115, 0.25);
        position: relative;
        z-index: 3;
        border: 1px solid rgba(34, 65, 115, 0.25);
    }

        .quick-form .btn-warning:hover {
            background: #ffffff !important;
            color: #224173 !important;
            border: 2px solid #224173;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        }

        .quick-form .btn-warning i {
            margin-right: 0.5rem;
        }

#formMessageMain {
    position: relative;
    z-index: 3;
    font-weight: 500;
}

/* ریسپانسیو موبایل */
@media (max-width: 767px) {
    .quick-form {
        padding: 1.8rem 1.2rem;
        border-radius: 1.5rem;
    }

        .quick-form h3 {
            font-size: 1.5rem;
        }

        .quick-form p {
            font-size: 0.85rem;
        }

        .quick-form .form-control,
        .quick-form .form-select {
            padding: 0.7rem 1rem;
            font-size: 0.9rem;
        }
}

/* ==================== دارک مود – هماهنگ با تم مدرن ==================== */
body.dark-mode .quick-form {
    background: rgba(18, 25, 45, 0.65);
    backdrop-filter: blur(25px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

    body.dark-mode .quick-form::after,
    body.dark-mode .quick-form .quick-form-bg-blob {
        background: radial-gradient(circle, rgba(34, 65, 115, 0.25) 0%, transparent 70%);
    }

    body.dark-mode .quick-form h3 {
        background: linear-gradient(135deg, #f1f5f9, #224173);
        background-clip: text;
        -webkit-background-clip: text;
    }

    body.dark-mode .quick-form p {
        color: #cbd5e1;
    }

    body.dark-mode .quick-form .form-control,
    body.dark-mode .quick-form .form-select {
        background: rgba(15, 23, 42, 0.8);
        border-color: #334155;
        color: #e2e8f0;
    }

        body.dark-mode .quick-form .form-control::placeholder {
            color: #64748b;
        }

        body.dark-mode .quick-form .form-control:focus,
        body.dark-mode .quick-form .form-select:focus {
            background: #0f172a;
            border-color: #224173;
            box-shadow: 0 0 0 4px rgba(34, 65, 115, 0.4);
        }

    /* دکمه در دارک مود بدون تغییر (همان استایل اولیه دکمه) */
    body.dark-mode .quick-form .btn-warning {
        background: linear-gradient(214deg, #1b3560, #0b1a3a);
        border-color: rgba(34, 65, 115, 0.4);
    }

        body.dark-mode .quick-form .btn-warning:hover {
            background: #1e293b !important;
            color: #9aa8c9 !important;
            border: 2px solid #9aa8c9;
        }

/* ==================== درخواست تعمیر فوری - نسخه جدا شده و شیک‌تر ==================== */

.quick-request-section {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

    .quick-request-section::before {
        content: '';
        position: absolute;
        top: 40px;
        right: -90px;
        width: 260px;
        height: 260px;
        background: rgba(34, 65, 115, 0.08);
        border-radius: 50%;
        z-index: -1;
    }

.quick-request-shell {
    background: #ffffff;
    border: 1px solid rgba(34, 65, 115, 0.08);
    border-radius: 2rem;
    padding: 2rem;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.07);
    position: relative;
    overflow: hidden;
}

    .quick-request-shell::after {
        content: '';
        position: absolute;
        left: -80px;
        bottom: -100px;
        width: 300px;
        height: 300px;
        background: radial-gradient(circle, rgba(34, 65, 115, 0.12), transparent 70%);
        border-radius: 50%;
        pointer-events: none;
    }

.quick-request-info {
    position: relative;
    z-index: 2;
    padding: 1rem;
}

.quick-request-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    background: rgba(34, 65, 115, 0.08);
    color: #224173;
    border: 1px solid rgba(34, 65, 115, 0.12);
    padding: 0.55rem 1rem;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 1.1rem;
}

.quick-request-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.quick-request-desc {
    color: #475569;
    line-height: 2;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.quick-request-points {
    display: grid;
    gap: 0.85rem;
}

.quick-request-point {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: #f8fafc;
    border: 1px solid rgba(34, 65, 115, 0.08);
    border-radius: 1.1rem;
    padding: 0.85rem 1rem;
    color: #1e293b;
    font-weight: 700;
}

    .quick-request-point i {
        width: 38px;
        height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(214deg, #224173, #1b3560);
        color: #ffffff;
        border-radius: 1rem;
        box-shadow: 0 10px 18px rgba(34, 65, 115, 0.18);
        flex-shrink: 0;
    }

.quick-form-separated {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(34, 65, 115, 0.1);
    box-shadow: 0 24px 55px rgba(15, 23, 42, 0.08);
}

    .quick-form-separated .section-heading {
        text-align: center;
        width: 100%;
    }

        .quick-form-separated .section-heading::after {
            right: 50%;
            transform: translateX(50%);
        }

    .quick-form-separated textarea.form-control {
        resize: vertical;
        min-height: 125px;
    }

@media (max-width: 991px) {
    .quick-request-shell {
        padding: 1.4rem;
    }

    .quick-request-info {
        text-align: center;
    }

    .quick-request-title {
        font-size: 1.8rem;
    }

    .quick-request-desc {
        max-width: 650px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {
    .quick-request-section {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    .quick-request-shell {
        border-radius: 1.5rem;
        padding: 1rem;
    }

    .quick-request-title {
        font-size: 1.55rem;
    }

    .quick-request-point {
        font-size: 0.9rem;
        padding: 0.75rem;
    }
}

body.dark-mode .quick-request-shell {
    background: rgba(18, 25, 45, 0.72);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

body.dark-mode .quick-request-title {
    color: #f8fafc;
}

body.dark-mode .quick-request-desc {
    color: #cbd5e1;
}

body.dark-mode .quick-request-point {
    background: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.08);
}

body.dark-mode .quick-request-badge {
    background: rgba(255, 255, 255, 0.06);
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.1);
}