:root {
    --black: #0E0E0E;
    --gold: #DFB011;
    --light-gold: #DBBB5F;
    --beige: #D0C09E;
    --off-white: #E6E5E0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--off-white);
    color: var(--black);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
    padding: 0;
}

.container {
    width: 100%;
}

.navbar-dark {
    background-color: var(--black) !important;
}

.navbar-brand {
    color: var(--gold) !important;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--off-white) !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--gold) !important;
}

.nav-link.membership-badge {
    background-color: rgba(223, 176, 17, 0.2);
    border-radius: 5px;
    padding: 0.5rem 1rem !important;
    color: var(--gold) !important;
    font-weight: 600;
}

.nav-link.membership-badge:hover {
    background-color: rgba(223, 176, 17, 0.3);
}

.card {
    border: none;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(14, 14, 14, 0.1);
}

.card-body h1 {
    color: var(--black);
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

form p {
    margin-bottom: 0.75rem;
}

form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--black);
}

form input[type="text"],
form input[type="email"],
form input[type="password"] {
    border: 2px solid var(--beige);
    border-radius: 8px;
    padding: 10px;
    transition: border-color 0.3s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(223, 176, 17, 0.25);
    outline: none;
}

/* Authentication Forms - Centered Styling */
.login form p,
.signup form p {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login form label,
.signup form label {
    display: block;
    text-align: center;
    width: 100%;
}

.login form input[type="text"],
.login form input[type="email"],
.login form input[type="password"],
.signup form input[type="text"],
.signup form input[type="email"],
.signup form input[type="password"] {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* Error Messages - Bold Styling */
.errorlist {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    color: #dc3545;
    font-weight: 700;
    text-align: center;
}

.errorlist li {
    font-weight: 700;
    margin: 0.25rem 0;
}

form ul.errorlist {
    font-weight: 700;
}

/* Authentication pages vertical centering */
main:has(.login),
main:has(.signup) {
    display: flex;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 20px 0;
}

.btn-primary {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--black);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--light-gold);
    border-color: var(--light-gold);
    color: var(--black);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(223, 176, 17, 0.3);
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--black) !important;
    box-shadow: 0 0 0 0.2rem rgba(223, 176, 17, 0.25) !important;
}

.btn-link {
    color: var(--gold);
    text-decoration: none;
}

.btn-link:hover {
    color: var(--light-gold);
    text-decoration: underline;
}

/* Input Group Styling - Fix button height */
.input-group .btn {
    padding: 0.375rem 1rem;
    border-radius: 0 0.25rem 0.25rem 0;
}

.input-group .form-control {
    border-radius: 0.25rem 0 0 0.25rem;
}

/* Button overrides for consistent active states */
.btn-outline-secondary.active {
    background-color: #343a40;
    border-color: #343a40;
    color: #fff;
}

.btn-outline-secondary.active:hover {
    background-color: #23272b;
    border-color: #1d2124;
}

/* Checkbox styling */
input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--beige);
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    margin-right: 8px;
    transition: all 0.3s ease;
}

input[type="checkbox"]:checked {
    background-color: var(--gold);
    border-color: var(--gold);
}

input[type="checkbox"]:checked::after {
    content: '\2713';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--black);
    font-size: 14px;
    font-weight: bold;
}

input[type="checkbox"]:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(223, 176, 17, 0.25);
}

/* Footer Styles */
.footer {
    background-color: var(--black);
    color: var(--off-white);
    padding: 50px 0 20px;
    margin-top: auto;
    flex-shrink: 0;
}

.footer h5 {
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer p {
    color: #ccc;
    line-height: 1.6;
}

.footer .social-links {
    display: flex;
    gap: 15px;
}

.footer .social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(223, 176, 17, 0.1);
    border-radius: 50%;
    color: var(--gold);
    transition: all 0.3s ease;
}

.footer .social-links a:hover {
    background-color: var(--gold);
    color: var(--black);
    transform: translateY(-3px);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.footer-contact li {
    color: #ccc;
    margin-bottom: 10px;
}

.footer-contact i {
    color: var(--gold);
    margin-right: 10px;
    width: 20px;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(223, 176, 17, 0.2);
}

.footer-bottom p {
    color: #999;
    font-size: 0.9rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--gold);
    color: var(--black);
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--light-gold);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.back-to-top:focus {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

a {
    color: var(--gold);
}

a:hover {
    color: var(--light-gold);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(14, 14, 14, 0.7), rgba(14, 14, 14, 0.7)), 
                url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?ixlib=rb-4.0.3&auto=format&fit=crop&w=1280&q=70');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--off-white);
    text-align: center;
    padding: 80px 0;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--gold);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--off-white);
}

