/**
 * Services Tabs System - CSS Styles
 * نظام تبويبات الخدمات - تصميم احترافي محسن
 * Version: 4.0 - Professional Redesign
 * مساحات ثابتة وأحجام نصوص مناسبة
 */

/* ===== Service Modal Enhancements ===== */
.service-modal.active {
    display: flex !important;
    opacity: 1;
}

/* ===== Category Description - مساحة ثابتة ===== */
.category-description {
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.08), rgba(184, 134, 11, 0.05));
    border-radius: 12px;
    margin-bottom: 20px;
    border-right: 3px solid var(--accent-primary);
    position: relative;
    overflow: hidden;
    /* مساحة ثابتة */
    min-height: 60px;
    max-height: 80px;
    overflow-y: auto;
}

.category-description p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

.category-description::-webkit-scrollbar {
    width: 4px;
}

.category-description::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.category-description::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 10px;
}

/* ===== Services Navigation Hint - نص فقط بدون خلفية ===== */
.services-navigation-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 0;
    margin-bottom: 18px;
    /* بدون خلفية - نص فقط */
    background: transparent;
    border: none;
    box-shadow: none;
    position: relative;
}

.services-navigation-hint i {
    color: var(--accent-primary);
    font-size: 1.2rem;
    animation: bounceArrow 1.5s ease-in-out infinite;
}

@keyframes bounceArrow {

    0%,
    100% {
        transform: translateX(0) scale(1);
    }

    25% {
        transform: translateX(-8px) scale(1.1);
    }

    75% {
        transform: translateX(3px) scale(0.95);
    }
}

.services-navigation-hint span {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
    /* نص فقط بدون خلفية */
    background: transparent;
    text-shadow: none;
}

/* ===== Tabs Container ===== */
.tabs-container {
    margin-top: 15px;
}

/* ===== Tabs Wrapper ===== */
.tabs-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

/* ===== Floating Arrows - أسهم عائمة وشفافة ===== */
.tab-arrow {
    background: rgba(201, 169, 97, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(201, 169, 97, 0.3);
    color: var(--accent-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
    /* عائم وشفاف */
    position: relative;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.tab-arrow.floating-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
}

.tab-arrow.floating-arrow.tab-arrow-left {
    right: -15px;
}

.tab-arrow.floating-arrow.tab-arrow-right {
    left: -15px;
}

.tab-arrow:hover {
    background: rgba(201, 169, 97, 0.25);
    border-color: var(--accent-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.tab-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.tab-arrow.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.tab-arrow.disabled:hover {
    transform: translateY(-50%);
    background: rgba(201, 169, 97, 0.15);
}

/* ===== Tabs Header ===== */
.tabs-header {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    padding: 8px 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    flex: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
}

.tabs-header::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    background: rgba(201, 169, 97, 0.12);
    border: 2px solid rgba(201, 169, 97, 0.3);
    color: var(--text-primary);
    padding: 10px 20px;
    border-radius: 12px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.tab-btn:hover {
    background: rgba(201, 169, 97, 0.25);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
}

.tab-name {
    font-size: 0.95rem;
}

.tab-count {
    background: rgba(255, 255, 255, 0.25);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.tab-btn.active .tab-count {
    background: rgba(0, 0, 0, 0.2);
    color: var(--bg-primary);
}

/* ===== Tabs Content - مساحة ثابتة ===== */
.tabs-content {
    position: relative;
    /* مساحة ثابتة موحدة */
    min-height: 580px;
    max-height: 580px;
    overflow: hidden;
}

.tab-panel {
    display: none;
    animation: slideInContent 0.4s ease;
    height: 100%;
}

.tab-panel.active {
    display: block;
}

@keyframes slideInContent {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

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

/* ===== Service Card Slider - مساحة ثابتة ===== */
.service-card-slider {
    min-width: 100%;
    flex-shrink: 0;
    background: transparent;
    padding: 25px;
    /* مساحة ثابتة موحدة */
    min-height: 550px;
    max-height: 550px;
    height: 550px;
    display: flex;
    flex-direction: column;
}

/* ===== Service Card Header ===== */
.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(201, 169, 97, 0.2);
    flex-shrink: 0;
}

.service-card-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.4rem;
    color: var(--accent-primary);
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-card-title i {
    font-size: 1.2rem;
    color: var(--accent-primary);
}

.service-details-count {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(201, 169, 97, 0.4);
}

/* ===== Service Card Body - مساحة ثابتة ===== */
.service-card-body {
    flex: 1;
    overflow-y: auto;
    padding-left: 5px;
    /* مساحة ثابتة للمحتوى */
    max-height: 450px;
    min-height: 450px;
}

.service-card-body::-webkit-scrollbar {
    width: 6px;
}

.service-card-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.service-card-body::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 10px;
}

/* ===== Service Description Box ===== */
.service-description-box {
    padding: 15px;
    background: rgba(201, 169, 97, 0.05);
    border-radius: 10px;
    margin-bottom: 20px;
    border-right: 3px solid var(--accent-primary);
}

.service-description-box p {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== Service Details List ===== */
.service-card-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-detail-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 15px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.8), rgba(26, 26, 26, 0.9));
    border-radius: 12px;
    border-right: 4px solid var(--accent-primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.service-detail-item:hover {
    transform: translateX(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.1), rgba(26, 26, 26, 0.95));
}

.detail-icon {
    color: var(--accent-primary);
    font-size: 1.1rem;
    margin-left: 12px;
    flex-shrink: 0;
    margin-top: 2px;
}

.detail-text {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-primary);
    flex: 1;
}

/* ===== No Details Message ===== */
.no-details-message {
    text-align: center;
    padding: 50px 20px;
    color: var(--text-secondary);
}

.no-details-message i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.5;
    color: var(--accent-primary);
    display: block;
}

.no-details-message p {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    margin: 0;
}

/* ===== No Services Message ===== */
.no-services {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    margin: 20px 0;
}

.no-services i {
    font-size: 3.5rem;
    color: rgba(201, 169, 97, 0.4);
    margin-bottom: 20px;
    display: block;
}

.no-services p {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ===== Modal Header with Request Button ===== */
.service-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    border-bottom: 2px solid rgba(201, 169, 97, 0.2);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(42, 42, 42, 0.9));
    flex-shrink: 0;
}

