  :root {
            --background-color: #f5f4f1;
            --default-color: #212529;
            --heading-color: #32220b;
            --accent-color: #736335;
            --surface-color: #ffffff;
            --contrast-color: #ffffff;
        }

        body {
            background-color: var(--background-color);
            color: var(--default-color);
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
        }

        .profile-container {
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px;
        }

        .back-home-btn , .save {
            display: inline-flex;
            align-items: center;
            padding: 12px 24px;
            background-color: var(--accent-color);
            color: var(--surface-color);
            text-decoration: none;
            border-radius: 12px;
            border: 2px solid var(--accent-color);
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 2px 8px rgba(115, 99, 53, 0.1);
        }

        .back-home-btn:hover , .save:hover {
            background-color: var(--accent-color);
            color: var(--contrast-color);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(115, 99, 53, 0.2);
        }

        .page-title {
            color: var(--heading-color);
            text-align: center;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 40px;
            position: relative;
        }

        .page-title::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 4px;
            background-color: var(--accent-color);
            border-radius: 2px;
        }

        .profile-header {
            background: var(--surface-color);
            border-radius: 20px;
            padding: 40px;
            margin-bottom: 30px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
            border: 1px solid rgba(115, 99, 53, 0.1);
        }
        .profile-main-info .info{
            background-color: var(--accent-color);
            padding: 35px;
            margin-right: 50px;
            margin-top: 20px;
            margin-bottom: 10px;
            display: flex;
            flex-direction: column;
            width: 50%;
            align-items: center;
            border-radius: 20px;
            box-shadow: 5px 5px 5px  rgba(0, 0, 0, 0.1);
            /* gap: 20px; */

        }

        .profile-image-container {
            text-align: center;
            margin-bottom: 30px;
        }

        .profile-image {
            width: 120px;
            height: 120px;
            object-fit: cover;
            border-radius: 50%;
            border: 3px solid var(--contrast-color);
            box-shadow: 0 8px 24px rgba(115, 99, 53, 0.2);
            transition: transform 0.3s ease;
        }

        .profile-image:hover {
            transform: scale(1.05);
        }

        .profile-info {
            width: 100%;
            background-color: var(--contrast-color);
            box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.1);
            padding: 30px 30px 80px 30px;
            border-radius: 16px;
            /* padding-bottom: 120px; */
            max-height: 400px;

            position: relative;
        }
         

        .username {
            color: var(--contrast-color);
            font-size: 1.5rem;
            font-weight: 900;
            margin-bottom: 20px;
            text-align: center;
        }

        .info-item {
            color: var(--accent-color);
            /* display: flex; */
            /* align-items: center; */
            padding: 12px 0;

        }

        .info-item:last-child {
            border-bottom: none;
        }

        .info-label {
            font-weight: 700;
            color: var(--accent-color);
            min-width: 120px;
            /* margin-left: 15px; */
        }
        .info-label i{
            font-size: 1rem;
            font-weight: 900;
            margin-right: 10px;
        }
        html[dir="rtl"] .info-label i{
            margin-right: 0;
            margin-left: 10px;

        }
            

        .info-value {
            color: var(--accent-color);
            flex: 1;
            margin-left: 10px;
        }

        .edit-profile-btn {
            display: block;
            border: 2px solid var(--contrast-color);
            padding: 5px 25px;
            border-radius: 20px;
            font-size: 0.9rem;
            font-weight: 700;
            font-family:Georgia, 'Times New Roman', Times, serif;
            color: var(--accent-color);
            z-index: 1;
            background-color: var(--contrast-color);
            width: fit-content;

            text-align: center;
            margin: 0px auto;
           
        }
        .edit-profile-btn  i{
            font-size: 0.9rem;
            font-weight: 900;
            margin-right: 10px;
        }
        html[dir="rtl"] .edit-profile-btn  i{
            margin-right: 0;
            margin-left: 10px;

        }

        /* .edit-profile-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(115, 99, 53, 0.4);
            color: var(--contrast-color);
        } */

        .section-divider {
            height: 2px;
            background-color: var(--accent-color);
            border: none;
            margin: 40px 0;
        }

        .bookings-section h3 {
            color: var(--heading-color);
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
        }


        .bookings-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 20px;
        }

        .booking-card {
            background: var(--surface-color);
            border-radius: 20px;
            /* padding: 25px; */
            /* box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08); */
            /* border: 1px solid rgba(115, 99, 53, 0.1); */
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            padding-bottom: 0px !important;
        }

     

        .booking-title {
            color: var(--accent-color);
            font-size: 1.2rem;
            font-weight: 700;
            margin-bottom: 15px;
            text-align: center;
        }
        .booking-title i{
            font-size: 1.2rem;
            font-weight: 900;
            margin-right: 5px;
        }
        html[dir="rtl"] .booking-title i{
            margin-right: 0;
            margin-left: 5px;

        }

        .booking-dates {
            /* background: rgba(115, 99, 53, 0.1); */
            /* padding: 15px; */
            border-radius: 8px;
            margin-bottom: 10px;
        }

        .date-item {
            display: flex;
            justify-content: space-between;
            gap: 10px;
            text-align: center;
            margin-bottom: 8px;
        }
        .customer-info p{
            font-size: 1rem;
            /* font-weight: 900; */
        }
        .customer-info p i{
            font-size: 1rem;
            margin-right: 10px;
            color: var(--accent-color);
        }
        html[dir="rtl"] .customer-info p i{
            margin-right: 0;
            margin-left: 10px;

        }

        .date-item:last-child {
            margin-bottom: 0;
        }

        .date-label {
            font-size: 1rem;
            font-weight: 700;
            color: var(--heading-color);
        }
        .date-label i{
            font-size: 1rem;
            margin-right: 10px;
            color: var(--accent-color);
        }
        html[dir="rtl"] .date-label i{
            margin-right: 0;
            margin-left: 10px;

        }

        .date-value {
            color: var(--default-color);
            font-weight: 500;
        }

        .cancel-btn {
            background-color: var(--accent-color);
            color: var(--contrast-color);
            border: none;
            padding: 10px 20px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            width: 100%;
        }

        .cancel-btn:hover {
            background-color: var(--accent-color);
            transform: translateY(-1px);
        }

        .no-bookings {
            text-align: center;
            padding: 60px 20px;
            background: var(--surface-color);
            border-radius: 16px;
            border: 2px dashed rgba(115, 99, 53, 0.3);
        }

        .no-bookings-icon {
            font-size: 4rem;
            margin-bottom: 20px;
            opacity: 0.6;
        }

        .no-bookings-text {
            color: var(--default-color);
            font-size: 1.1rem;
            opacity: 0.8;
        }

        @media (max-width: 768px) {
        
            .profile-container {
                padding: 15px;
            }

            .profile-header {
                padding: 25px;
            }

            .profile-image {
                width: 140px;
                height: 140px;
            }

            .page-title {
                font-size: 2rem;
            }

            .username {
                font-size: 1.5rem;
            }

            .bookings-grid {
                grid-template-columns: 1fr;
            }

            .info-item {
                flex-direction: column;
                align-items: flex-start;
            }

            .info-label {
                margin-left: 0;
                margin-bottom: 5px;
            }


}




        .profile-header {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
}

