/*
    DEMO STYLE
*/
@import "https://fonts.googleapis.com/css?family=Tajawal:300,400,500,600,700";

html, body {height:100%;overflow:auto}
body {
    font-family: 'Tajawal', sans-serif;
    /*margin: 0;*/
    /*background-image: url('../images/bg_black.jpg');*/
    /*background-size: cover;*/
    /*zoom: 0;*/
}

p {
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1em;
    font-weight: 300;
    line-height: 1.7em;
    color: #999;
}

a, a:hover, a:focus {
    color: inherit;
    text-decoration: inherit;
    transition: all 0.3s;
}

label {
    color: #000000;
    font-weight: bold;
}

span {
    color:var(--gold-primary);
    font-weight:bold;
}
hr {
    color: #FFCF96;
    border-width: 5px;
}
h3 {
    color: #ffffff;
    font-weight: bold;
}
th{
    color: #BD1E51;
    vertical-align: middle;
}

td {
    vertical-align: middle;
}

.titles{
    font-weight: bold;
    color: #BD1E51 !important;
    vertical-align: middle;
}
#submit, #submit2, .golden {
    border: none;
    border-radius: 10px;
    padding: 5px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.1rem;
    /*box-shadow: 0 4px 12px rgba(196, 146, 41, 0.22);*/
    transition: all 0.3s ease;
    background:linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);

}

#submit:hover, #submit2:hover,.golden:hover {
    color: #ffffff;
}

.checkbox{
    transform: scale(1.5);
    margin-left: 5px;
}
.btn-sm {
    margin: 5px;
}
.navbar {
    /*background:linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);*/

    padding: 0px;
    /*background: #fff;*/
    border: none;
    border-radius: 0;
    margin-bottom: 10px;
    /*box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);*/
}

.navbar-btn {
    box-shadow: none;
    outline: none !important;
    border: none;
}

.line {
    width: 100%;
    height: 1px;
    border-bottom: 1px dashed #ddd;
    margin: 40px 0;
}

.card-header {
    font-weight: bold;
    font-size: x-large;
    color: #000 !important;
    background:linear-gradient(to right, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
}

.card-body {
    background-color: var(--bg-color);
}
/* ---------------------------------------------------
    SIDEBAR STYLE
----------------------------------------------------- */

.wrapper {
    display: flex;
    width: 100%;
    align-items: stretch;
    perspective: 1500px;
}

a[data-toggle="collapse"] {
    position: relative;
}

.dropdown-toggle::after {
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}

ul ul a {
    font-size: 0.9em !important;
    padding-left: 30px !important;
    background: #6d7fcc;
}

ul.CTAs {
    padding: 20px;
}

ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    border-radius: 5px;
    margin-bottom: 5px;
}

a.download {
    background: #fff;
    color: #7386D5;
}

a.article, a.article:hover {
    background: #6d7fcc !important;
    color: #fff !important;
}



/* ---------------------------------------------------
    CONTENT STYLE
----------------------------------------------------- */
#sidebarCollapse {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    cursor: pointer;
}

#sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition-delay: 0.2s;
}

#sidebarCollapse span:first-of-type {
    transform: rotate(45deg) translate(2px, 2px);
}
#sidebarCollapse span:nth-of-type(2) {
    opacity: 0;
}
#sidebarCollapse span:last-of-type {
    transform: rotate(-45deg) translate(1px, -1px);
}


#sidebarCollapse.active span {
    transform: none;
    opacity: 1;
    margin: 5px auto;
}