.service-modal-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 700;
    margin: 0;
    flex: 1;
}

.service-request-btn {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(201, 169, 97, 0.4);
    white-space: nowrap;
}

.service-request-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(201, 169, 97, 0.6);
}

.service-request-btn:active {
    transform: translateY(0);
}

.service-request-btn i {
    font-size: 1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .tabs-wrapper {
        gap: 8px;
    }

    .tab-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .tab-btn {
        font-size: 0.9rem;
        padding: 8px 16px;
    }

    .tabs-content {
        min-height: 500px;
        max-height: 500px;
    }

    .service-card-slider {
        padding: 20px;
        min-height: 480px;
        max-height: 480px;
        height: 480px;
    }

    .service-card-body {
        max-height: 400px;
        min-height: 400px;
    }

    .service-card-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .category-description {
        padding: 14px 18px;
        min-height: 55px;
        max-height: 70px;
    }

    .category-description p {
        font-size: 0.85rem;
    }

    .services-navigation-hint {
        padding: 10px 0;
        gap: 8px;
    }

    .services-navigation-hint i {
        font-size: 1rem;
    }

    .services-navigation-hint span {
        font-size: 0.85rem;
    }

    .tabs-header {
        gap: 8px;
        padding: 6px 12px;
    }

    .tab-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .tab-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .tabs-content {
        min-height: 450px;
        max-height: 450px;
    }

    .service-card-slider {
        padding: 15px;
        min-height: 420px;
        max-height: 420px;
        height: 420px;
    }

    .service-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding-bottom: 12px;
    }

    .service-card-title {
        font-size: 1.2rem;
    }

    .service-card-body {
        max-height: 350px;
        min-height: 350px;
    }

    .service-modal-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 20px;
    }

    .service-request-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .tabs-content {
        min-height: 400px;
        max-height: 400px;
    }

    .service-card-slider {
        padding: 12px;
        min-height: 380px;
        max-height: 380px;
        height: 380px;
    }

    .service-card-body {
        max-height: 300px;
        min-height: 300px;
    }

    .service-card-title {
        font-size: 1.1rem;
        gap: 8px;
    }

    .service-detail-item {
        padding: 10px 12px;
        margin-bottom: 8px;
    }

    .detail-icon {
        font-size: 1rem;
        margin-left: 8px;
    }

    .detail-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .tab-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