.profile-main-info {
    position: relative;
    display: flex;
    align-items: center;
    /* background-color: var(--accent-color); */
    /* background-color: #5dacbd !important; */
    /* flex: 1 1 100%;
    min-width: 300px;
    margin-bottom:50px;
    background-color: var(--accent-color) !important;
    color: #ffffff !important; */
}
html[dir="rtl"] .profile-main-info .info {
    padding: 35px;
    margin-left: 50px;
    margin-top: 20px;
    margin-bottom: 10px;
            /* display: flex; */
    flex-direction: column;
    width: 50%;
    align-items: center;
    border-radius: 20px;
}

.profile-bookings {
    flex: 1 1 50%;
    min-width: 300px;
    margin-bottom:50px;
    padding-bottom: 0px !important;
}
.profile-bookings .bookings-grid{

  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px; 

}
.profile-bookings .booking-card{
  padding: 30px !important;
  /* border: 2px solid var(--default-color); */
  box-shadow: 5px 5px 5px 5px rgba(0, 0, 0, 0.1);
}
.profile-bookings .booking-card .box{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.profile-bookings h3 {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 1.1px;
    font-family: 'Times New Roman', Times, serif;
    margin-bottom: 30px;
    border-left: 3px solid var(--accent-color);
    padding-left: 10px;
}
html[dir="rtl"] .profile-bookings h3 {
    border-left: none;
    border-right: 3px solid var(--accent-color);
    padding-left: 0;
    padding-right: 10px;
}

.bookings-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.booking-card {
    /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); */
    /* border: 1px solid rgba(115, 99, 53, 0.15); */
    /* 
    padding: 20px;
    background-color: var(--surface-color);
    margin-bottom: 20px; */
    border-radius: 12px;
}

