.badge{
    color:#020202 !important;
}
promo_code_usages.multiple-image-preview {
    object-fit: contain;
    background-color: #f8f9fa;
    display: block;
    max-width: 100px; max-height: 200px; border: 1px solid rgb(221, 221, 221); border-radius: 4px; padding: 5px;
}

.image-preview-wrapper {
    display: inline-block;
    position: relative;
}

.image-delete-btn {
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 0.25rem 0.5rem;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.image-delete-btn:hover {
    opacity: 1;
}

.fa-times {
    font-size: 0.8rem;
}

.multiple-images-preview {
    margin-top: 10px;
}

/*  */
.image-preview {
    max-width: 200px;
    max-height: 200px;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 5px;
    object-fit: contain;
    background-color: #f8f9fa;
    display: block;
}

/* تخصيصات إضافية لكل نوع صورة */
.avatar-preview {
    border-radius: 50%;
    width: 150px;
    height: 150px;
    object-fit: cover;
}

.bg-preview {
    max-width: 300px;
    max-height: 150px;
    object-fit: cover;
}

.image-preview-container {
    display: inline-block;
    position: relative;
}

.image-delete-btn {
    position: absolute;
    top: 5px;
    left: 5px;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.image-delete-btn:hover {
    opacity: 1;
}

.delete-icon {
    font-size: 12px;
    position: relative;
    top: 0;
    left: 0;
    margin: 0 auto;
    display: block;
    text-align: center;
    line-height: 1;
    padding: 0.3rem
}


th{
    color: #071437 !important;
}
.form-control.form-control-solid ,.form-control ,.form-select{
    background-color: #e1e1e1 !important;
     border: 1px solid #807e7ea9;
}

/* ===========================================
   PROFILE PAGE STYLES
   =========================================== */

/* Modern Profile Design */
.profile-hero-section {
    background: linear-gradient(135deg, #c83333 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.profile-avatar-container {
    position: relative;
}

.profile-hero-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.avatar-status-indicator {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: #4CAF50;
    border: 3px solid white;
    border-radius: 50%;
}

.hero-info {
    flex: 1;
}

.hero-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.3);
}

.btn-hero-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-hero-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    transform: translateY(-2px);
}

/* Profile Information Section */
.profile-info-section {
    margin-bottom: 3rem;
}

.section-header {
    margin-bottom: 2rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: #718096;
    font-size: 1rem;
}

.info-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #c83333 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    /* color: #2d3748; */
    margin: 0;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f7fafc;
}

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

.info-label {
    font-weight: 500;
    color: #4a5568;
}

.info-value {
    font-weight: 600;
    color: #2d3748;
}

/* Bookings Section */
.bookings-section {
    margin-bottom: 3rem;
}

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

.booking-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.booking-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.booking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.booking-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-confirmed {
    background: #d4edda;
    color: #155724;
}

.status-completed {
    background: #cce7ff;
    color: #004085;
}

.status-partial_payment {
    background: #fff3cd;
    color: #856404;
}

.booking-date {
    color: #718096;
    font-size: 0.9rem;
}

.booking-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 1rem;
}

.booking-details {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #718096;
    font-size: 0.9rem;
}

.booking-footer {
    border-top: 1px solid #f7fafc;
    padding-top: 1rem;
}

.amount-label {
    display: block;
    color: #718096;
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.amount-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2d3748;
}

/* Companions Section */
.companions-section {
    margin-bottom: 3rem;
}

.companions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.companion-card {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    text-align: center;
}

.companion-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.companion-avatar {
    margin-bottom: 1rem;
}

.avatar-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: white;
}

