﻿

:root {
    --bs-blue: #0d6efd;
    --bs-indigo: #6610f2;
    --deep-blue: #003366;
}



.booking-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Business Header Styles */
.business-header {
    border-bottom: 3px solid var(--deep-blue);
}

.business-logo {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.business-logo-placeholder {
    width: 120px;
    height: 120px;
    font-size: 2.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.business-name {
    font-weight: 700;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.business-description {
    color: #555;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Card Styles */
.business-info-card, .booking-card {
    border: none;
    border-radius: 8px;
    overflow: hidden;
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.card-body {
    padding: 1.5rem;
}

/* Business Info Styles */
.business-info-item {
    margin-bottom: 1.5rem;
}

.info-label {
    font-size: 1rem;
    color: var(--deep-blue);
    margin-bottom: 0.5rem;
}

.info-value {
    margin-bottom: 0;
    color: #555;
}

.working-hours-table {
    margin-bottom: 0;
}

    .working-hours-table td {
        padding: 0.5rem;
        border: none;
    }

.day-name {
    font-weight: 600;
    color: var(--deep-blue);
    width: 40%;
}

.hours {
    color: #555;
}

/* Form Styles */
.form-section {
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.1rem;
    color: var(--deep-blue);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

.form-label {
    font-weight: 600;
    color: #555;
}

.date-picker {
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
}

.selected-day-display {
    font-size: 0.9rem;
}
/* Time Slots Container - Width Only */
.time-slots-container {
    width: 100%; /* Ensure full width */
}

    /* Initial alert message - full width */
    .time-slots-container > .alert {
        width: 100%;
        margin: 0;
    }

    /* Time slots grid - full width */
    .time-slots-container > div:not(.alert) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);  /*2 columns */
        gap: 0.75rem;
        width: 100%; /* Full width */
    }
/* Time Slots Styles */
/*.time-slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}*/
/* Time slot buttons */
.time-slot {
    width: 100%; /* Each slot fills its grid cell */
    padding: 0.75rem;
    text-align: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}
/*.time-slot {
    padding: 0.75rem;
    text-align: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}*/

   /* .time-slot:hover {
        background-color: #f0f7ff;
        border-color: var(--light-blue);
    }*/

  /*  .time-slot.selected {
        background-color: var(--deep-blue);
        color: white;
        border-color: var(--deep-blue);
    }*/

    .time-slot.unavailable {
        background-color: #f8f9fa;
        color: #adb5bd;
        cursor: not-allowed;
        text-decoration: line-through;
    }

/* Button Styles */
.btn-book {
    padding: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 6px;
    background-color: var(--deep-blue);
    border: none;
    transition: all 0.3s ease;
}

    .btn-book:hover {
        background-color: #1a4b8c;
        transform: translateY(-2px);
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    }

@media (max-width: 767.98px) {
    .business-logo, .business-logo-placeholder {
        width: 80px;
        height: 80px;
        font-size: 1.8rem;
    }

    .business-name {
        font-size: 1.5rem;
    }

    .time-slots-container {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    }
}


/* Time Slots Container Styles */
/*.time-slots-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);*/ /* Always 2 columns */
    /*gap: 0.75rem;
    margin-top: 1rem;
    max-height: 300px;*/ /* Fixed height to trigger scroll */
    /*overflow-y: auto;*/ /* Vertical scroll */
    /*padding-right: 8px;*/ /* Space for scrollbar */
/*}*/

    /* Scrollbar styling */
    .time-slots-container::-webkit-scrollbar {
        width: 8px;
    }

    .time-slots-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }

    .time-slots-container::-webkit-scrollbar-thumb {
        background: var(--light-blue);
        border-radius: 4px;
    }

        .time-slots-container::-webkit-scrollbar-thumb:hover {
            background: var(--deep-blue);
        }

/* Time slot items */
.time-slot {
    padding: 0.75rem;
    text-align: center;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 80px; /* Minimum width for each slot */
}

/* Responsive adjustments */
@media (max-width: 575.98px) {
    .time-slots-container {
        grid-template-columns: 1fr; /* Single column on very small screens */
    }
}
