/* Page Container */
html,
body {
    overflow-x: hidden !important;
}

.booking-detail-page {
    min-height: 100vh;
    background: linear-gradient(180deg, #0c1829 0%, #0f1d32 100%);
    color: #fff;
    overflow-x: hidden !important;
}

/* ============================================
   PAGE HEADER SECTION
   ============================================ */
.booking-page-header {
    position: relative;
    background: var(--dark-color, #0c1829);
    padding: 200px 0 40px;
    overflow: hidden;
}

.booking-page-header-bg {
    position: absolute;
    inset: 0;
    background-image: url('/images/hero-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.booking-page-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(12, 24, 41, 0.4) 0%,
            rgba(12, 24, 41, 0.55) 100%);
    pointer-events: none;
}

.booking-page-header-content {
    position: relative;
    z-index: 1;
}

.booking-header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}

.booking-page-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px;
    line-height: 1.2;
}

.booking-breadcrumb-nav {
    display: flex;
    justify-content: center;
}

.booking-breadcrumb-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.booking-breadcrumb-link {
    color: var(--accent-cyan, #00bcd4);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}

.booking-breadcrumb-link:hover {
    color: var(--accent-cyan-dark, #0097a7);
    text-decoration: underline;
}

.booking-breadcrumb-current {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
}

.booking-breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9rem;
}

/* ============================================
   BOOKING CONTENT SECTION
   ============================================ */
.booking-content-section {
    padding: 60px 0;
}

.booking-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   BOOKING HERO CARD (Main Booking Info)
   ============================================ */
.booking-hero-card {
    background: rgba(26, 39, 68, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
    margin-bottom: 40px;
}

.booking-hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.booking-hero-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.booking-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: capitalize;
    width: fit-content;
}

.booking-status-badge.status-pending {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.booking-status-badge.status-accepted,
.booking-status-badge.status-accept {
    background: rgba(0, 188, 212, 0.15);
    color: #00bcd4;
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.booking-status-badge.status-completed {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.booking-status-badge.status-cancelled {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.booking-status-badge.status-in_progress,
.booking-status-badge.status-on_going {
    background: rgba(33, 150, 243, 0.15);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.booking-id-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.booking-id-title a {
    color: var(--accent-cyan, #00bcd4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.booking-id-title a:hover {
    color: #00acc1;
}

.booking-date-time {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.booking-date-time svg {
    color: var(--accent-cyan, #00bcd4);
}

.booking-service-type {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(95, 96, 185, 0.15);
    border: 1px solid rgba(95, 96, 185, 0.3);
    border-radius: 20px;
    color: #7c7dff;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
}

.booking-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.booking-btn {
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.booking-btn-primary {
    background: var(--accent-cyan, #00bcd4);
    color: #fff;
}

.booking-btn-primary:hover {
    background: #00acc1;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
}

.booking-btn-danger {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.booking-btn-danger:hover {
    background: #f44336;
    color: #fff;
}

.booking-btn-success {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.booking-btn-success:hover {
    background: #4caf50;
    color: #fff;
}

.booking-btn-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.booking-btn-warning:hover {
    background: #ffc107;
    color: #000;
}

.booking-btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.booking-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.booking-hero-image {
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.booking-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.booking-hero-card:hover .booking-hero-image img {
    transform: scale(1.05);
}

/* ============================================
   INFO CARDS GRID
   ============================================ */
.booking-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.booking-info-card {
    background: rgba(26, 39, 68, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.booking-info-card:hover {
    border-color: rgba(0, 188, 212, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.booking-info-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.booking-info-card-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 188, 212, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan, #00bcd4);
}

.booking-info-card-title {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.booking-info-card-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.booking-info-card-value.text-primary {
    color: var(--accent-cyan, #00bcd4);
}

.booking-info-card-value.text-success {
    color: #4caf50;
}

.booking-info-card-value.text-danger {
    color: #f44336;
}

.booking-info-card-value.text-warning {
    color: #ffc107;
}

/* ============================================
   PERSON CARDS (Provider, Customer, Handyman)
   ============================================ */
.booking-people-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.booking-person-card {
    background: rgba(26, 39, 68, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.3s ease;
}

.booking-person-card:hover {
    border-color: rgba(0, 188, 212, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.booking-person-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.booking-person-avatar {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    border: 3px solid rgba(0, 188, 212, 0.3);
    flex-shrink: 0;
}

.booking-person-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-person-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 5px;
}

.booking-person-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(0, 188, 212, 0.15);
    border-radius: 20px;
    color: var(--accent-cyan, #00bcd4);
    font-size: 0.8rem;
    font-weight: 500;
}

.booking-person-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-person-detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.booking-person-detail-item svg {
    color: var(--accent-cyan, #00bcd4);
    flex-shrink: 0;
}

.booking-person-detail-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.booking-person-detail-item a:hover {
    color: var(--accent-cyan, #00bcd4);
}

/* ============================================
   PRICE SUMMARY CARD
   ============================================ */
.booking-price-card {
    background: rgba(26, 39, 68, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    position: sticky;
    top: 120px;
}

.booking-price-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.booking-price-row:last-child {
    border-bottom: none;
}

.booking-price-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.booking-price-value {
    font-weight: 600;
    color: #fff;
}

.booking-price-value.text-success {
    color: #4caf50;
}

.booking-price-value.text-danger {
    color: #f44336;
}

.booking-price-total {
    background: rgba(0, 188, 212, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
}

.booking-price-total .booking-price-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}

.booking-price-total .booking-price-value {
    font-size: 1.5rem;
    color: var(--accent-cyan, #00bcd4);
}

/* ============================================
   ADDONS SECTION
   ============================================ */
.booking-addons-section {
    margin-bottom: 40px;
}

.booking-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.booking-section-title span {
    color: var(--accent-cyan, #00bcd4);
}

.booking-addons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.booking-addon-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(26, 39, 68, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.booking-addon-card:hover {
    border-color: rgba(0, 188, 212, 0.3);
    transform: translateY(-3px);
}

.booking-addon-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.booking-addon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.booking-addon-info h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
}

.booking-addon-price {
    color: var(--accent-cyan, #00bcd4);
    font-weight: 700;
    font-size: 1.1rem;
}

/* ============================================
   TWO COLUMN LAYOUT
   ============================================ */
.booking-two-column {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
    align-items: start;
}

.addon-card {
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px;
    background: rgba(26, 39, 68, 0.4);
}


/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .booking-two-column {
        grid-template-columns: 1fr;
    }

    .booking-price-card {
        position: static;
    }
}

@media (max-width: 991px) {
    .booking-page-header {
        padding: 160px 0 30px;
    }

    .booking-page-title {
        font-size: 2rem;
    }

    .booking-header-container {
        padding: 0 20px;
    }

    .booking-container {
        padding: 0 20px;
    }

    .booking-content-section {
        padding: 40px 0;
    }

    .booking-hero-grid {
        grid-template-columns: 1fr;
    }

    .booking-hero-image {
        order: -1;
    }
}

@media (max-width: 575px) {
    .booking-page-header {
        padding: 140px 0 25px;
    }

    .booking-page-title {
        font-size: 1.6rem;
    }

    .booking-hero-card {
        padding: 24px;
    }

    .booking-info-grid {
        grid-template-columns: 1fr;
    }

    .booking-people-grid {
        grid-template-columns: 1fr;
    }

    .booking-person-header {
        flex-direction: column;
        text-align: center;
    }

    .booking-actions {
        flex-direction: column;
    }

    .booking-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   RTL SUPPORT
   ============================================ */
[dir="rtl"] .booking-hero-grid {
    direction: rtl;
}

[dir="rtl"] .booking-info-card-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .booking-person-header {
    flex-direction: row-reverse;
}

[dir="rtl"] .booking-person-detail-item {
    flex-direction: row-reverse;
}

[dir="rtl"] .booking-price-row {
    flex-direction: row-reverse;
}

[dir="rtl"] .booking-addon-card {
    flex-direction: row-reverse;
}

/* ============================================
   RATING STARS STYLING
   ============================================ */
.booking-detail-page .rating-component svg,
.booking-detail-page .vue-star-rating svg,
.booking-detail-page .star-rating svg,
.booking-detail-page [class*="rating"] svg {
    color: #ffc107 !important;
    fill: #ffc107 !important;
}

/* Target the polygon/path inside SVG stars */
.booking-detail-page .vue-star-rating polygon,
.booking-detail-page .vue-star-rating path,
.booking-detail-page .vue-star-rating-star polygon,
.booking-detail-page .vue-star-rating-star path,
.booking-detail-page .rating-component polygon,
.booking-detail-page .rating-component path,
.booking-detail-page [class*="rating"] svg polygon,
.booking-detail-page [class*="rating"] svg path {
    fill: #ffc107 !important;
}

/* Override SVG gradient stop colors */
.booking-detail-page .vue-star-rating linearGradient stop,
.booking-detail-page .vue-star-rating-star linearGradient stop,
.booking-detail-page [class*="rating"] linearGradient stop {
    stop-color: #ffc107 !important;
}

/* Force star container colors */
.booking-detail-page .vue-star-rating-star {
    color: #ffc107 !important;
}

.booking-detail-page .vue-star-rating-star svg {
    fill: #ffc107 !important;
}

.booking-detail-page .rating-component .star-filled,
.booking-detail-page .vue-star-rating .star-filled,
.booking-detail-page [class*="rating"] .star-filled {
    color: #ffc107 !important;
    fill: #ffc107 !important;
}

.booking-detail-page .rating-component .star-empty,
.booking-detail-page .vue-star-rating .star-empty,
.booking-detail-page [class*="rating"] .star-empty {
    color: rgba(255, 193, 7, 0.3) !important;
    fill: rgba(255, 193, 7, 0.3) !important;
}


/* Rating Badge Styling */
.booking-detail-page .badge,
.booking-detail-page .rating-badge,
.booking-detail-page [class*="badge"] {
    background: transparent !important;
    border: 1px solid rgba(255, 193, 7, 0.4);
    color: #ffc107;
}

/* Provider Rating Section */
.booking-detail-page .provider-rating,
.booking-detail-page .handyman-rating,
.booking-detail-page .user-rating {
    background: transparent;
}

/* Fix bg-light to be dark */
.booking-detail-page .bg-light {
    background: rgba(26, 39, 68, 0.5) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

/* Fix border-bottom colors */
.booking-detail-page .border-bottom {
    border-bottom-color: rgba(255, 255, 255, 0.1) !important;
}

/* Fix text colors for dark theme */
.booking-detail-page .text-body {
    color: rgba(255, 255, 255, 0.8) !important;
}

.booking-detail-page .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

.booking-detail-page h4,
.booking-detail-page h5,
.booking-detail-page h6 {
    color: #fff;
}

/* Rating component container */
.booking-detail-page .vue-star-rating-star,
.booking-detail-page .rating-component-star {
    color: #ffc107;
}

/* Fix any black backgrounds */
.booking-detail-page .bg-dark,
.booking-detail-page [style*="background: black"],
.booking-detail-page [style*="background-color: black"],
.booking-detail-page [style*="background:#000"],
.booking-detail-page [style*="background-color:#000"] {
    background: transparent !important;
}

/* ============================================
   POPUP/MODAL PREMIUM STYLING
   ============================================ */

/* Modal Overlay */
.booking-detail-page .modal,
.modal.show {
    backdrop-filter: blur(8px);
}

.booking-detail-page .modal-backdrop,
.modal-backdrop.show {
    background: rgba(12, 24, 41, 0.8) !important;
}

/* Modal Content */
.booking-detail-page .modal-content,
.booking-detail-page .popover,
.booking-detail-page .tooltip-inner,
.booking-detail-page [class*="popup"],
body .modal-content {
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.95) 0%, rgba(18, 30, 54, 0.98) 100%) !important;
    border: 1px solid rgba(0, 188, 212, 0.3) !important;
    border-radius: 20px !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(0, 188, 212, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(20px) !important;
    overflow: hidden;
}

/* Modal Header */
.booking-detail-page .modal-header,
body .modal-header {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.15) 0%, rgba(95, 96, 185, 0.15) 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 20px 24px !important;
}

.booking-detail-page .modal-title,
body .modal-title {
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 1.25rem !important;
    margin-right: 45px !important;
}

.icon-fill {
    color: var(--accent-cyan) !important;
}

/* Modal Close Button */
.booking-detail-page .modal-header .btn-close,
.booking-detail-page .modal-header .close,
body .modal-header .btn-close,
body .modal-header .close {
    background: rgba(244, 67, 54, 0.25) !important;
    border: 2px solid rgba(244, 67, 54, 0.5) !important;
    border-radius: 12px !important;
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    min-height: 25px !important;
    opacity: 1 !important;
    color: #fff !important;
    filter: none !important;
    background-image: none !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    cursor: pointer !important;
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.3) !important;
}

/* Add X icon using ::before */
.booking-detail-page .modal-header .btn-close::before,
.booking-detail-page .modal-header .close::before,
body .modal-header .btn-close::before,
body .modal-header .close::before {
    content: '✕' !important;
    font-size: 1.3rem !important;
    font-weight: bold !important;
    color: #fff !important;
    line-height: 1 !important;
}

/* Hide default close icon */
.booking-detail-page .modal-header .btn-close::after,
body .modal-header .btn-close::after {
    display: none !important;
}

.booking-detail-page .modal-header .btn-close span,
body .modal-header .btn-close span {
    display: none !important;
}

/* Custom Close Button (specific to this modal) */
.custom-btn-close,
.booking-detail-page .custom-btn-close,
body .custom-btn-close,
.modal .custom-btn-close {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 12px !important;
    cursor: pointer !important;
    z-index: 1050 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 20px rgba(244, 67, 54, 0.5) !important;
    transition: all 0.3s ease !important;
}

.custom-btn-close:hover,
.booking-detail-page .custom-btn-close:hover,
body .custom-btn-close:hover {
    background: linear-gradient(135deg, #ff5252 0%, #f44336 100%) !important;
    transform: scale(1.1) rotate(90deg) !important;
    box-shadow: 0 6px 25px rgba(244, 67, 54, 0.6) !important;
}

/* Make the SVG inside custom-btn-close visible */
.custom-btn-close svg,
.booking-detail-page .custom-btn-close svg,
body .custom-btn-close svg {
    width: 24px !important;
    height: 24px !important;
    color: #fff !important;
    fill: #fff !important;
}

.custom-btn-close svg rect,
.booking-detail-page .custom-btn-close svg rect,
body .custom-btn-close svg rect {
    fill: transparent !important;
}

.custom-btn-close svg path,
.booking-detail-page .custom-btn-close svg path,
body .custom-btn-close svg path {
    fill: #fff !important;
    stroke: #fff !important;
}



.booking-detail-page .modal-header .btn-close:hover,
.booking-detail-page .modal-header .close:hover,
body .modal-header .btn-close:hover,
body .modal-header .close:hover {
    background: #f44336 !important;
    color: #fff !important;
    transform: rotate(90deg) !important;
}

/* Modal Body */
.booking-detail-page .modal-body,
body .modal-body {
    background: transparent !important;
    padding: 24px !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Modal Footer */
.booking-detail-page .modal-footer,
body .modal-footer {
    background: rgba(26, 39, 68, 0.5) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 16px 24px !important;
}

/* Table inside Modal */
.booking-detail-page .modal-body table,
body .modal-body table {
    color: rgba(255, 255, 255, 0.9) !important;
    width: 100%;
}

.booking-detail-page .modal-body table th,
.booking-detail-page .modal-body table td,
body .modal-body table th,
body .modal-body table td {
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.booking-detail-page .modal-body table tr:last-child td,
body .modal-body table tr:last-child td {
    border-bottom: none !important;
}

.booking-detail-page .modal-body table tr:hover,
body .modal-body table tr:hover {
    background: rgba(0, 188, 212, 0.08) !important;
}

/* Tax/Fee Labels */
.booking-detail-page .modal-body .tax-label,
.booking-detail-page .modal-body td:last-child,
body .modal-body td:last-child {
    color: #fff !important;
    font-weight: 500;
}

.booking-detail-page .modal-body .tax-amount,
.booking-detail-page .modal-body td:first-child,
body .modal-body td:first-child {
    color: var(--accent-cyan, #00bcd4) !important;
    font-weight: 600;
}

/* Popover Styling */
.booking-detail-page .popover {
    max-width: 350px !important;
}

.booking-detail-page .popover-header {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.2) 0%, rgba(95, 96, 185, 0.2) 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.booking-detail-page .popover-body {
    padding: 16px !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Tooltip Styling */
.booking-detail-page .tooltip {
    opacity: 1 !important;
}

.booking-detail-page .tooltip-inner {
    padding: 10px 16px !important;
    font-size: 0.9rem !important;
}

/* SweetAlert2 Custom Styling */
.swal2-popup {
    background: linear-gradient(135deg, rgba(26, 39, 68, 0.98) 0%, rgba(18, 30, 54, 0.98) 100%) !important;
    border: 1px solid rgba(0, 188, 212, 0.3) !important;
    border-radius: 24px !important;
    box-shadow: 0 30px 100px rgba(0, 0, 0, 0.6),
        0 0 50px rgba(0, 188, 212, 0.2) !important;
    backdrop-filter: blur(20px) !important;
}

.swal2-title {
    color: #fff !important;
    font-weight: 700 !important;
}

.swal2-html-container,
.swal2-content {
    color: rgba(255, 255, 255, 0.8) !important;
}

.swal2-confirm {
    background: linear-gradient(135deg, #00bcd4 0%, #00acc1 100%) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3) !important;
    transition: all 0.3s ease !important;
}

.swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(0, 188, 212, 0.4) !important;
}

.swal2-cancel {
    background: rgba(244, 67, 54, 0.15) !important;
    border: 1px solid rgba(244, 67, 54, 0.3) !important;
    color: #f44336 !important;
    border-radius: 12px !important;
    padding: 12px 32px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.swal2-cancel:hover {
    background: #f44336 !important;
    color: #fff !important;
}

.swal2-icon {
    border-color: rgba(0, 188, 212, 0.5) !important;
}

.swal2-icon.swal2-warning {
    border-color: rgba(255, 193, 7, 0.5) !important;
    color: #ffc107 !important;
}

.swal2-icon.swal2-error {
    border-color: rgba(244, 67, 54, 0.5) !important;
}

.swal2-icon.swal2-success {
    border-color: rgba(76, 175, 80, 0.5) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(76, 175, 80, 0.3) !important;
}

.swal2-close {
    color: rgba(255, 255, 255, 0.5) !important;
    transition: all 0.3s ease !important;
}

.swal2-close:hover {
    color: #f44336 !important;
}

/* GLOBAL SCROLL FIX */
html,
body,
.booking-detail-page {
    overflow-x: hidden !important;
    width: 100% !important;
}

.row {
    margin: 0 !important;
}

.swal2-success-line-tip,
.swal2-success-line-long {
    background-color: var(--accent-cyan) !important;
}

.swal2-icon.swal2-success {
    border-color: var(--accent-cyan) !important;
}

.swal2-icon.swal2-success .swal2-success-ring {
    border-color: rgba(0, 188, 212, 0.2) !important;
}

/* ============================================
   CANCEL BOOKING MODAL PREMIUM
   ============================================ */
#cancel_reason {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    color: #fff !important;
    padding: 15px !important;
    transition: all 0.3s ease !important;
}

#cancel_reason:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: var(--accent-cyan) !important;
    box-shadow: 0 0 15px rgba(0, 188, 212, 0.2) !important;
    outline: none !important;
}

.modal-content #submitBtn {
    background: var(--accent-cyan) !important;
    border: none !important;
    border-radius: 10px !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    padding: 12px 30px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-content #submitBtn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 188, 212, 0.4) !important;
}

/* ============================================
   HELPDESK DETAIL PAGE STYLES
   ============================================ */

/* Back Button */
.helpdesk-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-cyan, #00bcd4);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    margin-bottom: 30px;
    padding: 12px 24px;
    background: rgba(0, 188, 212, 0.1);
    border: 1px solid rgba(0, 188, 212, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.helpdesk-back-btn:hover {
    background: rgba(0, 188, 212, 0.2);
    transform: translateX(-5px);
    color: var(--accent-cyan, #00bcd4);
    text-decoration: none;
}

[dir="rtl"] .helpdesk-back-btn:hover {
    transform: translateX(5px);
}

[dir="rtl"] .helpdesk-back-btn svg {
    transform: rotate(180deg);
}

/* Detail Card */
.helpdesk-detail-card {
    background: rgba(26, 39, 68, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

/* Ticket Header */
.ticket-detail-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.ticket-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.ticket-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ticket-id-badge {
    background: var(--accent-cyan, #00bcd4);
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    padding: 8px 16px;
    border-radius: 10px;
}

.ticket-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

.ticket-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-color: var(--accent-cyan, #00bcd4);
}

.ticket-status-badge .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.ticket-status-badge.status-open {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
}

.ticket-status-badge.status-open .status-dot {
    background: #4caf50;
}

.ticket-status-badge.status-closed {
    background: rgba(244, 67, 54, 0.15);
    color: #f44336;
}

.ticket-status-badge.status-closed .status-dot {
    background: #f44336;
}

.ticket-subject {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 15px;
    line-height: 1.4;
}

.ticket-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* Activity Timeline */
.activity-timeline {
    margin-bottom: 30px;
}

.timeline-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.timeline-title svg {
    color: var(--accent-cyan, #00bcd4);
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
}

.timeline-item.closed-item {
    background: rgba(76, 175, 80, 0.08);
    border-color: rgba(76, 175, 80, 0.2);
}

.timeline-avatar {
    flex-shrink: 0;
}

.timeline-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-content {
    flex: 1;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 10px;
}

.timeline-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.timeline-name {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
}

.timeline-date {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.toggle-message-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: none;
    color: var(--accent-cyan, #00bcd4);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.toggle-message-btn:hover {
    background: rgba(0, 188, 212, 0.1);
}

.toggle-message-btn.active .chevron-icon {
    transform: rotate(180deg);
}

.chevron-icon {
    transition: transform 0.3s ease;
}

.closed-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4caf50;
    font-weight: 500;
    font-size: 0.95rem;
}

.timeline-message {
    margin-top: 15px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.message-attachment {
    margin-bottom: 15px;
}

.message-attachment img {
    max-width: 200px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.message-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Reply Section */
.reply-section {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
}

.reply-toggle-container {
    margin-bottom: 20px;
}

.reply-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent-cyan, #00bcd4);
    color: #000;
    border: none;
    padding: 14px 30px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.reply-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
}

.reply-form-container {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
}

.reply-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 25px;
}

.reply-title svg {
    color: var(--accent-cyan, #00bcd4);
}

/* Form Styling for Helpdesk */
.helpdesk-detail-card .form-group {
    margin-bottom: 25px;
}

.helpdesk-detail-card .form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.helpdesk-detail-card .form-label svg {
    color: var(--accent-cyan, #00bcd4);
}

.helpdesk-detail-card .required {
    color: #ff5252;
}

.helpdesk-detail-card .form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px 18px;
    color: #fff;
    font-size: 1rem;
    resize: vertical;
    min-height: 120px;
    transition: all 0.3s ease;
}

.helpdesk-detail-card .form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.helpdesk-detail-card .form-textarea:focus {
    outline: none;
    border-color: var(--accent-cyan, #00bcd4);
    box-shadow: 0 0 0 3px rgba(0, 188, 212, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

/* File Upload for Helpdesk */
.helpdesk-detail-card .file-upload-wrapper {
    position: relative;
}

.helpdesk-detail-card .file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.helpdesk-detail-card .file-upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 30px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.helpdesk-detail-card .file-upload-wrapper:hover .file-upload-placeholder {
    border-color: var(--accent-cyan, #00bcd4);
    color: var(--accent-cyan, #00bcd4);
}

.helpdesk-detail-card .error-text {
    color: #ff5252;
    font-size: 0.85rem;
    margin-top: 8px;
}

/* Form Actions for Helpdesk */
.helpdesk-detail-card .form-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.helpdesk-detail-card .btn-primary,
.helpdesk-detail-card .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.helpdesk-detail-card .btn-primary {
    background: var(--accent-cyan, #00bcd4);
    color: #000;
}

.helpdesk-detail-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.3);
}

.helpdesk-detail-card .btn-secondary {
    background: rgba(76, 175, 80, 0.15);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.helpdesk-detail-card .btn-secondary:hover {
    background: rgba(76, 175, 80, 0.25);
}

/* Close Note */
.close-note {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 20px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.close-note svg {
    color: var(--accent-cyan, #00bcd4);
    flex-shrink: 0;
}

/* Responsive for Helpdesk Detail */
@media (max-width: 768px) {
    .helpdesk-detail-card {
        padding: 25px;
    }

    .ticket-info {
        flex-direction: column;
    }

    .ticket-subject {
        font-size: 1.3rem;
    }

    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }

    .timeline-header {
        flex-direction: column;
    }

    .helpdesk-detail-card .form-actions {
        flex-direction: column;
    }

    .helpdesk-detail-card .btn-primary,
    .helpdesk-detail-card .btn-secondary {
        width: 100%;
    }
}