.avatar-placeholder.male {
    background: linear-gradient(135deg, #c83333 0%, #764ba2 100%);
}

.avatar-placeholder.female {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.companion-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.companion-details {
    color: #718096;
    margin-bottom: 1rem;
}

.companion-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.btn-companion-edit,
.btn-companion-delete {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: none;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-companion-edit {
    background: #e6f3ff;
    color: #0066cc;
}

.btn-companion-edit:hover {
    background: #cce7ff;
}

.btn-companion-delete {
    background: #ffe6e6;
    color: #cc0000;
}

.btn-companion-delete:hover {
    background: #ffcccc;
}

/* Companion status styling */
.companion-status {
    margin-top: 1rem;
}

.status-locked {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f8f9fa;
    color: #6c757d;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid #dee2e6;
}

/* modalBK FIX - Position at 30% from top */
.modalBK {
    z-index: 999999 !important;
    display: none !important;
    position: fixed !important;
    top: 50% !important;
    left: 0 !important;
    width: 100% !important;
    height: 50% !important;
    background: rgba(0, 0, 0, 0.6) !important;
    overflow: hidden !important;
    justify-content: flex-start !important;
    padding: 1rem !important;
    box-sizing: border-box !important;
}

.modalBK.show {
    display: flex !important;
}

.modalBK-backdrop {
    display: none !important;
}

.modalBK-dialog {
    position: static !important;
    z-index: 1000000 !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

.modalBK-content {
    z-index: 1000001 !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
    border-radius: 20px !important;
    border: none !important;
    position: relative !important;
    max-height: 300vh !important;
    overflow-y: auto !important;
}

/* Force all modalBK elements to be on top */
.modalBK *,
.modalBK-header,
.modalBK-body,
.modalBK-footer,
.modalBK input,
.modalBK select,
.modalBK textarea,
.modalBK button {
    position: relative !important;
    z-index: 1000002 !important;
    pointer-events: auto !important;
}

/* ICON FIXES - ki-duotone icons should display normally */

/* Hero icons */
.hero-actions .btn-hero-primary::before {
    content: "✏️" !important;
    margin-right: 0.5rem !important;
}

/* Card icons */
.card-icon:has(.ki-duotone)::before {
    content: "📱" !important;
}

.card-icon:has(.ki-duotone)[data-icon="phone"]::before { content: "📞" !important; }
.card-icon:has(.ki-duotone)[data-icon="badge"]::before { content: "🆔" !important; }
.card-icon:has(.ki-duotone)[data-icon="document"]::before { content: "📄" !important; }
.card-icon:has(.ki-duotone)[data-icon="calendar"]::before { content: "📅" !important; }
.card-icon:has(.ki-duotone)[data-icon="shopping-cart"]::before { content: "🛒" !important; }
.card-icon:has(.ki-duotone)[data-icon="users"]::before { content: "👥" !important; }

/* Status icons */
.status-confirmed::before { content: "✅" !important; margin-right: 0.5rem !important; }
.status-completed::before { content: "🎯" !important; margin-right: 0.5rem !important; }
.status-partial_payment::before { content: "⏳" !important; margin-right: 0.5rem !important; }

/* Detail icons */
.detail-item:has(.ki-duotone)::before {
    content: "📅" !important;
    margin-right: 0.5rem !important;
}

.detail-item:has(.ki-duotone)[data-icon="calendar"]::before { content: "📅" !important; }
.detail-item:has(.ki-duotone)[data-icon="users"]::before { content: "👥" !important; }

/* Companion avatar icons */
.avatar-placeholder.male::before { content: "👨" !important; }
.avatar-placeholder.female::before { content: "👩" !important; }

/* Button icons */
.btn-companion-edit::before { content: "✏️" !important; margin-right: 0.5rem !important; }
.btn-companion-delete::before { content: "🗑️" !important; margin-right: 0.5rem !important; }

/* modalBK icons */
.modalBK-title::before { content: "✏️" !important; margin-right: 0.5rem !important; }

/* modalBK header styling */
.modalBK-header {
    background: linear-gradient(135deg, #c83333 0%, #764ba2 100%) !important;
    color: white !important;
    border-bottom: none !important;
    border-radius: 15px 15px 0 0 !important;
    padding: 1.5rem !important;
}

.modalBK-title {
    font-weight: 600 !important;
    font-size: 1.25rem !important;
}

/* modalBK body styling */
.modalBK-body {
    padding: 2rem !important;
    background: #fff !important;
}

/* Form controls styling */
.form-floating {
    margin-bottom: 1rem !important;
}

.form-control,
.form-select {
    border: 2px solid #e9ecef !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #c83333 !important;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25) !important;
}

.form-floating > label {
    padding: 0.75rem 1rem !important;
    font-size: 0.9rem !important;
}

/* modalBK footer styling */
.modalBK-footer {
    background: #f8f9fa !important;
    border-top: 1px solid #dee2e6 !important;
    border-radius: 0 0 15px 15px !important;
    padding: 1.5rem !important;
}

/* Button styling */
.btn {
    padding: 0.75rem 2rem !important;
    border-radius: 8px !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    border: none !important;
        background: #dddd;


}

.btn-primary {
    background: linear-gradient(135deg, #c83333 0%, #764ba2 100%) !important;
    color: white !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
}

.btn-secondary {
    background: #6c757d !important;
    color: white !important;
}

.btn-secondary:hover {
    background: #5a6268 !important;
}

/* Loading state */
.btn:disabled {
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Custom alerts */
.alert {
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
    z-index: 999 !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .hero-name {
        font-size: 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .info-cards-grid {
        grid-template-columns: 1fr;
    }

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

    .companions-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

/* Responsive design */
@media (max-width: 576px) {
    .modalBK-dialog {
        margin: 1rem !important;
        width: calc(100% - 2rem) !important;
    }

    .modalBK-body {
        padding: 1.5rem 1rem !important;
    }

    .modalBK-footer {
        padding: 1rem !important;
        flex-direction: column !important;
        gap: 0.5rem !important;
    }

    .btn {
        width: 100% !important;
    }
}

/* ===========================================
   DASHBOARD STATISTICS STYLES
   =========================================== */

/* Statistics Cards Border Colors */
.stat-total { border-left: 4px solid #a62e2e  !important; }
.stat-completed { border-left: 4px solid #28a745 !important; }
.stat-pending { border-left: 4px solid #ffc107 !important; }
.stat-confirmed { border-left: 4px solid #17a2b8 !important; }
.stat-partial { border-left: 4px solid #6c757d !important; }
.stat-cancelled { border-left: 4px solid #dc3545 !important; }
.stat-paid { border-left: 4px solid #a62e2e  !important; }
.stat-remaining { border-left: 4px solid #fd7e14 !important; }

/* Statistics Text Styling */
.stat-title .text-muted {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.stat-amount {
    font-weight: 600;
}

.stat-amount small {
    font-size: 0.75rem;
    font-weight: 400;
}

/* Enhanced Icon Styling - Only for Statistics Cards */
.stat-total .bd-counter-icon,
.stat-completed .bd-counter-icon,
.stat-pending .bd-counter-icon,
.stat-confirmed .bd-counter-icon,
.stat-partial .bd-counter-icon,
.stat-cancelled .bd-counter-icon,
.stat-paid .bd-counter-icon,
.stat-remaining .bd-counter-icon {
    width: 50px !important;
    height: 50px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease !important;
}

.stat-total .bd-counter-icon:hover,
.stat-completed .bd-counter-icon:hover,
.stat-pending .bd-counter-icon:hover,
.stat-confirmed .bd-counter-icon:hover,
.stat-partial .bd-counter-icon:hover,
.stat-cancelled .bd-counter-icon:hover,
.stat-paid .bd-counter-icon:hover,
.stat-remaining .bd-counter-icon:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15) !important;
}

/* Specific icon color overrides for better contrast */
.stat-total .bd-counter-icon.bg-primary {
    background: linear-gradient(135deg, #a62e2e , #0056b3) !important;
    color: white !important;
}

.stat-completed .bd-counter-icon.bg-success {
    background: linear-gradient(135deg, #28a745, #1e7e34) !important;
    color: white !important;
}

.stat-pending .bd-counter-icon.bg-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800) !important;
    color: #212529 !important;
}

.stat-confirmed .bd-counter-icon.bg-info {
    background: linear-gradient(135deg, #17a2b8, #138496) !important;
    color: white !important;
}

.stat-partial .bd-counter-icon.bg-secondary {
    background: linear-gradient(135deg, #6c757d, #545b62) !important;
    color: white !important;
}

.stat-cancelled .bd-counter-icon.bg-danger {
    background: linear-gradient(135deg, #dc3545, #bd2130) !important;
    color: white !important;
}

.stat-paid .bd-counter-icon.bg-primary {
    background: linear-gradient(135deg, #a62e2e , #0056b3) !important;
    color: white !important;
}

.stat-remaining .bd-counter-icon.bg-warning {
    background: linear-gradient(135deg, #fd7e14, #e8680d) !important;
    color: white !important;
}

/* ===========================================
   DASHBOARD BOOKINGS TABLE STYLES
   =========================================== */

/* Table Container */
.dashboard-bookings-table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* Table Header */
.dashboard-bookings-table thead {
    background: linear-gradient(135deg, #c83333 0%, #a62e2e 100%);
    color: white;
}

.dashboard-bookings-table thead th {
    border: none !important;
    font-weight: 600 !important;
    padding: 1rem 0.75rem !important;
    vertical-align: middle !important;
    font-size: 0.9rem !important;
}

/* Table Body */
.dashboard-bookings-table tbody {
    background: #fff;
}

.dashboard-bookings-table tbody tr {
    border-bottom: 1px solid #f1f3f4;
    transition: background-color 0.2s;
}

.dashboard-bookings-table tbody tr:hover {
    background-color: #f8f9fa;
}

.dashboard-bookings-table tbody td {
    padding: 1rem 0.75rem;
    vertical-align: middle;
}

/* Responsive Table */
@media (max-width: 1200px) {
    .dashboard-bookings-table {
        font-size: 0.85rem;
    }

    .dashboard-bookings-table thead th,
    .dashboard-bookings-table tbody td {
        padding: 0.75rem 0.5rem;
    }
}

@media (max-width: 768px) {
    .dashboard-bookings-table {
        font-size: 0.8rem;
    }

    .dashboard-bookings-table thead th,
    .dashboard-bookings-table tbody td {
        padding: 0.5rem 0.25rem;
    }

    /* Keep all columns visible on tablets, just smaller */
    .dashboard-bookings-table th,
    .dashboard-bookings-table td {
        display: table-cell !important;
    }
}

@media (max-width: 576px) {
    .dashboard-bookings-table {
        font-size: 0.75rem;
    }

    /* Convert to card layout on mobile */
    .dashboard-bookings-table,
    .dashboard-bookings-table thead,
    .dashboard-bookings-table tbody,
    .dashboard-bookings-table th,
    .dashboard-bookings-table td,
    .dashboard-bookings-table tr {
        display: block;
    }

    .dashboard-bookings-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .dashboard-bookings-table tr {
        border: 1px solid #e9ecef;
        margin-bottom: 1rem;
        border-radius: 8px;
        padding: 1rem;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .dashboard-bookings-table td {
        border: none;
        border-bottom: 1px solid #f8f9fa;
        position: relative;
        padding-left: 45%;
        text-align: left;
        white-space: normal;
        min-height: 2rem;
        display: flex;
        align-items: center;
    }

    .dashboard-bookings-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        font-weight: 600;
        color: #667eea;
        font-size: 0.75rem;
        width: 40%;
        text-align: left;
    }

    .dashboard-bookings-table td:last-child {
        border-bottom: 0;
    }

    /* Adjust spacing for mobile cards */
    .dashboard-bookings-table tr {
        margin-bottom: 1.5rem;
    }
}

/* Table Data Styling */
.table-booking-number {
    font-weight: 600;
    color: #6c757d;
}

.table-booking-title {
    color: #2d3748;
    font-weight: 600;
}

.table-destination-badge {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    border: none;
}

.table-datetime {
    font-weight: 500;
    color: #2d3748;
}

.table-bus-info {
    font-weight: 500;
    color: #2d3748;
}

.table-passenger-badge-male {
    background: linear-gradient(135deg, #a62e2e , #0056b3);
    color: white;
}

.table-passenger-badge-female {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.table-status-badge {
    font-size: 0.8rem;
}

.table-amount-total {
    color: #2d3748;
    font-size: 1.1rem;
    font-weight: 700;
}

.table-amount-paid {
    color: #28a745;
    font-weight: 600;
}

.table-amount-remaining {
    color: #fd7e14;
    font-weight: 600;
}

.table-currency {
    color: #6c757d;
    font-size: 0.8rem;
    display: block;
}

/* Empty State */
.table-empty-state {
    color: #6c757d;
    padding: 3rem 2rem;
    text-align: center;
}

.table-empty-state i {
    color: #dee2e6;
    margin-bottom: 1rem;
}

.table-empty-state strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #495057;
}

/* ===========================================
   BOOKING DETAILS PAGE STYLES
   =========================================== */

.avatar-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.booking-detail-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.booking-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.quick-stats-card {
    transition: all 0.3s ease;
}

.quick-stats-card:hover {
    transform: scale(1.02);
}

/* ===========================================
   TRIP DETAILS - COMPANIONS BOOKING
   =========================================== */

.companions-booking-section .card {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.companions-booking-section .card-header {
    border-bottom: 1px solid #e9ecef;
}

.primary-passenger-card {
    border: 2px solid #28a745 !important;
}

.avatar-circle-primary {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745, #20c997);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.3);
}

.companion-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.companion-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #a62e2e ;
}

.companion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.companion-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-circle-companion {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.companion-details {
    flex: 1;
}

.companion-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-companion-edit, .btn-companion-delete {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-companion-edit {
    background: #a62e2e ;
    border-color: #a62e2e ;
    color: white;
}

.btn-companion-edit:hover {
    background: #0056b3;
    border-color: #0056b3;
}

.btn-companion-delete {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.btn-companion-delete:hover {
    background: #c82333;
    border-color: #c82333;
}

.booking-summary-card {
    border: 1px solid #dee2e6;
}

.summary-item {
    padding: 0.75rem;
}

.summary-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #a62e2e ;
    margin-bottom: 0.25rem;
}

.summary-label {
    display: block;
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
}

.companion-form-row {
    margin-bottom: 1rem;
}

.companion-form-row .form-floating {
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .companion-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .companion-actions {
        width: 100%;
        justify-content: center;
    }

    .summary-item {
        margin-bottom: 1rem;
    }
}

/* ===========================================
   BOOKING SYSTEM - ROOMS AND PASSENGERS
   =========================================== */

.booking-system-container .card {
    border: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
}

.booking-system-container .card-header {
    background: linear-gradient(135deg, #c83333 0%, #a62e2e 100%);
    color: white;
    border-bottom: none;
    padding: 1.5rem;
}

.booking-system-container .card-header h3 {
    margin: 0;
    font-weight: 600;
}

.booking-system-container .card-body {
    padding: 2rem;
}

/* Step Indicator */
.booking-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.step-item {
    display: flex;
    align-items: center;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: '';
    /* position: absolute;
    left: 100%;
    top: 50%; */
    width: 100px;
    height: 2px;
    background: #e9ecef;
    transform: translateY(-50%);
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.step-circle.inactive {
    background: #e9ecef;
    color: #6c757d;
}

.step-circle.active {
    background: #a62e2e ;
    color: white;
}

.step-circle.completed {
    background: #28a745;
    color: white;
}

.step-label {
    font-weight: 500;
    font-size: 0.9rem;
}

.step-item.active .step-label {
    color: #a62e2e ;
}

.step-item.completed .step-label {
    color: #28a745;
}

/* Rooms Selection */
.room-item {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.room-item:hover {
    border-color: #a62e2e ;
    box-shadow: 0 4px 15px rgba(0,123,255,0.1);
}

.room-item.room-invalid {
    border-color: #dc3545;
    background-color: rgba(220, 53, 69, 0.05);
}

.room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.room-number {
    color: #a62e2e ;
    font-weight: 600;
}

.remove-room {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.remove-room:hover {
    background: #c82333;
    border-color: #c82333;
}

.room-summary {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.room-summary.bg-light-primary {
    background: linear-gradient(135deg, #e7f3ff 0%, #d1e7ff 100%);
    border-color: #a62e2e ;
}

.room-summary.bg-light-danger {
    background: linear-gradient(135deg, #ffeaea 0%, #ffd1d1 100%);
    border-color: #dc3545;
}

.room-type-display, .room-price-display {
    font-weight: 700;
    margin: 0;
}

.room-capacity-error {
    margin-top: 1rem;
}

/* Passengers Form */
.passenger-card {
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.passenger-card:hover {
    border-color: #a62e2e ;
    box-shadow: 0 4px 15px rgba(0,123,255,0.1);
}

.passenger-card.bg-light-warning {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3c4 100%);
    border-color: #ffc107;
}

/* Booking Summary */
.booking-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.summary-icon.bg-light-primary {
    background: linear-gradient(135deg, #e7f3ff 0%, #d1e7ff 100%);
    color: #a62e2e ;
}

.summary-icon.bg-light-success {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    color: #28a745;
}

.summary-icon.bg-light-warning {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3c4 100%);
    color: #ffc107;
}

.summary-icon.bg-light-info {
    background: linear-gradient(135deg, #e1f5fe 0%, #b3e5fc 100%);
    color: #17a2b8;
}

.summary-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.summary-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    margin: 0;
}

/* Form Controls */
.form-floating {
    margin-bottom: 1rem;
}

.national-id-input {
    direction: ltr;
    text-align: left;
}

/* Navigation Buttons */
.booking-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

/* Loading States */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-steps {
        flex-direction: column;
        gap: 1rem;
    }

    .step-item:not(:last-child)::after {
        display: none;
    }

    .room-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .booking-summary-grid {
        grid-template-columns: 1fr;
    }

    .booking-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .booking-navigation .btn {
        width: 100%;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