/* ---------------------------------------------------
    MEDIAQUERIES
----------------------------------------------------- */
@media only screen and (max-width: 600px) {
    td, th, span {
        font-size: xx-small !important;
    }

    a, select {
        font-size: x-small !important;
    }
    input[type=submit], input[type=text] {
        font-size: x-small !important;
    }
    p {
        font-size: x-small !important;
    }
    .btn-sm {
        font-size: xx-small !important;
    }
    /*.card-header {*/
    /*    font-size: small;*/
    /*}*/
    .golden {
        font-size: 15px !important;
    }
    .card-header {
        font-size: medium;
    }


    #sidebarCollapse span:first-of-type,
    #sidebarCollapse span:nth-of-type(2),
    #sidebarCollapse span:last-of-type {
        transform: none;
        opacity: 1;
        margin: 5px auto;
    }
    #sidebarCollapse.active span {
        margin: 0 auto;
    }
    #sidebarCollapse.active span:first-of-type {
        transform: rotate(45deg) translate(2px, 2px);
    }
    #sidebarCollapse.active span:nth-of-type(2) {
        opacity: 0;
    }
    #sidebarCollapse.active span:last-of-type {
        transform: rotate(-45deg) translate(1px, -1px);
    }

}
/* ==========================================
   REGISTRATION PAGE STYLES (MATCHING DESIGN)
   ========================================== */

.reg-top-logo {
    max-width: 120px;
    height: auto;
}

.reg-platform-title {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    color: #c6932e;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0;
}

/* الكارت الرئيسي */
.reg-card-wrapper {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 1180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(220, 220, 220, 0.6);
    overflow: hidden;
}

/* شريط رأس الكارت */
.reg-card-header {
    background: linear-gradient(180deg, #edd087 0%, #d8a841 50%, #c49229 100%);
    border-bottom: 1px solid #d4a742;
}

.reg-header-title {
    color: #1a1a1a;
    font-size: 1.35rem;
}

/* العناوين والـ Labels */
.reg-label {
    color: #222222 !important;
    font-weight: 600;
    font-size: 0.88rem;
    display: block;
    text-align: right;
}

/* المدخلات والقوائم المنسدلة */
.reg-input-group {
    position: relative;
    width: 100%;
}

.custom-reg-input, .custom-reg-select {
    width: 100%;
    background-color: #fafafa;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 8px 38px 8px 12px;
    font-size: 0.9rem;
    color: #333333;
    outline: none;
    transition: all 0.2s ease-in-out;
}

.custom-reg-input:focus, .custom-reg-select:focus {
    border-color: #d4a742;
    background-color: #ffffff;
    box-shadow: 0 0 0 3px rgba(212, 167, 66, 0.12);
}

.custom-reg-input:disabled {
    background-color: #f2f2f2;
    cursor: not-allowed;
}

.reg-input-icon {
    position: absolute;
    right: 12px; /* ضبط الموضع من اليمين */
    left: auto;
    top: 50%;
    transform: translateY(-50%);
    color: #c6932e;
    font-size: 1rem;
    pointer-events: none;
}

/* حقل رفع الملف المصمم */
.reg-file-input-wrapper {
    position: relative;
    width: 100%;
    height: 38px;
    overflow: hidden;
    border-radius: 8px;
}

.reg-file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    cursor: pointer;
}

.reg-file-fake-btn {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fafafa;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
}

.reg-file-fake-btn .btn-choose {
    background-color: #eaeaea;
    color: #333;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
}

.reg-file-fake-btn .file-name-text {
    color: #777777 !important;
    font-size: 0.85rem;
    font-weight: normal;
}

/* الراديو والتشيك بوكس */
.reg-radio {
    accent-color: #c6932e;
    cursor: pointer;
}

.gold-checkbox {
    width: 17px;
    height: 17px;
    accent-color: #c6932e;
    cursor: pointer;
}

.reg-terms-box {
    background-color: #fbfbfb;
    border: 1px solid #f0f0f0;
}

