/* Customer Dashboard & Order Details Styles */

/* Base & Wrappers */
.page-wrapper.customer-dashboard-wrapper {
    background-color: #f8f9fa;
    min-height: calc(100vh - 200px);
}

/* Sidebar Styles */
.user-sidebar-modern {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}
.user-sidebar-header-modern {
    padding: 2rem 1rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
    background-color: #f8fafc;
}
.user-profile-img {
    border: 3px solid #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.user-sidebar-menu {
    list-style: none;
    padding: 1rem;
    margin: 0;
}
.user-sidebar-menu li {
    margin-bottom: 0.25rem;
}
.user-sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #475569;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
    font-size: 0.95rem;
}
.user-sidebar-menu a i {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-right: 0.75rem;
}
.user-sidebar-menu a:hover {
    background-color: #f1f5f9;
    color: #0f172a;
}
.user-sidebar-menu a.active {
    background-color: #eff6ff;
    color: #2563eb;
    font-weight: 600;
}
.user-sidebar-menu a.active i {
    color: #2563eb;
}
.user-sidebar-menu a.logout-btn {
    color: #dc2626;
}
.user-sidebar-menu a.logout-btn i {
    color: #ef4444;
}
.user-sidebar-menu a.logout-btn:hover {
    background-color: #fef2f2;
}

/* Dashboard Widgets */
.dash-widget-premium {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    height: 100%;
}
.dash-icon-premium {
    width: 48px; height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}
.dash-icon-total { background-color: #eff6ff; color: #2563eb; }
.dash-icon-completed { background-color: #ecfdf5; color: #059669; }
.dash-icon-pending { background-color: #fffbeb; color: #d97706; }
.dash-icon-cancelled { background-color: #fef2f2; color: #dc2626; }

.dash-widget-info {
    margin-left: 1rem;
}
.dash-widget-info span {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}
.dash-widget-info h5 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 0.1rem;
    margin-bottom: 0;
}

/* Recent Booking List */
.recent-booking-card {
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    padding: 1.5rem;
}
.booking-list-item {
    border-bottom: 1px solid #f1f5f9;
}
.booking-list-item:last-child {
    border-bottom: none;
}

/* Status Pills */
.status-pill {
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
}
.status-pill.success { background-color: #ecfdf5; color: #059669; }
.status-pill.danger { background-color: #fef2f2; color: #dc2626; }
.status-pill.info { background-color: #eff6ff; color: #2563eb; }
.status-pill.warning { background-color: #fffbeb; color: #d97706; }

/* Invoice / Order Details */
.invoice-card {
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    overflow: hidden;
}
.invoice-header {
    background: #f8fafc;
    padding: 2rem;
    border-bottom: 1px solid #e2e8f0;
}
.invoice-header h4 {
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 1.4rem;
}
.invoice-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.invoice-body {
    padding: 2rem;
}
.timeline-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid #e2e8f0;
    margin-bottom: 2rem;
}
.timeline-icon {
    width: 36px; height: 36px;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    display: flex; align-items: center; justify-content: center;
    color: #475569; font-size: 1.1rem;
}

.detail-item-group h6 {
    font-weight: 600; color: #0f172a; margin-bottom: 1rem; font-size: 1.05rem;
    border-bottom: 1px solid #e2e8f0; padding-bottom: 0.5rem;
}
.detail-list {
    list-style: none; padding: 0; margin: 0;
}
.detail-list li {
    display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem;
}
.detail-list-icon {
    width: 32px; height: 32px;
    background: #f8f9fa;
    border-radius: 6px;
    display: flex; align-items: center; justify-content: center;
    color: #475569; font-size: 1rem; flex-shrink: 0;
}
.detail-list-content h6 {
    font-size: 0.8rem; color: #64748b; margin-bottom: 0.1rem; font-weight: 500; 
}
.detail-list-content p {
    font-size: 0.95rem; color: #0f172a; margin: 0; font-weight: 500;
}

.receipt-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}
.receipt-item {
    display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 1rem;
}
.receipt-item .item-info h6 {
    font-weight: 500; color: #0f172a; font-size: 0.95rem; margin-bottom: 0.1rem;
}
.receipt-item .item-info p {
    font-size: 0.85rem; color: #64748b; margin: 0;
}
.receipt-item .item-price {
    font-weight: 600; color: #0f172a; font-size: 1rem;
}

.receipt-summary {
    border-top: 1px solid #e2e8f0;
    padding-top: 1rem;
    margin-top: 1rem;
}
.receipt-summary-row {
    display: flex; justify-content: space-between; margin-bottom: 0.5rem;
    color: #475569; font-size: 0.95rem;
}
.receipt-summary-row.total {
    border-top: 1px solid #e2e8f0;
    padding-top: 0.75rem; margin-top: 0.75rem;
    font-size: 1.1rem; font-weight: 700; color: #0f172a;
}

/* Breadcrumb Fallback Repair */
.breadcrumb-bar {
    position: relative;
    padding: 130px 0 40px 0;
    background-color: #0f172a; /* Dark theme */
    overflow: hidden;
    margin-top: 0;
}
.breadcrumb-bar .breadcrumb-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    position: relative;
    z-index: 2;
    margin-bottom: 0.5rem !important;
}
.breadcrumb-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    pointer-events: none;
}
.breadcrumb-bg img.breadcrumb-bg-1 {
    position: absolute;
    left: 0;
    top: 0;
    opacity: 1;
}
.breadcrumb-bg img.breadcrumb-bg-2 {
    position: absolute;
    right: 0;
    bottom: 0;
    opacity: 1;
}
.breadcrumb-bar .breadcrumb {
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 0;
}
.breadcrumb-bar .breadcrumb-item, .breadcrumb-bar .breadcrumb-item a {
    color: #cbd5e1;
    font-weight: 500;
    text-decoration: none;
}
.breadcrumb-bar .breadcrumb-item.active {
    color: #ffffff;
    font-weight: 600;
}
