.btn_save {
    width: 40%;
    padding: 3%;
    height: 50%;
    background-color: #e1b13e;
}

#profile-picture2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    cursor: pointer;
}

input {
    text-align: center;
    border: 1px solid #e1b13e !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.order-card {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-direction: row !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.order-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
}

.order-canceled {
    background-color: red !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-direction: row !important;
}

.order-card i {
    color: red;
    cursor: pointer;
}

::-webkit-scrollbar {
    background-color: #ccc !important;
}

::-webkit-scrollbar-thumb {
    background-color: #e1b13e !important;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    direction: rtl;
    font-family: "Cairo", serif !important;
}

.profile-container {
    width: 100%;
    max-width: 1118px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 50px;
}

.cover {
    width: 100%;
    height: 300px;
    background: url('img/img1.png') no-repeat center;
    background-size: cover;
    position: relative;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border: 5px solid white;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    bottom: -75px;
    right: 30px;
}

.profile-content {
    padding: 84px 46px 20px 20px;
    text-align: right;
}

.profile-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.edit-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1877f2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 10px;
}

.edit-button:hover {
    background-color: #145dbf;
}

input[type="file"] {
    display: none;
}

label.upload-label {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1877f2;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 10px;
}

label.upload-label:hover {
    background-color: #145dbf;
}

.info-parent {
    width: 50%;
    margin: auto;
}

.info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #eee;
    border-radius: 15px;
    padding: 20px;
    margin: 20px;
    font-weight: bold;
}

.profile-items {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.profile-item {
    background-color: #ddd;
    padding: 15px;
    cursor: pointer;
    margin: 20px 0px;
    border-radius: 10px;
    width: 30%;
}

.profile-item:hover {
    background-color: #ccc;
}

.profile-item i {
    font-size: 20px;
}

.profile-item span {
    font-size: 20px;
    margin-right: 10px;
}

.info-parent {
    display: none;
}

#orders-container {
    margin-top: 20px;
    margin-right: 45px;
    display: none;
}

.orders-parent {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.order-card p {
    margin: 20px 0px;
    font-size: 20px;
}

/* CSS للطلبات المحدثة */

/* إحصائيات الطلبات */
.orders-stats {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 20px !important;
    padding: 15px !important;
    background: #f8f9fa !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

.orders-stats > div {
    text-align: center !important;
    flex: 1 !important;
    padding: 0 10px !important;
}

.orders-stats strong {
    display: block !important;
    font-size: 24px !important;
    margin-bottom: 5px !important;
}

.orders-stats p {
    margin: 0 !important;
    color: #666 !important;
    font-size: 14px !important;
}

/* مؤشرات نوع الطلب */
.order-type-indicator {
    display: inline-block !important;
    padding: 4px 8px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    margin-bottom: 10px !important;
    font-weight: bold !important;
}

.order-type-personal {
    background: #007bff !important;
    color: white !important;
}

.order-type-created {
    background: #28a745 !important;
    color: white !important;
}

/* حالات الطلبات */
.order-status {
    font-weight: bold !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
}

.status-active {
    color: #28a745 !important;
    background: rgba(40, 167, 69, 0.1) !important;
}

.status-pending {
    color: #ffc107 !important;
    background: rgba(255, 193, 7, 0.1) !important;
}

.status-canceled {
    color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.1) !important;
}

/* أزرار الإجراءات */
.order-actions {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    margin-top: 10px !important;
}

.pay-now-btn {
    background: #007bff !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-size: 12px !important;
    transition: all 0.3s ease !important;
}

.pay-now-btn:hover {
    background: #0056b3 !important;
    transform: scale(1.05) !important;
}

.pay-now-btn:disabled {
    background: #6c757d !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.delete-icon {
    color: #dc3545 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.delete-icon:hover {
    color: #a71e2a !important;
    transform: scale(1.2) !important;
}

/* معلومات إضافية للطلبات المُنشأة للآخرين */
.additional-info {
    background: #f8f9fa !important;
    padding: 10px !important;
    border-radius: 5px !important;
    margin-top: 10px !important;
    border-right: 3px solid #28a745 !important;
}

.additional-info p {
    margin: 0 !important;
    font-size: 12px !important;
    color: #666 !important;
}

.additional-info p:not(:first-child) {
    margin-top: 5px !important;
}

/* Loading spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    border: 4px solid #f3f3f3 !important;
    border-top: 4px solid #e1b13e !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    animation: spin 2s linear infinite !important;
    margin: 0 auto !important;
}

/* Empty state */
.empty-orders {
    text-align: center !important;
    padding: 40px !important;
    color: #666 !important;
}

.empty-orders i {
    font-size: 48px !important;
    margin-bottom: 15px !important;
    color: #ddd !important;
}

.empty-orders h3 {
    margin-bottom: 10px !important;
    color: #333 !important;
}

/* CSS للـ Modal */
#orderDetailsModal {
    backdrop-filter: blur(5px);
}

