/**
 * Customer Dashboard Shared Styles
 *
 * This file contains styles shared across all customer dashboard pages:
 * - Dashboard, Bookings, Memberships, Orders, Events, Children, Address, Profile
 *
 * Extracted from embedded <style> blocks to improve maintainability.
 */

/* ==========================================================================
   CSS Variables - Brand Colors & Common Values
   ========================================================================== */

/* Uses centralized theme.css (--color-primary, --color-primary-dark, etc.) */
:root {
    --color-border-light: #f0f0f0;
    --color-text-muted: #6c757d;
    --color-text-dark: #495057;
    --color-bg-light: #f8f9fa;
}

/* ==========================================================================
   Account Navigation (Sidebar)
   ========================================================================== */

.account-nav {
    border: 4px solid var(--color-border-light);
}

.account-nav__title {
    font-size: 20px;
    padding: 24px 26px 0;
    margin-bottom: 1rem;
}

.account-nav__item--active a {
    font-weight: 500;
    border-left: 2px solid var(--color-primary);
}

.account-nav__item a {
    font-size: 16px;
    display: block;
    padding: 5px 26px;
    margin-left: -2px;
}

/* ==========================================================================
   Card Styles
   ========================================================================== */

.card {
    border: 2px solid var(--color-border-light);
    border-radius: 2px;
}

.card-header {
    border: 2px solid var(--color-border-light);
    padding: 0.5rem 0.25rem !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-table table,
.card-table tr,
.card-table td,
.card-table th {
    border: 2px solid var(--color-border-light);
    padding: 5px 0px 5px 10px;
}

/* ==========================================================================
   Breadcrumb & Page Titles
   ========================================================================== */

.breadcrumb-title {
    font-size: 55px !important;
    line-height: 45px !important;
}

@media (max-width: 575px) {
    .breadcrumb-title-sd {
        font-size: 40px;
        line-height: 30px;
    }
}

/* ==========================================================================
   Customer Buttons
   ========================================================================== */

.customer-btn {
    height: 35px;
    width: 85px;
    line-height: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.customer-btn:hover {
    background: var(--color-primary);
    color: #ffffff;
}

/* ==========================================================================
   Modal Styling
   ========================================================================== */

.modal-header {
    background-color: var(--color-bg-light);
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    color: var(--color-text-dark);
    font-weight: 600;
}

.booking-details {
    background-color: var(--color-bg-light);
    border: 1px solid #e9ecef;
    border-radius: 5px;
    padding: 15px;
}

.booking-details h6 {
    color: var(--color-text-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.booking-details p {
    margin-bottom: 5px;
    color: var(--color-text-muted);
}

/* ==========================================================================
   Form Elements
   ========================================================================== */

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 0.2rem rgba(var(--color-primary-rgb), 0.25);
}

/* ==========================================================================
   Alerts
   ========================================================================== */

.alert-warning {
    border-left: 4px solid #ffc107;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn-danger:hover {
    background-color: var(--color-primary-dark);
    border-color: #bd2130;
}