.hero .btn {
    margin: 0.5rem;
    padding: 12px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 767.98px) {
    .hero {
        background: linear-gradient(rgba(14, 14, 14, 0.7), rgba(14, 14, 14, 0.7)),
                    url('https://images.unsplash.com/photo-1534438327276-14e5300c3a48?ixlib=rb-4.0.3&auto=format&fit=crop&w=960&q=65');
        min-height: 420px;
        padding: 60px 0;
    }
}

/* Features Section */
.features {
    padding: 60px 0;
    background-color: var(--off-white);
}

.features h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--black);
    font-size: 2rem;
    font-weight: 700;
}

.feature-box {
    text-align: center;
    padding: 2rem;
}

.feature-box i {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
}

.feature-box h3 {
    color: var(--black);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature-box p {
    color: #666;
    font-size: 1rem;
}

/* Testimonials Section */
.testimonials {
    padding: 60px 0;
    background-color: var(--black);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--gold);
    font-size: 2rem;
    font-weight: 700;
}

.testimonial-card {
    background-color: #1a1a1a;
    border: 2px solid var(--gold);
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    transition: transform 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card p {
    color: var(--off-white);
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testimonial-author {
    color: var(--gold);
    font-weight: 600;
    font-size: 1.1rem;
}

.testimonial-role {
    color: var(--beige);
    font-size: 0.9rem;
}

/* Class Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 14, 14, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

.card-title {
    color: var(--black);
    font-weight: 600;
    font-size: 1.25rem;
}

.card-text {
    color: #666;
}

.card-footer {
    background-color: transparent;
    border-top: 1px solid var(--beige);
}

.badge-difficulty {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-beginner {
    background-color: var(--beige);
    color: var(--black);
}

.badge-intermediate {
    background-color: var(--light-gold);
    color: var(--black);
}

.badge-advanced {
    background-color: var(--gold);
    color: var(--black);
}

.badge-all_levels {
    background-color: var(--black);
    color: var(--gold);
    border: 1px solid var(--gold);
}
/* Class Detail Page */
.class-details p {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.class-details strong {
    color: var(--gold);
}

/* Membership Pricing Cards */
.membership-plans .card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membership-plans .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(14, 14, 14, 0.15);
}

.membership-plans .card.border-dark-custom {
    border: 3px solid #343a40 !important;
    position: relative;
}

.membership-plans .card-header {
    background-color: var(--gold) !important;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    padding: 0.5rem;
}

.membership-plans .badge-light {
    background-color: var(--black);
    color: var(--gold);
    font-weight: 600;
}

.membership-plans .display-4 {
    color: var(--gold);
    font-weight: 700;
}

.membership-plans .card-title {
    color: var(--black);
    font-weight: 700;
    margin-bottom: 1rem;
}

.membership-plans .list-unstyled li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--beige);
}

.membership-plans .list-unstyled li:last-child {
    border-bottom: none;
}

.membership-plans .list-unstyled i {
    margin-right: 0.5rem;
}

.membership-plans .btn-block {
    margin-top: 1rem;
}

/* Membership Comparison Table */
.comparison-section {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--beige);
}

.comparison-table {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(14, 14, 14, 0.1);
}

.comparison-table thead {
    background-color: var(--black);
    color: var(--off-white);
}

.comparison-table thead th {
    padding: 1.25rem;
    font-weight: 600;
    border: none;
}

.comparison-table tbody td {
    padding: 1rem;
    vertical-align: middle;
    border-bottom: 1px solid var(--beige);
}

.comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.comparison-table .table-highlight {
    background-color: rgba(223, 176, 17, 0.1);
}

.comparison-table tbody td:first-child {
    font-weight: 500;
    background-color: var(--off-white);
}

.comparison-table .badge-dark {
    background-color: #343a40;
    color: #fff;
}

/* Mobile Responsive Table */
@media (max-width: 768px) {
    .comparison-table {
        font-size: 0.85rem;
    }
    
    .comparison-table thead th,
    .comparison-table tbody td {
        padding: 0.75rem 0.5rem;
    }
    
    .comparison-table .btn-sm {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Membership Detail Page */
.membership-detail-card {
    border: none;
    box-shadow: 0 10px 40px rgba(14, 14, 14, 0.15);
}

.membership-detail-card .card-header {
    background-color: var(--gold);
    color: var(--black);
    padding: 1.5rem;
}

.membership-detail-card .text-gold {
    color: var(--gold);
}

.membership-detail-card .bg-gold {
    background-color: var(--gold);
}

.benefits-list {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    padding: 1rem;
    margin-bottom: 1rem;
    background-color: var(--off-white);
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.benefits-list li.text-muted {
    border-left-color: #ccc;
    opacity: 0.6;
}

.benefits-list i {
    font-size: 1.25rem;
    margin-right: 0.75rem;
}

.benefits-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--black);
}

.benefits-list p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

/* Product Cards */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(14, 14, 14, 0.2);
}