/* زر الحفظ الذهبي */
.btn-reg-gold-submit {
    background: linear-gradient(180deg, #edd087 0%, #d8a841 50%, #c49229 100%);
    border: none;
    border-radius: 8px;
    padding: 10px 40px;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 1.05rem;
    box-shadow: 0 4px 12px rgba(196, 146, 41, 0.2);
    transition: all 0.3s ease;
}

.btn-reg-gold-submit:hover:not(:disabled) {
    background: linear-gradient(180deg, #e4bf67 0%, #c99933 50%, #b3821e 100%);
    color: #000000;
}

.btn-reg-gold-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

/* زر العودة للدخول الخارجي */
.btn-reg-gold-outline {
    background: #ffffff;
    border: 1.5px solid #d8a841;
    color: #c49229;
    border-radius: 8px;
    padding: 8px 26px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.btn-reg-gold-outline:hover {
    background-color: #fdfaf3;
    color: #a87919;
    border-color: #c49229;
}

/* ==========================================
   لوحة التحكم والقائمة الجانبية (Dashboard & Sidebar)
   ========================================== */

/* كارت القائمة الجانبية */
.cp-sidebar-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px 20px;
    border: 1px solid rgba(198, 147, 46, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cp-avatar-circle {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background-color: #f7e6c4;
    border: 2px solid #e7c374;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c6932e;
    font-size: 2.5rem;
    margin-bottom: 12px;
    overflow: hidden;
}

.cp-user-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

.cp-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp-menu-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 12px;
    color: #4a4a4a;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25 ease;
}

.cp-menu-item a:hover,
.cp-menu-item.active a {
    background-color: #fbf6ec;
    color: #c6932e;
}

.cp-menu-item.active a {
    font-weight: 700;
}

.cp-menu-item a i {
    font-size: 1.25rem;
    color: #c6932e;
}

.cp-menu-item.logout a {
    color: #dc3545;
    margin-top: 15px;
}

.cp-menu-item.logout a i {
    color: #dc3545;
}

.cp-menu-item.logout a:hover {
    background-color: #fff0f0;
}

/* بطاقة المحتوى الرئيسي */
.cp-main-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 15px 5px 5px 5px;
    border: 1px solid rgba(198, 147, 46, 0.12);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.cp-page-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.cp-page-subtitle {
    font-size: 0.88rem;
    color: #8c8c8c;
    margin-bottom: 20px;
}

/* شريط الفلاتر والبحث */
.cp-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    margin-bottom: 5px;
}

.cp-filter-select, .cp-search-box {
    border: 1px solid #eaeaea;
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.88rem;
    color: #555;
    background-color: #fff;
    outline: none;
    transition: all 0.2s;
}

.cp-filter-select:focus, .cp-search-box input:focus {
    border-color: #c6932e;
}

.cp-search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
}

.cp-search-box input {
    border: none;
    outline: none;
    font-size: 0.88rem;
    width: 180px;
}

/* جدول الحجوزات */
.cp-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.cp-table th {
    color: #8c8c8c;
    background-color: #fbf6ec;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 10px;
    text-align: center;
    border: none;
}

.cp-table td {
    background-color: #ffffff;
    padding: 14px 10px;
    text-align: center;
    vertical-align: middle;
    font-size: 0.9rem;
    color: #2b2b2b;
    font-weight: 500;
    border-top: 1px solid #f4f4f4;
    border-bottom: 1px solid #f4f4f4;
}

.cp-table td:first-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
    border-right: 1px solid #f4f4f4;
}

.cp-table td:last-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    border-left: 1px solid #f4f4f4;
}

/* زر رقم الحجز */
.btn-booking-id {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.btn-booking-id:hover {
    border-color: #c6932e;
    color: #c6932e;
}

/* باجات حالة الحجز */
.badge-status-pill {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-completed {
    background-color: #e6f4ea;
    color: #1e7e34;
}

.status-pending {
    background-color: #fef3d6;
    color: #b27b00;
}

/* زر الحذف */
.btn-delete-icon {
    color: #dc3545;
    background: transparent;
    border: none;
    font-size: 1.1rem;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s;
}

.btn-delete-icon:hover {
    background-color: #ffeef0;
    color: #a71d2a;
}

.btn-gold-outline {
    background: #ffffff;
    border: 1.5px solid #d8a841;
    color: #c49229;
    border-radius: 10px;
    padding: 8px 28px;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background-color: #fdfaf3;
    color: #a87919;
    border-color: #c49229;
}