.profile-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.back-home-btn {
    margin: 0;
}

.page-title {
    text-align: right;
    font-size: 2rem;
    margin: 0;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -6px;
    right: 0;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    border-radius: 2px;
}


.page-flex {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 40px;
}

.card-box {
  flex: 1 1 48%;
  /* background: var(--surface-color); */
  padding: 25px;
  border-radius: 12px;
  /* box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); */
  /* border: 1px solid rgba(115, 99, 53, 0.1); */
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .card-box {
    flex: 1 1 100%;
  }
  .profile-main-info{
    flex-direction: column;
    overflow: hidden;
    /* align-items: center; */
    /* text-align: center; */
  } 
  .profile-main-info .profile-info{
    height: 300px !important;
  }
  .edit-profile-btn {
    width: 200px;
  }

}

 .edit-profile-card {
            flex: 1 1 45%;
            width: 50%;
            margin: 50px auto;
            background-color: #fff;
            padding: 2rem;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
            border-radius: 0;
            max-height: 90%;
        }

        .edit-profile-card h1 {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            text-align: center;
        }

        .edit-profile-card .profile-image-container {
            text-align: center;
            margin-bottom: 1.5rem;
        }

        .edit-profile-card .profile-image {
            width: 120px;
            height: 120px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 0.5rem;
        }

        .edit-profile-card .info-item {
            margin-bottom: 1rem;
        }

        .edit-profile-card .info-label {
            font-weight: bold;
            display: block;
            margin-bottom: 0.3rem;
        }

        .edit-profile-card .form-control {
            width: 100%;
        }

        .save , .back-home-btn {
            display: inline-block;
            padding: 0.7rem 1rem;
            background-color: var(--accent-color);
            color: #fff;
            border: none;
            text-decoration: none;
            margin: 0.2rem auto;
            border-radius: 0;
        }

        .save ,.back-home-btn {
            background-color: var(--accent-color);
            border-radius: 15px;
        }

        .alert-danger {
            background-color: #fdd;
            color: #900;
            padding: 1rem;
            border: 1px solid #f99;
            border-radius: 0;
            margin-bottom: 1rem;
        }

        ul {
            padding-left: 1.2rem;
        }