.product-card .product-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-card a:hover .product-img {
    opacity: 0.85;
}

.product-img-placeholder {
    width: 100%;
    height: 250px;
    background-color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--black);
    opacity: 0.3;
}

.product-card .card-title {
    color: var(--black);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.product-card .card-title:hover {
    color: var(--gold);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
}

.product-rating {
    font-size: 0.9rem;
    color: #666;
}

.product-card .badge-secondary {
    background-color: var(--light-gold);
    color: var(--black);
    font-weight: 600;
    border-radius: 20px;
    padding: 0.25rem 0.75rem;
}

/* Product Detail Page */
.product-detail {
    margin-top: 2rem;
}

.product-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(14, 14, 14, 0.1);
}

.product-detail-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.product-detail-placeholder {
    width: 100%;
    height: 500px;
    background-color: var(--beige);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: var(--black);
    opacity: 0.3;
    border-radius: 10px;
}

.product-detail-placeholder p {
    font-size: 1.5rem;
    margin-top: 1rem;
}

.product-info {
    padding: 1rem;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
}

.product-price-large .price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
}

.product-description {
    border-top: 1px solid var(--beige);
    border-bottom: 1px solid var(--beige);
    padding: 1.5rem 0;
}

.product-description h5 {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
}

.product-meta p {
    margin-bottom: 0.5rem;
    color: #666;
}

.quantity-input {
    width: 80px;
    text-align: center;
}

.add-to-cart-form {
    margin-top: 2rem;
}

/* Related Products Section */
.related-products {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid var(--beige);
}

.related-products h3 {
    font-weight: 700;
    color: var(--black);
}

/* Shopping Bag Styles */
.bag-item-image {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 8px;
}

.bag-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image-placeholder {
    width: 80px;
    height: 80px;
    background-color: var(--beige);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--black);
    opacity: 0.3;
    border-radius: 8px;
}

.bag-item-image a {
    text-decoration: none;
    color: var(--black);
}

.bag-item-image a:hover {
    color: var(--gold);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-control input {
    width: 60px;
    text-align: center;
    border: 2px solid var(--beige);
    border-radius: 5px;
}

.text-gold {
    color: var(--gold);
}

/* Bag Summary Card */
.bag-summary-card {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(14, 14, 14, 0.1);
    position: sticky;
    top: 20px;
}

.bag-summary-card .card-body {
    padding: 1.5rem;
}

.bag-summary-card .card-title {
    font-weight: 700;
    color: var(--black);
    font-size: 1.5rem;
}

.grand-total {
    font-size: 1.25rem;
}

.grand-total .text-gold {
    font-size: 1.5rem;
}

.checkout-btn {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(223, 176, 17, 0.4);
}

.alert-warning {
    background-color: rgba(223, 176, 17, 0.1);
    border-color: var(--gold);
    color: var(--black);
}

.alert-warning i {
    color: var(--gold);
}

.card {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(14, 14, 14, 0.1);
}

.card-title {
    font-weight: 700;
    color: var(--black);
}

/* Responsive Bag Table */
@media (max-width: 768px) {
    .bag-item-image {
        width: 60px;
        height: 60px;
    }
    
    .no-image-placeholder {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .bag-summary-card {
        position: relative;
        top: 0;
        margin-top: 2rem;
    }
}

/* Profile Page Styles */
.profile-card {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(14, 14, 14, 0.1);
    margin-bottom: 2rem;
}

.profile-card .card-header {
    background-color: var(--black);
    color: var(--gold);
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 1rem 1.5rem;
}

.profile-card .card-header h5 {
    margin: 0;
    font-weight: 700;
}

.profile-card .card-body {
    padding: 1.5rem;
}

.form-control-plaintext {
    color: var(--black);
    font-weight: 500;
}

.profile-card .form-group label {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
}

.profile-card .form-control {
    border: 2px solid var(--beige);
    border-radius: 8px;
    padding: 10px;
    transition: border-color 0.3s ease;
}

.profile-card .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 0.2rem rgba(223, 176, 17, 0.25);
}

.profile-card textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

.profile-card .table th {
    color: var(--black);
    font-weight: 600;
    border-top: none;
    font-size: 0.9rem;
}

.profile-card .table td {
    vertical-align: middle;
    font-size: 0.9rem;
}

.profile-card .table-sm td,
.profile-card .table-sm th {
    padding: 0.5rem;
}

.profile-card .badge {
    padding: 0.35em 0.65em;
    font-weight: 500;
}

.profile-card .text-info {
    color: var(--gold) !important;
    text-decoration: none;
}

.profile-card .text-info:hover {
    color: var(--black) !important;
    text-decoration: underline;
}

/* Membership Badge in Bag */
.membership-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, #d4af37 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--black);
}