.detail-row {
    transition: background-color 0.3s ease;
}

.detail-row:hover {
    background-color: rgba(225, 177, 62, 0.1) !important;
}

.order-details-card, .client-details-card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.order-details-card:hover, .client-details-card:hover {
    transform: translateY(-2px);
}

/* عنوان الطلب القابل للنقر */
.order-title {
    color: #007bff !important;
    cursor: pointer !important;
    text-decoration: underline !important;
    font-weight: bold !important;
    transition: color 0.3s ease !important;
}

.order-title:hover {
    color: #0056b3 !important;
}

/* إشعارات الطلبات الجديدة */
.order-notification {
    position: fixed;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10000;
    transform: translateX(-100%);
    transition: all 0.5s ease;
    max-width: 300px;
}

/* أنماط العداد في زر الطلبات */
#orders-counter span {
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* تحسينات الهوفر للكارتات */
.order-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.order-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-color: #e1b13e !important;
}

/* تحسينات للمودالات */
.modal-overlay {
    backdrop-filter: blur(8px) !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

/* أنماط للتفاعل مع الأزرار */
button, .btn {
    transition: all 0.3s ease !important;
}

button:hover, .btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* تحسينات للنصوص والخطوط */
.order-content p {
    line-height: 1.5 !important;
    margin: 8px 0 !important;
}

.order-content strong {
    color: #333 !important;
    font-weight: 600 !important;
}

/* الاستجابة للشاشات الصغيرة */
@media screen and (max-width: 768px) {
    .orders-stats {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .orders-stats > div {
        border-bottom: 1px solid #ddd !important;
        padding-bottom: 15px !important;
    }

    .orders-stats > div:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .order-card {
        padding: 15px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .order-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .pay-now-btn {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .detail-row {
        flex-direction: column !important;
        text-align: right !important;
    }

    .detail-row strong {
        margin-bottom: 5px !important;
    }

    .info-parent {
        width: 100%;
    }

    .info h3 {
        font-size: 15px !important;
    }

    .profile-items {
        flex-direction: column;
    }

    .profile-item {
        width: 90%;
        margin: 0;
    }

    #orders-container {
        margin-right: 0;
    }

    .orders-parent {
        flex-direction: column;
    }

    .order-card {
        width: 90%;
    }

    .order-notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

@media screen and (max-width: 500px) {
    .info-parent {
        width: 100%;
    }

    .info h3 {
        font-size: 15px !important;
    }

    .profile-items {
        flex-direction: column;
    }

    .profile-item {
        width: 90%;
        margin: 0;
    }

    #orders-container {
        margin-right: 0;
    }

    .orders-parent {
        flex-direction: column;
    }

    .order-card {
        width: 90%;
    }
}

/* تحسينات إضافية لتجربة المستخدم */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* تحسينات للفوكس والاكسيسيبيليتي */
button:focus, .btn:focus {
    outline: 2px solid #e1b13e !important;
    outline-offset: 2px !important;
}

.order-title:focus {
    outline: 2px solid #007bff !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
}

/* تحسينات للألوان والتباين */
.text-muted {
    color: #6c757d !important;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-info {
    color: #17a2b8 !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-primary {
    background-color: #007bff !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

     /* CSS للطلبات المحدثة */
 .orders-stats {
     display: flex !important;
     justify-content: space-between !important;
     margin-bottom: 20px !important;
     padding: 15px !important;
     background: #f8f9fa !important;
     border-radius: 10px !important;
     box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
 }

.orders-stats > div {
    text-align: center !important;
    flex: 1 !important;
    padding: 0 10px !important;
}

.orders-stats strong {
    display: block !important;
    font-size: 24px !important;
    margin-bottom: 5px !important;
}

.orders-stats p {
    margin: 0 !important;
    color: #666 !important;
    font-size: 14px !important;
}

/* كارد الطلبات المحسن */
.order-card {
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.order-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
}

/* مؤشرات نوع الطلب */
.order-type-indicator {
    display: inline-block !important;
    padding: 4px 8px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    margin-bottom: 10px !important;
    font-weight: bold !important;
}

.order-type-personal {
    background: #007bff !important;
    color: white !important;
}

.order-type-created {
    background: #28a745 !important;
    color: white !important;
}

/* حالات الطلبات */
.order-status {
    font-weight: bold !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
}

.status-active {
    color: #28a745 !important;
    background: rgba(40, 167, 69, 0.1) !important;
}

.status-pending {
    color: #ffc107 !important;
    background: rgba(255, 193, 7, 0.1) !important;
}

.status-canceled {
    color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.1) !important;
}

/* أزرار الإجراءات */
.order-actions {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    margin-top: 10px !important;
}

.pay-now-btn {
    background: #007bff !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-size: 12px !important;
    transition: all 0.3s ease !important;
}

.pay-now-btn:hover {
    background: #0056b3 !important;
    transform: scale(1.05) !important;
}

.pay-now-btn:disabled {
    background: #6c757d !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.delete-icon {
    color: #dc3545 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.delete-icon:hover {
    color: #a71e2a !important;
    transform: scale(1.2) !important;
}

/* معلومات إضافية للطلبات المُنشأة للآخرين */
.additional-info {
    background: #f8f9fa !important;
    padding: 10px !important;
    border-radius: 5px !important;
    margin-top: 10px !important;
    border-right: 3px solid #28a745 !important;
}

.additional-info p {
    margin: 0 !important;
    font-size: 12px !important;
    color: #666 !important;
}

.additional-info p:not(:first-child) {
    margin-top: 5px !important;
}

/* Loading spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    border: 4px solid #f3f3f3 !important;
    border-top: 4px solid #e1b13e !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    animation: spin 2s linear infinite !important;
    margin: 0 auto !important;
}

/* Empty state */
.empty-orders {
    text-align: center !important;
    padding: 40px !important;
    color: #666 !important;
}

.empty-orders i {
    font-size: 48px !important;
    margin-bottom: 15px !important;
    color: #ddd !important;
}

.empty-orders h3 {
    margin-bottom: 10px !important;
    color: #333 !important;
}

/* CSS للـ Modal */
#orderDetailsModal {
    backdrop-filter: blur(5px);
}

.detail-row {
    transition: background-color 0.3s ease;
}

.detail-row:hover {
    background-color: rgba(225, 177, 62, 0.1) !important;
}

.order-details-card, .client-details-card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.order-details-card:hover, .client-details-card:hover {
    transform: translateY(-2px);
}

/* عنوان الطلب القابل للنقر */
.order-title {
    color: #007bff !important;
    cursor: pointer !important;
    text-decoration: underline !important;
    font-weight: bold !important;
    transition: color 0.3s ease !important;
}

.order-title:hover {
    color: #0056b3 !important;
}

/* الاستجابة للشاشات الصغيرة */
@media screen and (max-width: 768px) {
    .orders-stats {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .orders-stats > div {
        border-bottom: 1px solid #ddd !important;
        padding-bottom: 15px !important;
    }

    .orders-stats > div:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .order-card {
        padding: 15px !important;
    }

    .order-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .pay-now-btn {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .detail-row {
        flex-direction: column !important;
        text-align: right !important;
    }

    .detail-row strong {
        margin-bottom: 5px !important;
    }
}

/* تصميم الخدمات الجديد مثل الموبايل */
.services-modal {
    backdrop-filter: blur(5px);
    z-index: 10000;
}

.services-modal-content {
    background: #f5f5f5;
    border-radius: 20px;
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.services-header {
    background: linear-gradient(135deg, #e1b13e 0%, #d4a029 100%);
    color: white;
    padding: 25px 20px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.services-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.services-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.services-close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.services-container {
    padding: 20px;
    background: #f5f5f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.service-item {
    background: white;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 177, 62, 0.1), transparent);
    transition: all 0.6s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(225, 177, 62, 0.15);
    border-color: rgba(225, 177, 62, 0.3);
}

.service-item.selected {
    border-color: #e1b13e;
    background: linear-gradient(135deg, #e1b13e 0%, #d4a029 100%);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(225, 177, 62, 0.4);
}

.service-item.selected .service-icon {
    color: white;
    transform: scale(1.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    color: #e1b13e;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.service-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.selected-counter {
    background: linear-gradient(135deg, #e1b13e 0%, #d4a029 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(225, 177, 62, 0.3);
    font-size: 1.1rem;
}

.services-action-buttons {
    display: flex;
    gap: 15px;
    padding: 0 20px 25px;
    background: #f5f5f5;
}

.services-btn {
    flex: 1;
    padding: 18px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.services-btn:active::before {
    width: 300px;
    height: 300px;
}

.services-btn-cancel {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.services-btn-cancel:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.4);
}

.services-btn-confirm {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.services-btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.4);
}

.services-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.services-btn.loading {
    pointer-events: none;
}

.services-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

/* عداد الخدمات المحددة */
/* عداد الخدمات المحددة */
.service-count-badge {
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    background: #e74c3c !important;
    color: white !important;
    font-size: 0.8rem !important;
    font-weight: bold !important;
    width: 25px !important;
    height: 25px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transform: scale(0) !important;
    transition: all 0.3s ease !important;
    z-index: 10 !important;
}

.service-item.selected .service-count-badge {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.service-item {
    position: relative !important;
}
/* Animation for selection */
@keyframes pulse {
    0% { transform: translateY(-5px) scale(1.05); }
    50% { transform: translateY(-5px) scale(1.08); }
    100% { transform: translateY(-5px) scale(1.05); }
}

.service-item.selected {
    animation: pulse 0.6s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-modal-content {
        width: 95%;
        margin: 10px;
        border-radius: 15px;
    }

    .services-header {
        padding: 20px 15px;
        border-radius: 15px 15px 0 0;
    }

    .services-header h2 {
        font-size: 1.4rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-item {
        padding: 20px 12px;
        min-height: 100px;
        border-radius: 15px;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }

    .service-name {
        font-size: 0.9rem;
    }

    .services-action-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 0 15px 20px;
    }

    .services-btn {
        padding: 15px;
        font-size: 1rem;
        border-radius: 20px;
    }

    .selected-counter {
        margin: 15px;
        padding: 12px 15px;
        font-size: 1rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .service-item {
        padding: 15px 8px;
        min-height: 90px;
    }

    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 6px;
    }

    .service-name {
        font-size: 0.8rem;
    }

    .services-header h2 {
        font-size: 1.2rem;
    }
}

 .btn_save {
     width: 40%;
     padding: 3%;
     height: 50%;
     background-color: #e1b13e;
 }

#profile-picture2 {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ddd;
    cursor: pointer;
}

input {
    text-align: center;
    border: 1px solid #e1b13e !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.order-card {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-direction: row !important;
    background: white !important;
    border: 1px solid #ddd !important;
    border-radius: 10px !important;
    padding: 20px !important;
    margin-bottom: 15px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
    position: relative !important;
}

.order-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15) !important;
}

.order-canceled {
    background-color: red !important;
    color: #fff !important;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    flex-direction: row !important;
}

.order-card i {
    color: red;
    cursor: pointer;
}

::-webkit-scrollbar {
    background-color: #ccc !important;
}

::-webkit-scrollbar-thumb {
    background-color: #e1b13e !important;
}

body {
    background-color: #f0f2f5;
    display: flex;
    justify-content: center;
    direction: rtl;
    font-family: "Cairo", serif !important;
}

.profile-container {
    width: 100%;
    max-width: 1118px;
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 50px;
}

.cover {
    width: 100%;
    height: 300px;
    background: url('img/img1.png') no-repeat center;
    background-size: cover;
    position: relative;
}

.profile-picture {
    width: 150px;
    height: 150px;
    border: 5px solid white;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
    bottom: -75px;
    right: 30px;
}

.profile-content {
    padding: 84px 46px 20px 20px;
    text-align: right;
}

.profile-name {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.edit-button {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1877f2;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 10px;
}

.edit-button:hover {
    background-color: #145dbf;
}

input[type="file"] {
    display: none;
}

label.upload-label {
    display: inline-block;
    padding: 8px 16px;
    background-color: #1877f2;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    margin-top: 10px;
}

label.upload-label:hover {
    background-color: #145dbf;
}

.info-parent {
    width: 50%;
    margin: auto;
}

.info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #eee;
    border-radius: 15px;
    padding: 20px;
    margin: 20px;
    font-weight: bold;
}

.profile-items {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.profile-item {
    background-color: #ddd;
    padding: 15px;
    cursor: pointer;
    margin: 20px 0px;
    border-radius: 10px;
    width: 30%;
}

.profile-item:hover {
    background-color: #ccc;
}

.profile-item i {
    font-size: 20px;
}

.profile-item span {
    font-size: 20px;
    margin-right: 10px;
}

.info-parent {
    display: none;
}

#orders-container {
    margin-top: 20px;
    margin-right: 45px;
    display: none;
}

.orders-parent {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.order-card p {
    margin: 20px 0px;
    font-size: 20px;
}

/* CSS للطلبات المحدثة */

/* إحصائيات الطلبات */
.orders-stats {
    display: flex !important;
    justify-content: space-between !important;
    margin-bottom: 20px !important;
    padding: 15px !important;
    background: #f8f9fa !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1) !important;
}

.orders-stats > div {
    text-align: center !important;
    flex: 1 !important;
    padding: 0 10px !important;
}

.orders-stats strong {
    display: block !important;
    font-size: 24px !important;
    margin-bottom: 5px !important;
}

.orders-stats p {
    margin: 0 !important;
    color: #666 !important;
    font-size: 14px !important;
}

/* مؤشرات نوع الطلب */
.order-type-indicator {
    display: inline-block !important;
    padding: 4px 8px !important;
    border-radius: 15px !important;
    font-size: 12px !important;
    margin-bottom: 10px !important;
    font-weight: bold !important;
}

.order-type-personal {
    background: #007bff !important;
    color: white !important;
}

.order-type-created {
    background: #28a745 !important;
    color: white !important;
}

/* حالات الطلبات */
.order-status {
    font-weight: bold !important;
    padding: 2px 8px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
}

.status-active {
    color: #28a745 !important;
    background: rgba(40, 167, 69, 0.1) !important;
}

.status-pending {
    color: #ffc107 !important;
    background: rgba(255, 193, 7, 0.1) !important;
}

.status-canceled {
    color: #dc3545 !important;
    background: rgba(220, 53, 69, 0.1) !important;
}

/* أزرار الإجراءات */
.order-actions {
    display: flex !important;
    gap: 10px !important;
    align-items: center !important;
    margin-top: 10px !important;
}

.pay-now-btn {
    background: #007bff !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px !important;
    border-radius: 5px !important;
    cursor: pointer !important;
    font-size: 12px !important;
    transition: all 0.3s ease !important;
}

.pay-now-btn:hover {
    background: #0056b3 !important;
    transform: scale(1.05) !important;
}

.pay-now-btn:disabled {
    background: #6c757d !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.delete-icon {
    color: #dc3545 !important;
    cursor: pointer !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
}

.delete-icon:hover {
    color: #a71e2a !important;
    transform: scale(1.2) !important;
}

/* معلومات إضافية للطلبات المُنشأة للآخرين */
.additional-info {
    background: #f8f9fa !important;
    padding: 10px !important;
    border-radius: 5px !important;
    margin-top: 10px !important;
    border-right: 3px solid #28a745 !important;
}

.additional-info p {
    margin: 0 !important;
    font-size: 12px !important;
    color: #666 !important;
}

.additional-info p:not(:first-child) {
    margin-top: 5px !important;
}

/* Loading spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    border: 4px solid #f3f3f3 !important;
    border-top: 4px solid #e1b13e !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    animation: spin 2s linear infinite !important;
    margin: 0 auto !important;
}

/* Empty state */
.empty-orders {
    text-align: center !important;
    padding: 40px !important;
    color: #666 !important;
}

.empty-orders i {
    font-size: 48px !important;
    margin-bottom: 15px !important;
    color: #ddd !important;
}

.empty-orders h3 {
    margin-bottom: 10px !important;
    color: #333 !important;
}

/* CSS للـ Modal */
#orderDetailsModal {
    backdrop-filter: blur(5px);
}

.detail-row {
    transition: background-color 0.3s ease;
}

.detail-row:hover {
    background-color: rgba(225, 177, 62, 0.1) !important;
}

.order-details-card, .client-details-card {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.order-details-card:hover, .client-details-card:hover {
    transform: translateY(-2px);
}

/* عنوان الطلب القابل للنقر */
.order-title {
    color: #007bff !important;
    cursor: pointer !important;
    text-decoration: underline !important;
    font-weight: bold !important;
    transition: color 0.3s ease !important;
}

.order-title:hover {
    color: #0056b3 !important;
}

/* إشعارات الطلبات الجديدة */
.order-notification {
    position: fixed;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 10000;
    transform: translateX(-100%);
    transition: all 0.5s ease;
    max-width: 300px;
}

/* أنماط العداد في زر الطلبات */
#orders-counter span {
    display: inline-block;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* تحسينات الهوفر للكارتات */
.order-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.order-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
    border-color: #e1b13e !important;
}

/* تحسينات للمودالات */
.modal-overlay {
    backdrop-filter: blur(8px) !important;
    background: rgba(0, 0, 0, 0.6) !important;
}

/* أنماط للتفاعل مع الأزرار */
button, .btn {
    transition: all 0.3s ease !important;
}

button:hover, .btn:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

/* تحسينات للنصوص والخطوط */
.order-content p {
    line-height: 1.5 !important;
    margin: 8px 0 !important;
}

.order-content strong {
    color: #333 !important;
    font-weight: 600 !important;
}

/* الاستجابة للشاشات الصغيرة */
@media screen and (max-width: 768px) {
    .orders-stats {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .orders-stats > div {
        border-bottom: 1px solid #ddd !important;
        padding-bottom: 15px !important;
    }

    .orders-stats > div:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    .order-card {
        padding: 15px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .order-actions {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .pay-now-btn {
        width: 100% !important;
        margin-bottom: 10px !important;
    }

    .detail-row {
        flex-direction: column !important;
        text-align: right !important;
    }

    .detail-row strong {
        margin-bottom: 5px !important;
    }

    .info-parent {
        width: 100%;
    }

    .info h3 {
        font-size: 15px !important;
    }

    .profile-items {
        flex-direction: column;
    }

    .profile-item {
        width: 90%;
        margin: 0;
    }

    #orders-container {
        margin-right: 0;
    }

    .orders-parent {
        flex-direction: column;
    }

    .order-card {
        width: 90%;
    }

    .order-notification {
        left: 10px;
        right: 10px;
        max-width: none;
    }
}

@media screen and (max-width: 500px) {
    .info-parent {
        width: 100%;
    }

    .info h3 {
        font-size: 15px !important;
    }

    .profile-items {
        flex-direction: column;
    }

    .profile-item {
        width: 90%;
        margin: 0;
    }

    #orders-container {
        margin-right: 0;
    }

    .orders-parent {
        flex-direction: column;
    }

    .order-card {
        width: 90%;
    }
}

/* تحسينات إضافية لتجربة المستخدم */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-up {
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* تحسينات للفوكس والاكسيسيبيليتي */
button:focus, .btn:focus {
    outline: 2px solid #e1b13e !important;
    outline-offset: 2px !important;
}

.order-title:focus {
    outline: 2px solid #007bff !important;
    outline-offset: 2px !important;
    border-radius: 4px !important;
}

/* تحسينات للألوان والتباين */
.text-muted {
    color: #6c757d !important;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

.text-danger {
    color: #dc3545 !important;
}

.text-info {
    color: #17a2b8 !important;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.bg-primary {
    background-color: #007bff !important;
}

.bg-success {
    background-color: #28a745 !important;
}

.bg-warning {
    background-color: #ffc107 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

/* تصميم الخدمات الجديد مثل الموبايل */
.services-modal {
    backdrop-filter: blur(5px);
    z-index: 10000;
}

.services-modal-content {
    background: #f5f5f5;
    border-radius: 20px;
    width: 95%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.services-header {
    background: linear-gradient(135deg, #e1b13e 0%, #d4a029 100%);
    color: white;
    padding: 25px 20px;
    text-align: center;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
}

.services-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.services-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.services-close-btn {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.services-container {
    padding: 20px;
    background: #f5f5f5;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.service-item {
    background: white;
    border-radius: 20px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.service-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 177, 62, 0.1), transparent);
    transition: all 0.6s ease;
}

.service-item:hover::before {
    left: 100%;
}

.service-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(225, 177, 62, 0.15);
    border-color: rgba(225, 177, 62, 0.3);
}

.service-item.selected {
    border-color: #e1b13e;
    background: linear-gradient(135deg, #e1b13e 0%, #d4a029 100%);
    color: white;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 40px rgba(225, 177, 62, 0.4);
}

.service-item.selected .service-icon {
    color: white;
    transform: scale(1.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    color: #e1b13e;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.service-name {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    transition: all 0.3s ease;
    line-height: 1.2;
}

.selected-counter {
    background: linear-gradient(135deg, #e1b13e 0%, #d4a029 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 25px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(225, 177, 62, 0.3);
    font-size: 1.1rem;
}

.services-action-buttons {
    display: flex;
    gap: 15px;
    padding: 0 20px 25px;
    background: #f5f5f5;
}

.services-btn {
    flex: 1;
    padding: 18px 20px;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.services-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.services-btn:active::before {
    width: 300px;
    height: 300px;
}

.services-btn-cancel {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.3);
}

.services-btn-cancel:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(231, 76, 60, 0.4);
}

.services-btn-confirm {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.3);
}

.services-btn-confirm:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(39, 174, 96, 0.4);
}

.services-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.services-btn.loading {
    pointer-events: none;
}

.services-btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 1s linear infinite;
}

/* عداد الخدمات المحددة */
.service-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
}

.service-item.selected .service-count-badge {
    opacity: 1;
    transform: scale(1);
}

/* Animation for selection */
@keyframes pulse {
    0% { transform: translateY(-5px) scale(1.05); }
    50% { transform: translateY(-5px) scale(1.08); }
    100% { transform: translateY(-5px) scale(1.05); }
}

.service-item.selected {
    animation: pulse 0.6s ease-in-out;
}

/* Responsive Design */
@media (max-width: 768px) {
    .services-modal-content {
        width: 95%;
        margin: 10px;
        border-radius: 15px;
    }

    .services-header {
        padding: 20px 15px;
        border-radius: 15px 15px 0 0;
    }

    .services-header h2 {
        font-size: 1.4rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .service-item {
        padding: 20px 12px;
        min-height: 100px;
        border-radius: 15px;
    }

    .service-icon {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }

    .service-name {
        font-size: 0.9rem;
    }

    .services-action-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 0 15px 20px;
    }

    .services-btn {
        padding: 15px;
        font-size: 1rem;
        border-radius: 20px;
    }

    .selected-counter {
        margin: 15px;
        padding: 12px 15px;
        font-size: 1rem;
        border-radius: 20px;
    }
}

@media (max-width: 480px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .service-item {
        padding: 15px 8px;
        min-height: 90px;
    }

    .service-icon {
        font-size: 2.2rem;
        margin-bottom: 6px;
    }

    .service-name {
        font-size: 0.8rem;
    }

    .services-header h2 {
        font-size: 1.2rem;
    }
}

/* Modal styles for introduction and contract */
.intro-contract-modal {
    z-index: 10001;
    backdrop-filter: blur(5px);
}

.intro-contract-content {
    background: white;
    border-radius: 15px;
    width: 95%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.intro-contract-header {
    background: linear-gradient(135deg, #e1b13e 0%, #d4a029 100%);
    color: white;
    padding: 20px;
    text-align: center;
    border-radius: 15px 15px 0 0;
    position: relative;
}

.intro-contract-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.intro-contract-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.intro-contract-body {
    padding: 30px;
    text-align: right;
    direction: rtl;
    line-height: 1.8;
}

.intro-contract-body h2 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
}

.intro-contract-body p {
    margin-bottom: 15px;
    font-size: 16px;
}

.intro-contract-body img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 20px auto;
}

.contract-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.contract-section h4 {
    color: #e1b13e;
    margin-bottom: 15px;
}

.contract-section span {
    display: block;
    margin-bottom: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.contract-section span:last-child {
    border-bottom: none;
}
