/* Booking list pages — Mes réservations / Demandes de réservation */

.bookings-page {
    max-width: 1200px;
    margin: 0 auto;
}

.bookings-page__header {
    margin-bottom: 1.5rem;
}

.bookings-page__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.3rem;
}

.bookings-page__subtitle {
    margin: 0;
    font-size: 0.82rem;
    color: #6b7280;
    font-weight: 500;
}

.bookings-page__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
}

.bookings-page__tab {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #4b5563;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.38rem 0.85rem;
    border-radius: 999px;
    cursor: pointer;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.bookings-page__tab:hover {
    border-color: #5FA9F0;
    color: #5FA9F0;
}

.bookings-page__tab.active {
    background: #5FA9F0;
    border-color: #5FA9F0;
    color: #fff;
}

.bookings-page__grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

.bookings-page__card,
.bookings-page article.bookings-page__card {
    background: #fff;
    border: 2px solid #c5cdd8 !important;
    border-radius: 14px;
    padding: 1.35rem 1.4rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
    max-width: 100%;
}

.bookings-page__card:hover {
    border-color: #5FA9F0 !important;
    box-shadow: 0 8px 24px rgba(95, 169, 240, 0.15);
}

.bookings-page__grid > [class*="col-"] {
    display: flex;
}

.bookings-page__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
}

.bookings-page__date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    line-height: 1.3;
}

.bookings-page__date i {
    color: #5FA9F0;
    font-size: 0.95rem;
}

.bookings-page__badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
    flex-shrink: 0;
}

.bookings-page__badge--pending {
    background: #fff4e0;
    color: #b45309;
}

.bookings-page__badge--confirmed {
    background: #e8f8f3;
    color: #0d7a5c;
}

.bookings-page__badge--refused {
    background: #fdecea;
    color: #b42318;
}

.bookings-page__badge--cancelled {
    background: #f3f4f6;
    color: #6b7280;
}

.bookings-page__detail {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 0 0 0.65rem;
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.45;
}

.bookings-page__detail:last-of-type {
    margin-bottom: 0;
}

.bookings-page__detail i {
    width: 1rem;
    text-align: center;
    color: #9ca3af;
    margin-top: 0.15rem;
    flex-shrink: 0;
}

.bookings-page__detail-label {
    color: #6b7280;
    font-weight: 500;
    margin-right: 0.25rem;
}

.bookings-page__actions {
    margin-top: auto;
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.bookings-page__btn-accept {
    background-color: #3DB39E !important;
    border-color: #3DB39E !important;
    color: #fff !important;
    border-radius: 10px !important;
    font-weight: 500;
    padding: 0.45rem 1rem !important;
}

.bookings-page__btn-accept:hover {
    background-color: #349f87 !important;
    border-color: #349f87 !important;
}

.bookings-page__btn-refuse,
.bookings-page__btn-cancel {
    border-radius: 10px !important;
    font-weight: 500;
    padding: 0.45rem 1rem !important;
    border-width: 2px !important;
}

.bookings-page__btn-cancel {
    border-color: #e44d49 !important;
    color: #c53030 !important;
    background: #fff !important;
}

.bookings-page__btn-cancel:hover {
    background: #fdecea !important;
    color: #b42318 !important;
}

.bookings-page__empty {
    text-align: center;
    padding: 3rem 1.5rem;
    background: #fff;
    border: 1px dashed #d1d5db;
    border-radius: 14px;
    color: #6b7280;
}

.bookings-page__empty-icon {
    font-size: 2.5rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.bookings-page__empty-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.35rem;
}

.bookings-page__loading {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

.bookings-page .btn-primary {
    background-color: #5FA9F0 !important;
    border-color: #5FA9F0 !important;
    border-radius: 10px !important;
    font-weight: 500;
    padding: 0.5rem 1.25rem !important;
}

.bookings-page .btn-primary:hover {
    background-color: #4a98e0 !important;
    border-color: #4a98e0 !important;
}

/* Table view */
.app-shell .bookings-results-panel {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 0.75rem;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
}

.app-shell .bookings-table-wrap {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid #eee;
}

.app-shell .bookings-table {
    font-size: 0.78rem;
    margin: 0;
}

.app-shell .bookings-table thead th {
    background: #f8f9fa;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #555;
    padding: 0.5rem 0.6rem;
    white-space: nowrap;
    border-bottom: 1px solid #e5e7eb;
}

.app-shell .bookings-table tbody td {
    padding: 0.5rem 0.6rem;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

.app-shell .bookings-table tbody tr:hover {
    background: #f8fbff;
}

.app-shell .bookings-table__date {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: #1a1a1a;
    white-space: nowrap;
}

.app-shell .bookings-table__date i {
    color: #5FA9F0;
    font-size: 0.78rem;
}

.app-shell .bookings-table__party {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #374151;
}

.app-shell .bookings-table__party i {
    color: #9ca3af;
    font-size: 0.74rem;
}

.app-shell .bookings-table__service {
    display: block;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #374151;
}

.app-shell .bookings-table__actions {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.35rem;
}

.app-shell .bookings-table__actions .btn {
    padding: 0.28rem 0.6rem !important;
    font-size: 0.72rem !important;
}