/* Schedule Display Styles */
.schedule-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(14, 14, 14, 0.1);
}

.schedule-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(14, 14, 14, 0.15);
}

.schedule-card .card-header {
    background-color: var(--black) !important;
    border-bottom: 3px solid var(--gold);
}

.schedule-card .card-body i {
    color: var(--gold);
    margin-right: 5px;
    width: 20px;
    text-align: center;
}

.schedule-card .alert {
    font-size: 0.9rem;
    font-weight: 500;
}

.schedule-card .alert-success {
    background-color: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #155724;
}

.schedule-card .alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #856404;
}

.schedule-card .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #721c24;
}

.availability-indicator {
    font-weight: 600;
}

/* My Bookings Page Styles */
.my-bookings-page .section-card {
    margin-bottom: 2rem;
}

.my-bookings-page .section-card .card-header {
    font-size: 1.25rem;
    font-weight: 600;
}

.booking-card {
    border: 1px solid rgba(14, 14, 14, 0.1);
    border-radius: 10px;
    margin-bottom: 1rem;
    transition: box-shadow 0.3s ease;
}

.booking-card:hover {
    box-shadow: 0 5px 15px rgba(14, 14, 14, 0.1);
}

.booking-card .booking-header {
    background: linear-gradient(135deg, var(--black) 0%, #2c2c2c 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-card .booking-header h5 {
    margin: 0;
    font-size: 1.1rem;
}

.booking-card .booking-body {
    padding: 1.5rem;
}

.booking-card .booking-info-row {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(14, 14, 14, 0.05);
}

.booking-card .booking-info-row:last-child {
    border-bottom: none;
}

.booking-card .booking-info-row i {
    color: var(--gold);
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

.booking-card .booking-footer {
    padding: 1rem 1.5rem;
    background-color: #f8f9fa;
    border-radius: 0 0 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.booking-card .badge-status {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

.past-booking {
    opacity: 0.85;
}

.past-booking .booking-header {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%);
}

/* Capacity Warning Animations */
.capacity-urgent {
    animation: pulse-urgent 2s ease-in-out infinite;
    font-weight: 600;
}

.capacity-limited {
    animation: pulse-limited 3s ease-in-out infinite;
}

@keyframes pulse-urgent {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
}

@keyframes pulse-limited {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

.availability-indicator[data-spots="1"],
.availability-indicator[data-spots="2"] {
    font-weight: 700;
    color: #dc3545;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

/* Booking Confirmation Styles */
.booking-confirmation-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.booking-confirmation-card .card-header {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.booking-confirmation-card .booking-details {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
}

.booking-confirmation-card .booking-details .row {
    border-bottom: 1px solid #dee2e6;
    padding: 10px 0;
}

.booking-confirmation-card .booking-details .row:last-child {
    border-bottom: none;
}

.booking-confirmation-card .next-steps ul li {
    padding: 5px 0;
}

.booking-confirmation-card .next-steps ul li i {
    margin-right: 10px;
}

.booking-confirmation-card .card-footer {
    padding: 20px;
}

/* Toast Notifications */
.toast-container {
    z-index: 9999;
}

.toast {
    min-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.toast-body {
    padding: 15px;
}

/* Loading Spinner Styles */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* Form Validation Styles */
.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #28a745;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2328a745' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.invalid-feedback,
.valid-feedback {
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Accessibility Improvements */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus visible for better keyboard navigation */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold);
    color: var(--black);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* Responsive Tables */
@media (max-width: 768px) {
    .table-responsive {
        border: 0;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer .social-links {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .footer h5 {
        margin-top: 20px;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

/* Contact Page Styles */
.social-links-contact a {
    margin-bottom: 10px;
}

.contact-info-item h5 {
    color: #0E0E0E;
    font-weight: 600;
}

/* Pagination Theme */
.page-link {
    color: var(--black) !important;
}

.page-link:hover {
    color: var(--black) !important;
    background-color: rgba(223, 176, 17, 0.15) !important;
    border-color: var(--gold) !important;
}

.page-item.active .page-link {
    z-index: 3;
    color: var(--black) !important;
    background-color: var(--gold) !important;
    border-color: var(--gold) !important;
}

.page-item.active .page-link:hover {
    color: var(--black) !important;
    background-color: var(--light-gold) !important;
    border-color: var(--light-gold) !important;
}

