﻿/* ==========================================================================
   Safari Vents â€” My Event Bookings
   Theme: Digital Storm Honey Amber (#DD7A28) & Warm Cream Canvas (#F5EFE6)
   Typography: Inter
   ========================================================================== */

.evt-bookings-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    color: #111827;
    background-color: #F5EFE6;
    min-height: calc(100vh - 64px);
    padding: 16px 24px;
    box-sizing: border-box;
}

/* â”€â”€ Header â”€â”€ */
.evt-bookings-header {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
    gap: 12px;
}

.evt-bookings-header-left h1 {
    font-size: 17px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 2px 0;
}

.evt-bookings-header-left h1 i {
    color: #DD7A28;
    font-size: 18px;
}

.evt-bookings-header-left p {
    font-size: 12px;
    color: #6B7280;
    margin: 0;
    font-weight: 500;
}

.evt-new-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    background: #DD7A28;
    color: #FFFFFF;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    border: 1px solid #DD7A28;
    box-shadow: 0 1px 3px rgba(221, 122, 40, 0.25);
}

.evt-new-btn:hover {
    background: #c56820;
    border-color: #c56820;
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* â”€â”€ Statistics Cards â”€â”€ */
.evt-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.evt-stat-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 14px 16px;
    border: 1px solid #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.15s ease;
}

.evt-stat-card:hover {
    border-color: #DD7A28;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(221, 122, 40, 0.08);
}

.evt-stat-value {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    line-height: 1.1;
    margin-bottom: 2px;
    letter-spacing: -0.02em;
}

.evt-stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.evt-stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.evt-stat-icon.total { background: #F3F4F6; color: #1F2937; }
.evt-stat-icon.pending { background: #FEF3C7; color: #D97706; }
.evt-stat-icon.confirmed { background: #D1FAE5; color: #059669; }
.evt-stat-icon.upcoming { background: #FFEDD5; color: #DD7A28; }

/* â”€â”€ Search & Filter Bar â”€â”€ */
.evt-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 8px 14px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
    flex-wrap: wrap;
}

.evt-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 220px;
}

.evt-search-wrap i {
    color: #9CA3AF;
    font-size: 14px;
}

.evt-search-wrap input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 12.5px;
    color: #111827;
    width: 100%;
    font-family: inherit;
}

.evt-search-wrap input::placeholder {
    color: #9CA3AF;
}

.evt-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.evt-filter-select {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 12px;
    color: #374151;
    background: #F9FAFB;
    outline: none;
    cursor: pointer;
    font-weight: 500;
    font-family: inherit;
    transition: border-color 0.15s;
}

.evt-filter-select:focus {
    border-color: #DD7A28;
    background: #FFFFFF;
}

.evt-filter-count {
    font-size: 11.5px;
    font-weight: 600;
    color: #6B7280;
    white-space: nowrap;
}

/* â”€â”€ Event Cards Grid â”€â”€ */
.evt-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.evt-card {
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.15s ease;
}

.evt-card:hover {
    border-color: #DD7A28;
    box-shadow: 0 4px 16px rgba(221, 122, 40, 0.08);
    transform: translateY(-1px);
}

.evt-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.evt-card-header h4 {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.evt-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 10.5px;
    font-weight: 600;
    color: #DD7A28;
    background: #FFF7ED;
    padding: 2px 7px;
    border-radius: 5px;
    border: 1px solid #FED7AA;
}

.evt-status {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
    white-space: nowrap;
    flex-shrink: 0;
}

.evt-status.pending {
    background: #FEF3C7;
    color: #B45309;
    border: 1px solid #FDE68A;
}

.evt-status.confirmed {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.evt-status.completed {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
}

.evt-status.rejected,
.evt-status.cancelled {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.evt-status i {
    font-size: 9px;
}

/* â”€â”€ Event Details List â”€â”€ */
.evt-card-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    background: #F9FAFB;
    border-radius: 8px;
    margin-bottom: 12px;
    border: 1px solid #F3F4F6;
}

.evt-detail-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #4B5563;
}

.evt-detail-row i {
    color: #DD7A28;
    font-size: 12px;
    width: 14px;
    text-align: center;
}

.evt-special-req {
    font-size: 11px;
    color: #4B5563;
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.evt-rejection {
    font-size: 11px;
    color: #991B1B;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    padding: 8px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* â”€â”€ Card Footer â”€â”€ */
.evt-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid #F3F4F6;
    margin-top: auto;
}

.evt-price-block {
    display: flex;
    flex-direction: column;
}

.evt-total {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.01em;
}

.evt-deposit {
    font-size: 10.5px;
    color: #6B7280;
    font-weight: 500;
}

.evt-card-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.evt-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 7px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    text-decoration: none;
}

.evt-action-btn.view {
    background: #111827;
    color: #FFFFFF;
    border-color: #111827;
}

.evt-action-btn.view:hover {
    background: #1F2937;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.evt-action-btn.cancel {
    background: #FEF2F2;
    color: #EF4444;
    border-color: #FECACA;
}

.evt-action-btn.cancel:hover {
    background: #EF4444;
    color: #FFFFFF;
    border-color: #EF4444;
}

/* â”€â”€ Empty & Loading â”€â”€ */
.evt-empty {
    text-align: center;
    padding: 48px 20px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.evt-empty i {
    font-size: 32px;
    color: #D1D5DB;
    margin-bottom: 8px;
    display: block;
}

.evt-empty h4 {
    font-size: 15px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 4px;
}

.evt-empty p {
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 14px;
}

.evt-loading {
    text-align: center;
    padding: 48px 20px;
    background: #FFFFFF;
    border-radius: 12px;
    border: 1px solid #E5E7EB;
}

.evt-loading .spinner-border {
    width: 28px;
    height: 28px;
    border-width: 2.5px;
    color: #DD7A28 !important;
}

.evt-loading p {
    font-size: 12px;
    color: #6B7280;
    margin-top: 10px;
    font-weight: 500;
}

/* â”€â”€ Pagination â”€â”€ */
.evt-pagination {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 16px;
    justify-content: center;
}

.evt-page-btn {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    border: 1px solid #E5E7EB;
    background: #FFFFFF;
    color: #374151;
    font-size: 11.5px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.evt-page-btn:hover:not(:disabled) {
    border-color: #DD7A28;
    color: #DD7A28;
    background: #FFF7ED;
}

.evt-page-btn.active {
    background: #111827;
    color: #FFFFFF;
    border-color: #111827;
}

.evt-page-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.evt-page-info {
    font-size: 11.5px;
    color: #6B7280;
    font-weight: 500;
    margin-left: 8px;
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 992px) {
    .evt-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    .evt-cards-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .evt-bookings-page {
        padding: 12px 14px;
    }

    .evt-bookings-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .evt-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .evt-stats {
        grid-template-columns: 1fr;
    }
}