.form-control input,
.form-control select,
.form-control textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control input:focus,
.form-control select:focus,
.form-control textarea:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(115, 99, 53, 0.2);
    outline: none;
}
.button-group {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.save, .back-home-btn {
    padding: 0.8rem 2rem;
    font-weight: 600;
    width: auto;
    max-width: none;
    cursor: pointer;
    font-size: larger;
}

.image-upload input {
    border: none;
    padding: 0;
    box-shadow: none;
}
.image-upload input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.custom-file-label {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--accent-color);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom-file-label:hover {
    background-color: #5f5130;
}
 /* .back-home-btn{
          margin-left: 200px;
           background-color:white ;
           color : var(--heading-color);
           border: 1px solid rgba(50, 34, 11, 0.3);
        } */

.back-arrow {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.2rem;
    color: var(--heading-color);
    background-color: white;
    padding: 8px 14px;
    border: 1px solid rgba(50, 34, 11, 0.3);
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 999;
}

.back-arrow:hover {
    background-color: var(--accent-color);
    color: white;
}
.hidden-upload {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.image-upload-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 10px;
}

/* إخفاء كل العناصر غير المرغوب فيها */
.profile-image-container > *:not(.profile-image):not(.image-upload-wrapper) {
    display: none !important;
}

/* تنسيق العنوان */
.edit-profile-card h1 {
    text-align: center;
    margin: 0 auto 30px auto; /* تضبيط الهوامش */
    width: 100%;
}

تنسيق حاوية الصورة
.profile-image-container {
    text-align: center; /* لتوسيط الصورة والزر داخلها */
    margin: 0 auto; /* توسيط أفقي */
    width: fit-content; /* يتناسب مع المحتوى */
}

/* تنسيق زر التغيير */
.image-upload-wrapper {
    display: flex;
    justify-content: center; /* توسيط الزر أفقيًا */
    margin-top: 15px;
}

.custom-file-label {
    background: var(--accent-color);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    text-align: center;
}


  @media (max-width: 1500px) {
            .edit-profile-card{
                width: 80%;
                height: auto;
            }
            .button-group {
  display: flex;
  justify-content: center; /* أو space-between لو حابة توسعيهم */
  gap: 1rem !important; /* المسافة بين الزرين */
  margin-top: 1.5rem;
}

            .save, .back-home-btn {
                padding: 0.7rem 1.5rem;
                font-weight: 600;
                width: auto;
                max-width: none;
                cursor: pointer;
                font-size: smaller;
               justify-content: space-between;
            }

        }


/* تحسين الريسبونسف للشاشات أقل من 992px */
@media (max-width: 992px) {
    .edit-profile-card {
        width: 90%;
        padding: 1.5rem;
    }

    .profile-image {
        width: 100px;
        height: 100px;
    }

    .edit-profile-card h1 {
        font-size: 1.3rem;
    }

    .info-label {
        font-size: 0.9rem;
    }

    .form-control input,
    .form-control select,
    .form-control textarea {
        font-size: 0.95rem;
    }

    .save,
    .back-home-btn {
        font-size: 0.9rem;
        padding: 0.6rem 1.2rem;
    }
}

/* تحسين الريسبونسف للشاشات الصغيرة جدًا أقل من 576px */
@media (max-width: 576px) {
    .edit-profile-card {
        width: 95%;
        padding: 1rem;
        border-radius: 0;
    }

    .profile-image {
        width: 80px;
        height: 80px;
    }

    .custom-file-label {
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    .button-group {
        flex-direction: column;
        gap: 0.5rem;
    }

    .save,
    .back-home-btn {
        width: 100%;
        text-align: center;
    }

    .back-arrow {
        font-size: 1rem;
        padding: 6px 10px;
        top: 10px;
        left: 10px;
    }
}






.back-arrow {
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .back-arrow {
        margin-bottom: 3rem;
    }
}



.profile-main-info{
    max-height: 700px;
}






@media (max-width: 768px) {
  /* اخفاء النص في الموبايل */
  /* .auth-buttons .auth-text {
    display: none;
  } */

  /* تصغير الزر */
  .auth-buttons .btn.custom-auth-btn {
    /* width: 30px;
    height: 30px; */
    /* padding: 0px; */
    /* border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center; */
  }

  /* حجم الايقونة */
  .auth-buttons i {
    font-size: 12px;
    margin-left: 4px;

  }

  /* تحريك الزر لليمين */
  /* .auth-buttons {
    position: absolute;
    top: 12px;
    right: 60px;
  } */
  html[dir="rtl"] .auth-buttons {
    /* left: -60px; */
    /* right: 300px; */
  }
}