/**
 * Services Dynamic System - CSS Styles
 * نظام الخدمات الديناميكي - التصميم الجديد المحسّن
 * Version: 7.0 - تصميم جديد كامل
 * المميزات: تبويبات في الهيدر، حجم ثابت، scroll داخل الكارد
 */

/* =====/* Service Modal Base Styles */
.service-modal.active {
    padding: 20px !important;
}

/* =====/* Service Modal Base Styles */
.service-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Share Idea Modal - إخفاء افتراضي */
.share-idea-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.share-idea-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

/* ===== استخدام نفس بنية service-modal ===== */
#serviceRequestModal.service-modal .service-modal-content {
    background: var(--bg-secondary);
    border-radius: 24px;
    max-width: 900px;
    width: 90%;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    border: 2px solid var(--accent-primary);
    max-height: 85vh;
    animation: modalSlideUp 0.4s ease;
}

/* Shrink the box by hiding header during success */
#serviceRequestModal.success-state .service-modal-header,
#serviceRequestModal.success-state .steps-progress,
#serviceRequestModal.success-state .service-request-modal-footer {
    display: none !important;
}

#serviceRequestModal.success-state .service-modal-content {
    max-height: none !important;
    height: auto !important;
}

#serviceRequestModal.success-state .service-request-modal-body {
    padding: 0 !important;
}

.share-idea-modal-content {
    background: var(--bg-secondary, #1a1a1a);
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.share-idea-modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-idea-modal-title {
    font-size: 1.5rem;
    color: var(--text-primary, #fff);
    margin: 0;
}

.share-idea-modal-close {
    background: transparent;
    border: none;
    color: var(--text-primary, #fff);
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}

.share-idea-modal-close:hover {
    color: var(--accent-primary, #d4af37);
}

.share-idea-modal-body {
    padding: 25px;
    overflow-y: auto;
    flex: 1;
}

.share-idea-modal-footer {
    padding: 20px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}


.service-modal-content {
    max-width: 1200px !important;
    width: 95% !important;
    height: 85vh !important;
    max-height: 85vh !important;
    min-height: 600px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
}

/* ===== Service Modal Header ===== */
.service-modal-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.service-modal-header-top {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px 4px 20px;
    direction: rtl;
}

.service-modal-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--accent-primary);
    margin: 0;
    text-align: center;
    text-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
    white-space: nowrap;
}

/* ===== Floating Service Request Button ===== */
.service-request-btn-floating {
    position: absolute;
    bottom: 15px;
    left: 20px;
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 50%, #FF6347 100%);
    color: #ffffff;
    border: 2px solid #DC143C;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 25px rgba(220, 20, 60, 0.6);
    white-space: nowrap;
    z-index: 15;
    backdrop-filter: blur(10px);
}

.service-request-btn-floating:hover {
    background: linear-gradient(135deg, #DC143C 0%, #FF6347 50%, #FF4500 100%);
    border-color: #FF6347;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.8);
}

.service-request-btn-floating:active {
    transform: translateY(-1px) scale(1.02);
}

.service-request-btn-floating i {
    font-size: 1.1rem;
}

/* Language-specific text visibility */
.service-request-btn-floating .lang-ar,
.service-request-btn-floating .lang-en {
    display: inline;
}

html[dir="rtl"] .service-request-btn-floating .lang-en {
    display: none;
}

html[dir="ltr"] .service-request-btn-floating .lang-ar {
    display: none;
}

html:not([dir]) .service-request-btn-floating .lang-en {
    display: none;
}

/* ===== Tabs Container in Header ===== */
.service-modal-tabs-container {
    padding: 4px 0 8px 0;
    margin-top: 0;
    width: 100%;
    position: relative;
}

.service-tabs-scroll-wrapper {
    position: relative;
    overflow: hidden;
    padding: 0;
    width: 100%;
}

.service-tabs-header {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 50px;
    /* padding للأزرار العائمة */
    width: 100%;
}

.service-tabs-header::-webkit-scrollbar {
    display: none;
}

/* ===== Floating Tab Navigation Arrows ===== */
.service-tab-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, rgba(201, 169, 97, 0.3), rgba(184, 134, 11, 0.25));
    backdrop-filter: blur(12px);
    border: 2px solid rgba(201, 169, 97, 0.6);
    border-radius: 50%;
    color: var(--accent-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    z-index: 20;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.service-tab-nav-arrow:hover {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 22px rgba(201, 169, 97, 0.6);
}

.service-tab-nav-arrow:active {
    transform: translateY(-50%) scale(0.92);
}

.service-tab-nav-arrow-left {
    right: 8px;
}

.service-tab-nav-arrow-right {
    left: 8px;
}

/* ===== Tab Button ===== */
.service-tab-btn {
    background: rgba(201, 169, 97, 0.1);
    border: 2px solid rgba(201, 169, 97, 0.3);
    color: var(--text-primary);
    padding: 7px 14px;
    border-radius: 8px;
    font-family: 'Cairo', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-shrink: 0;
}

.service-tab-btn:hover {
    background: rgba(201, 169, 97, 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
}

.service-tab-btn.active {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 4px 12px rgba(201, 169, 97, 0.4);
}

.service-tab-name {
    font-size: 0.9rem;
    font-weight: 600;
}

.service-tab-count {
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

.service-tab-btn.active .service-tab-count {
    background: rgba(0, 0, 0, 0.3);
    color: var(--bg-primary);
}

/* ===== Service Modal Body ===== */
.service-modal-body {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    padding: 16px 24px !important;
    min-height: 0 !important;
    position: relative !important;
}

.service-modal-body::-webkit-scrollbar {
    width: 8px;
}

.service-modal-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.service-modal-body::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

.service-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

/* ===== Tabs Content ===== */
.service-tabs-content {
    position: relative;
    height: 100%;
}

.service-tab-panel {
    display: none;
    height: 100%;
}

.service-tab-panel.active {
    display: block;
}

/* ===== Service Slider Wrapper ===== */
.service-slider-wrapper {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

/* ===== Service Card Scrollable ===== */
.service-card-scrollable {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px;
    background: linear-gradient(135deg, rgba(42, 42, 42, 0.9), rgba(26, 26, 26, 0.95));
    border-radius: 12px;
    border: 2px solid rgba(201, 169, 97, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
    margin-bottom: 60px;
}

.service-card-scrollable::-webkit-scrollbar {
    width: 6px;
}

.service-card-scrollable::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.service-card-scrollable::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

.service-card-scrollable::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
}

/* ===== Service Card Content ===== */
.service-card-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ===== Service Header ===== */
.service-header {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(201, 169, 97, 0.3);
}

.service-title {
    font-family: 'Cairo', sans-serif;
    font-size: 1.5rem;
    color: var(--accent-primary);
    font-weight: 800;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(201, 169, 97, 0.3);
}

/* ===== Service Body ===== */
.service-body {
    flex: 1;
}

/* ===== Service Details Section ===== */
.service-details-section {
    margin-top: 0;
}

.service-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(42, 42, 42, 0.6);
    border-radius: 10px;
    border-right: 3px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.service-detail-item:hover {
    background: rgba(201, 169, 97, 0.1);
    transform: translateX(-2px);
    border-right-width: 4px;
}

.service-detail-item i {
    color: var(--accent-primary);
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.service-detail-item span {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-primary);
    flex: 1;
}

/* ===== No Description ===== */
.no-description {
    text-align: center;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: 2px dashed rgba(201, 169, 97, 0.3);
}

.no-description i {
    font-size: 2rem;
    margin-bottom: 12px;
    display: block;
    color: rgba(201, 169, 97, 0.5);
}

.no-description p {
    font-family: 'Cairo', sans-serif;
    font-size: 1rem;
    margin: 0;
    color: var(--text-secondary);
}

/* ===== No Services Message ===== */
.no-services {
    text-align: center;
    padding: 60px 30px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 16px;
    border: 2px dashed rgba(201, 169, 97, 0.3);
}

.no-services i {
    font-size: 3rem;
    color: rgba(201, 169, 97, 0.4);
    margin-bottom: 20px;
    display: block;
}

.no-services p {
    font-family: 'Cairo', sans-serif;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
}

/* ===== Slider Navigation ===== */
.service-slider-nav {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.98), rgba(42, 42, 42, 0.95));
    backdrop-filter: blur(20px);
    padding: 10px 16px;
    border-radius: 50px;
    border: 2px solid rgba(201, 169, 97, 0.4);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.7);
    z-index: 10;
}

.service-nav-arrow {
    width: 40px;
    height: 40px;
    background: rgba(201, 169, 97, 0.2);
    border: 2px solid rgba(201, 169, 97, 0.5);
    border-radius: 50%;
    color: var(--accent-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.service-nav-arrow:hover {
    background: var(--gradient-primary);
    border-color: var(--accent-primary);
    color: var(--bg-primary);
    transform: scale(1.1);
}

.service-nav-arrow:active {
    transform: scale(0.95);
}

.service-slider-indicator {
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    padding: 0 12px;
    min-width: 50px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 4px;
}

.service-current-slide {
    color: var(--accent-primary);
    font-size: 1.1rem;
}

.service-slider-separator {
    color: var(--text-secondary);
}

.service-total-slides {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 992px) {
    .service-modal-content {
        width: 98% !important;
        height: 88vh !important;
    }

    .service-modal-header-top {
        padding: 7px 18px 4px 18px;
    }

    .service-modal-title {
        font-size: 20px;
    }

    .service-request-btn-floating {
        padding: 10px 18px;
        font-size: 0.9rem;
        gap: 6px;
        bottom: 12px;
        left: 15px;
    }

    .service-modal-tabs-container {
        padding: 0 20px 10px 20px;
        width: 100%;
    }

    .service-tabs-scroll-wrapper {
        padding: 0 38px;
    }

    .service-tab-nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .service-tab-btn {
        padding: 7px 14px;
        font-size: 0.85rem;
    }

    .service-card-scrollable {
        padding: 18px;
        margin-bottom: 55px;
    }

    .service-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .service-modal.active {
        padding: 15px !important;
    }

    .service-modal-content {
        width: 98% !important;
        height: 90vh !important;
        min-height: 550px !important;
    }

    .service-modal-header-top {
        padding: 7px 14px 3px 14px;
    }

    .service-modal-title {
        font-size: 18px;
    }

    .service-request-btn-floating {
        padding: 9px 16px;
        font-size: 0.85rem;
        gap: 5px;
        bottom: 10px;
        left: 12px;
    }

    .service-request-btn-floating span {
        display: inline;
    }

    .service-request-btn-floating i {
        font-size: 1rem;
    }

    .service-modal-tabs-container {
        padding: 0 16px 8px 16px;
        width: 100%;
    }

    .service-tabs-scroll-wrapper {
        padding: 0 35px;
    }

    .service-tab-nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }

    .service-tab-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
        gap: 6px;
    }

    .service-tab-count {
        padding: 2px 6px;
        font-size: 0.7rem;
    }

    .service-modal-body {
        padding: 16px !important;
    }

    .service-card-scrollable {
        padding: 16px;
        margin-bottom: 50px;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .service-detail-item {
        padding: 10px 14px;
        font-size: 0.9rem;
    }

    .service-slider-nav {
        padding: 8px 14px;
        gap: 10px;
    }

    .service-nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .service-modal.active {
        padding: 10px !important;
    }

    .service-modal-content {
        width: 100% !important;
        height: 95vh !important;
        min-height: 500px !important;
    }

    .service-modal-header-top {
        padding: 6px 12px 3px 12px;
    }

    .service-modal-title {
        font-size: 16px;
    }

    .service-request-btn-floating {
        padding: 8px 14px;
        font-size: 0.8rem;
        gap: 4px;
        bottom: 8px;
        left: 10px;
    }

    .service-request-btn-floating span {
        display: inline;
    }

    .service-request-btn-floating i {
        font-size: 0.95rem;
    }

    .service-modal-tabs-container {
        padding: 0 14px 6px 14px;
        width: 100%;
    }

    .service-tabs-scroll-wrapper {
        padding: 0 32px;
    }

    .service-tab-nav-arrow {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .service-tab-btn {
        padding: 5px 10px;
        font-size: 0.75rem;
    }

    .service-modal-body {
        padding: 14px !important;
    }

    .service-card-scrollable {
        padding: 14px;
        margin-bottom: 45px;
    }

    .service-title {
        font-size: 1.1rem;
    }

    .service-detail-item {
        padding: 9px 12px;
        font-size: 0.85rem;
    }

    .service-slider-nav {
        padding: 7px 12px;
        gap: 8px;
    }

    .service-nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

    .service-slider-indicator {
        font-size: 0.85rem;
        padding: 0 10px;
    }
}

/**
 * Service Request Modal - Multi-Step Form
 * مودال طلب الخدمة - نموذج متعدد الخطوات
 * يستخدم نفس نمط المودالات الموجودة
 */

/* ===== استخدام نفس بنية service-modal ===== */
#serviceRequestModal.service-modal .service-modal-content {
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
}

.service-request-modal-content {
    display: flex;
    flex-direction: column;
}

body.lang-en .service-modal-content {
    direction: ltr !important;
}

body.lang-en .service-request-modal-content {
    direction: ltr !important;
}

body.lang-en .modal-form-row {
    flex-direction: row !important;
}

body.lang-en .modal-form-label {
    text-align: left !important;
}

body.lang-en .step-content-title,
body.lang-en .step-content-description {
    text-align: left !important;
}

body.lang-en .service-modal-header {
    flex-direction: row !important;
}

body.lang-en .service-modal-title {
    flex-direction: row !important;
}

body.lang-en .modal-phone-wrapper {
    flex-direction: row !important;
}

body.lang-en .modal-nav-btns {
    flex-direction: row !important;
}

.service-request-form {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ===== تحديث Header ليتناسب مع service-modal ===== */
#serviceRequestModal .service-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

#serviceRequestModal .service-modal-title i {
    color: #d4af37;
    font-size: 1.6rem;
}

/* ===== Steps Progress Bar ===== */
.steps-progress {
    padding: 15px 30px;
    background: rgba(0, 0, 0, 0.2);
}

.steps-indicators {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.steps-indicators::before {
    content: '';
    position: absolute;
    top: 19px;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.step-progress-line {
    position: absolute;
    top: 19px;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #d4af37 0%, #f4d03f 100%);
    transition: width 0.4s ease;
    z-index: 1;
    /* Behind circles (z-index: 2) */
}

/* RTL Support for Progress Line */
html[dir="rtl"] .step-progress-line {
    left: auto;
    right: 0;
    background: linear-gradient(270deg, #d4af37 0%, #f4d03f 100%);
    /* Flip gradient too */
}

.step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.step-indicator.active .step-circle {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    border-color: #d4af37;
    color: #1e1e23;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5);
    transform: scale(1.1);
}

.step-indicator.completed .step-circle {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    border-color: #4caf50;
    color: #fff;
}

.step-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
    text-align: center;
    font-family: 'Cairo', sans-serif;
}

.step-indicator.active .step-label {
    color: #d4af37;
    font-weight: 600;
}

.step-indicator.completed .step-label {
    color: #4caf50;
}

/* ===== تحديث Body ===== */
.service-request-modal-body {
    overflow-y: auto;
    flex: 1;
    padding: 15px 30px 25px;
}

/* ===== Step Content ===== */
.step-content {
    display: none;
    animation: fadeInStep 0.4s ease;
}

.step-content.active {
    display: block;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.step-content-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 8px 0;
    font-family: 'Cairo', sans-serif;
}

.step-content-description {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 20px 0;
    font-family: 'Cairo', sans-serif;
}

/* ===== Form Styles ===== */
.modal-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.modal-form-row.single {
    grid-template-columns: 1fr;
}

.modal-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-form-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    font-family: 'Cairo', sans-serif;
}

.modal-form-label .required {
    color: #dc3545;
    margin-right: 3px;
}

.modal-form-input,
.modal-form-select,
.modal-form-textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px 15px;
    color: #fff;
    font-size: 0.95rem;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.modal-form-input:focus,
.modal-form-select:focus,
.modal-form-textarea:focus {
    outline: none;
    border-color: #d4af37;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.2);
}

.modal-form-input::placeholder,
.modal-form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.modal-form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Phone Input Wrapper - الرقم يسار (كبير) والكود يمين (صغير) */
.modal-phone-wrapper {
    display: grid;
    grid-template-columns: 1fr 130px;
    gap: 10px;
}

.modal-phone-code {
    text-align: center;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    padding: 12px 10px;
}

.modal-phone-number {
    direction: ltr;
    text-align: left;
}

/* Main Service Categories */
.modal-service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.modal-service-category {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cairo', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.modal-service-category:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.5);
    transform: translateY(-2px);
}

.modal-service-category.has-selections {
    background: rgba(212, 175, 55, 0.1);
    border-color: #d4af37;
}

.modal-service-category-icon {
    font-size: 1.8rem;
    color: #d4af37;
}

.modal-service-category-name {
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}

.modal-service-category-count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* Selected Services Display */
.selected-services-display {
    margin-top: 20px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 10px;
}

.selected-services-title {
    font-size: 0.95rem;
    color: #d4af37;
    margin: 0 0 12px 0;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
}

.selected-services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.selected-service-tag {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    transition: all 0.2s ease;
}

.selected-service-tag:hover {
    background: rgba(212, 175, 55, 0.2);
}

.selected-service-remove {
    background: rgba(220, 53, 69, 0.3);
    border: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: all 0.2s ease;
}

.selected-service-remove:hover {
    background: rgba(220, 53, 69, 0.6);
    transform: scale(1.1);
}

/* Sub-Services Modal */
.sub-services-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
}

.sub-services-modal.active {
    display: flex;
}

.sub-services-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.sub-services-modal-content {
    position: relative;
    background: linear-gradient(135deg, rgba(30, 30, 35, 0.98) 0%, rgba(20, 20, 25, 0.98) 100%);
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 70vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.sub-services-modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    z-index: 1000;
}

[dir="rtl"] .sub-services-modal-close {
    left: auto;
    right: 15px;
}

.sub-services-modal-close:hover {
    background: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.sub-services-modal-title {
    padding: 20px 25px;
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-services-list {
    padding: 20px 25px;
    overflow-y: auto;
    flex: 1;
}

.sub-service-item {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sub-service-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(212, 175, 55, 0.5);
}

.sub-service-item.selected {
    background: rgba(212, 175, 55, 0.15);
    border-color: #d4af37;
}

.sub-service-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: transparent;
    transition: all 0.2s ease;
}

.sub-service-item.selected .sub-service-checkbox {
    background: #d4af37;
    border-color: #d4af37;
    color: #1e1e23;
}

.sub-service-name {
    flex: 1;
    font-size: 0.95rem;
    color: #fff;
    font-family: 'Cairo', sans-serif;
    font-weight: 500;
}

.sub-services-footer {
    padding: 15px 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-services-footer .modal-btn {
    width: 100%;
    justify-content: center;
}

/* ===== Modal Footer ===== */
.service-request-modal-footer {
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.modal-btn {
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.modal-btn-secondary:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.modal-btn-primary {
    background: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
    color: #1e1e23;
}

.modal-btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.modal-btn-success {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: #fff;
}

.modal-btn-success:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.4);
}

.modal-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Success Message */
/* Success Message - Standardized with Idea Modal */
.request-success-message {
    text-align: center;
    padding: 60px 40px;
}

.success-icon {
    font-size: 5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    display: block;
    animation: successIconPulse 1s ease infinite;
}

.success-icon i {
    color: var(--accent-primary);
}

.success-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
}

.request-success-message .success-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
    font-family: 'Cairo', sans-serif;
}

/* Relying on global .idea-btn-submit from style.css */
.request-success-message .idea-btn-submit {
    margin-top: 30px;
}

@keyframes successIconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    #serviceRequestModal .service-modal-content {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        max-height: 100vh;
    }

    .service-request-modal-body {
        padding: 20px 25px;
    }

    .steps-progress {
        padding: 15px 25px;
    }

    .step-circle {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .modal-form-row {
        grid-template-columns: 1fr;
    }

    .modal-service-options {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-request-modal-footer {
        flex-direction: column-reverse;
        padding: 20px 25px;
    }

    .modal-btn {
        width: 100%;
        justify-content: center;
    }
}