/* =====================================================
   Billboy Scheduling Form - Main Styles
   ===================================================== */

.billboy-scheduling-form-container {
    max-width: 700px;
    margin: 30px auto;
    padding: 30px;
    background: linear-gradient(135deg, #f5f7fa 0%, #ffffff 100%);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 8px 0;
    text-align: center;
}

.form-subtitle {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 400;
}

/* ===== STEP INDICATORS ===== */
.form-steps-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
    gap: 8px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.step-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e8e8e8;
    color: #666;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid #ddd;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-top: 6px;
    text-transform: capitalize;
    text-align: center;
}

/* Active step */
.step.step-active .step-number {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border-color: #4a90e2;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.step.step-active .step-label {
    color: #4a90e2;
    font-weight: 700;
}

/* Completed step */
.step.step-complete .step-number {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.step.step-complete .step-label {
    color: #28a745;
}

.step.step-complete .step-number::after {
    content: '✓';
    position: absolute;
    font-size: 18px;
}

/* Step connector */
.step-connector {
    width: 40px;
    height: 2px;
    background: #ddd;
    margin: 0 4px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .form-steps-indicator {
        gap: 4px;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }

    .step-connector {
        width: 28px;
    }

    .step-label {
        font-size: 11px;
    }
}

/* ===== FORM STEPS ===== */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.form-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== FORM SECTIONS ===== */
.form-section {
    margin-bottom: 28px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-left: 4px solid #4a90e2;
    border-radius: 6px;
}

.form-section legend {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    display: block;
    width: 100%;
}

/* ===== FORM GROUPS ===== */
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #2c3e50;
}

.label-text {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
}

/* ===== FORM CONTROLS ===== */
.form-control {
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
    background-color: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    background-color: #ffffff;
}

.form-control:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

input.form-control[type="text"],
input.form-control[type="email"],
input.form-control[type="tel"],
input.form-control[type="date"],
input.form-control[type="time"],
select.form-control {
    width: 100%;
}

textarea.form-control {
    width: 100%;
    resize: vertical;
    min-height: 100px;
}

/* ===== SPECIFIC GROUP LAYOUTS ===== */
.time-group {
    max-width: 200px;
}

.calendar-group {
}

/* ===== PRODUCT INFO ===== */
.product-info {
    margin-top: 12px;
    padding: 12px;
    background: #f0f7ff;
    border-left: 3px solid #4a90e2;
    border-radius: 4px;
}

.product-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
}

.product-detail:last-child {
    margin-bottom: 0;
}

.product-detail .label {
    font-weight: 500;
    color: #2c3e50;
}

.product-detail .value {
    color: #4a90e2;
    font-weight: 600;
}

/* ===== AVAILABILITY INFO ===== */
.availability-info {
    margin-top: 12px;
    padding: 12px;
    border-radius: 4px;
}

.availability-info.success {
    background: #d4edda;
    border-left: 3px solid #28a745;
}

.availability-info.error {
    background: #f8d7da;
    border-left: 3px solid #dc3545;
}

.availability-status {
    font-size: 13px;
    line-height: 1.5;
}

.availability-status.success {
    color: #155724;
}

.availability-status.error {
    color: #721c24;
}

/* ===== FORM ACTIONS ===== */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    flex: 1;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #357abd 0%, #2c5aa0 100%);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f0f0f0;
    color: #2c3e50;
    min-width: 120px;
}

.btn-secondary:hover:not(:disabled) {
    background: #e0e0e0;
}

.btn-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    flex: 1;
}

.btn-success:hover:not(:disabled) {
    background: linear-gradient(135deg, #20c997 0%, #1aa179 100%);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-text {
    display: inline;
}

.btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== MESSAGES ===== */
.form-message {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 4px solid;
}

.form-message.success {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.form-message.info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .billboy-scheduling-form-container {
        margin: 20px;
        padding: 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-actions {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .time-group,
    .calendar-group {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .billboy-scheduling-form-container {
        margin: 10px;
        padding: 16px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-subtitle {
        font-size: 12px;
    }

    .form-section {
        padding: 14px;
        margin-bottom: 16px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ===== LOADING STATE ===== */
.is-loading select,
.is-loading input,
.is-loading textarea {
    opacity: 0.6;
    pointer-events: none;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4a90e2;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* ===== FORM SECTIONS ===== */
.form-section {
    margin-bottom: 28px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #f0f0f0;
    border-left: 4px solid #4a90e2;
    border-radius: 6px;
}

.form-section legend {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    display: block;
    width: 100%;
}

/* ===== FORM GROUPS ===== */
.form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #2c3e50;
}

.label-text {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 8px;
}

/* ===== FORM CONTROLS ===== */
.form-control {
    padding: 11px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
    background-color: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    background-color: #ffffff;
}

.form-control:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

input.form-control[type="text"],
input.form-control[type="email"],
input.form-control[type="tel"],
input.form-control[type="date"],
input.form-control[type="time"],
select.form-control {
    width: 100%;
}

textarea.form-control {
    width: 100%;
    resize: vertical;
    min-height: 100px;
}

/* ===== SPECIFIC GROUP LAYOUTS ===== */
.time-group {
    max-width: 200px;
}

.calendar-group {
}

/* ===== PRODUCT INFO ===== */
.product-info {
    margin-top: 12px;
    padding: 12px;
    background: #f0f7ff;
    border-left: 3px solid #4a90e2;
    border-radius: 4px;
}

.product-detail {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 13px;
}

.product-detail:last-child {
    margin-bottom: 0;
}

.product-detail .label {
    font-weight: 500;
    color: #2c3e50;
}

.product-detail .value {
    color: #4a90e2;
    font-weight: 600;
}

/* ===== AVAILABILITY INFO ===== */
.availability-info {
    margin-top: 12px;
    padding: 12px;
    border-radius: 4px;
}

.availability-info.success {
    background: #d4edda;
    border-left: 3px solid #28a745;
}

.availability-info.error {
    background: #f8d7da;
    border-left: 3px solid #dc3545;
}

.availability-status {
    font-size: 13px;
    line-height: 1.5;
}

.availability-status.success {
    color: #155724;
}

.availability-status.error {
    color: #721c24;
}

/* ===== FORM ACTIONS ===== */
.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* ===== BUTTONS ===== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    white-space: nowrap;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    flex: 1;
}

.btn-primary:hover:not(:disabled) {
    background: linear-gradient(135deg, #357abd 0%, #2c5aa0 100%);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: #f0f0f0;
    color: #2c3e50;
    min-width: 120px;
}

.btn-secondary:hover:not(:disabled) {
    background: #e0e0e0;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 16px;
}

.btn-text {
    display: inline;
}

.btn-spinner {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== MESSAGES ===== */
.form-message {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
    border-left: 4px solid;
}

.form-message.success {
    background: #d4edda;
    border-left-color: #28a745;
    color: #155724;
}

.form-message.error {
    background: #f8d7da;
    border-left-color: #dc3545;
    color: #721c24;
}

.form-message.info {
    background: #d1ecf1;
    border-left-color: #17a2b8;
    color: #0c5460;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .billboy-scheduling-form-container {
        margin: 20px;
        padding: 20px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .time-group,
    .calendar-group {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .billboy-scheduling-form-container {
        margin: 10px;
        padding: 16px;
    }

    .form-title {
        font-size: 20px;
    }

    .form-subtitle {
        font-size: 12px;
    }

    .form-section {
        padding: 14px;
        margin-bottom: 16px;
    }

    .form-group {
        margin-bottom: 12px;
    }

    .btn-lg {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* ===== LOADING STATE ===== */
.is-loading select,
.is-loading input,
.is-loading textarea {
    opacity: 0.6;
    pointer-events: none;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #4a90e2;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

/* ===== PRODUCT IMAGE & DESCRIPTION ===== */
.product-image-container {
    margin-bottom: 16px;
}

.product-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: block;
    margin-bottom: 12px;
}

.product-description-container {
    margin-top: 12px;
    padding: 12px;
    background: #f9f9f9;
    border-radius: 4px;
    border-left: 3px solid #4a90e2;
}

.product-description-container .label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
}

.product-description {
    font-size: 13px;
    line-height: 1.6;
    color: #555;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* ===== CALENDAR STYLES ===== */
.availability-calendar {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    gap: 16px;
}

.calendar-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
    text-align: center;
}

.calendar-nav-prev,
.calendar-nav-next {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #2c3e50;
    font-weight: bold;
}

.calendar-nav-prev:hover,
.calendar-nav-next:hover {
    background: #4a90e2;
    border-color: #4a90e2;
    color: white;
}

.calendar-nav-prev:disabled,
.calendar-nav-next:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.weekday {
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 12px;
    padding: 8px 0;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: default;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    transition: all 0.2s ease;
    text-align: center;
}

.calendar-day .day-number {
    font-weight: 600;
    font-size: 16px;
    color: #2c3e50;
}

.calendar-day .day-status {
    font-size: 10px;
    color: #666;
    margin-top: 2px;
}

/* Available - enough time */
.calendar-day.available {
    background: #d4edda;
    border-color: #28a745;
    cursor: pointer;
}

.calendar-day.available:hover {
    background: #c3e6cb;
    border-color: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.2);
}

.calendar-day.available .day-number {
    color: #155724;
}

.calendar-day.available .day-status {
    color: #155724;
    font-weight: 600;
}

/* Partial - not enough time */
.calendar-day.partial {
    background: #fff3cd;
    border-color: #ffc107;
    cursor: not-allowed;
}

.calendar-day.partial .day-number {
    color: #856404;
}

.calendar-day.partial .day-status {
    color: #856404;
}

/* Unavailable - no time */
.calendar-day.unavailable {
    background: #f8d7da;
    border-color: #dc3545;
    cursor: not-allowed;
}

.calendar-day.unavailable .day-number {
    color: #721c24;
}

.calendar-day.unavailable .day-status {
    color: #721c24;
}

/* Past dates */
.calendar-day.past {
    background: #f0f0f0;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.calendar-day.past .day-number {
    color: #999;
}

/* Other month dates */
.calendar-day.other-month {
    background: transparent;
    border: none;
    color: #ccc;
    cursor: default;
}

/* Selected date */
.calendar-day.selected {
    background: #4a90e2;
    border-color: #2563eb;
    color: white;
}

.calendar-day.selected .day-number {
    color: white;
    font-weight: 700;
}

.calendar-day.selected .day-status {
    color: #e3f2fd;
}

.calendar-day.available.selected {
    background: #2563eb;
    border-color: #1d4ed8;
}

/* Selected date styling */
.selected-date-display {
    margin-top: 12px;
    padding: 12px;
    background: #e3f2fd;
    border-left: 4px solid #4a90e2;
    border-radius: 4px;
    font-size: 14px;
    color: #1565c0;
}

.selected-date-display strong {
    font-weight: 600;
}

/* Responsive calendar */
@media (max-width: 600px) {
    .calendar-day .day-number {
        font-size: 14px;
    }
    
    .calendar-day .day-status {
        font-size: 9px;
    }
    
    .calendar-nav-prev,
    .calendar-nav-next {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }
    
    .calendar-header h3 {
        font-size: 16px;
    }
}

/* ===== TIME SLOT MODAL ===== */
.time-slot-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    z-index: 10000;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 30px 20px;
}

.modal-instruction {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 14px;
}

.vertical-time-picker {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    background: #f5f7fa;
    border-radius: 8px;
    padding: 20px;
    min-height: 400px;
}

.time-labels {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 50px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.time-label {
    font-size: 12px;
    color: #666;
    font-weight: 600;
    text-align: right;
    line-height: 1;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.time-picker-track {
    flex: 1;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    position: relative;
    cursor: ns-resize;
    min-height: 360px;
    overflow: hidden;
}

.time-slot-selector {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: white;
    border-radius: 4px;
    cursor: grab;
    user-select: none;
    text-align: center;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(74, 144, 226, 0.3);
    transition: box-shadow 0.2s;
    position: absolute;
    width: calc(100% - 4px);
    left: 2px;
    min-height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 0;
}

.time-slot-selector:active {
    cursor: grabbing;
    box-shadow: 0 8px 16px rgba(74, 144, 226, 0.4);
}

.slot-handle {
    display: none;
}

#slot-time-display {
    display: block;
    font-size: 13px;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 8px;
}

#slot-time-display {
    display: block;
    font-size: 14px;
}

/* Unavailable hours overlay in time picker */
.unavailable-hours {
    background: rgba(220, 53, 69, 0.12) !important;
    border: 1px dashed #dc3545 !important;
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.unavailable-label {
    position: absolute;
    font-size: 11px;
    color: #dc3545;
    font-weight: 500;
    pointer-events: none;
    white-space: nowrap;
    z-index: 2;
}

.modal-footer {
    padding: 16px 20px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.modal-footer .btn {
    min-width: 100px;
    padding: 10px 16px;
}

/* Responsive modal */
@media (max-width: 600px) {
    .modal-content {
        width: 95%;
    }
    
    .time-picker-container {
        min-height: 250px;
    }
    
    .time-picker-hour-grid {
        gap: 6px;
    }
    
    .hour-label {
        font-size: 10px;
    }
}
}

/* ===== BOOKING CONFIRMATION ===== */
.booking-confirmation {
    text-align: center;
    padding: 40px 20px;
}

.confirmation-icon {
    font-size: 64px;
    line-height: 1;
    margin-bottom: 16px;
}

.confirmation-title {
    font-size: 24px;
    font-weight: 600;
    color: #155724;
    margin-bottom: 28px;
}

.confirmation-details {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    max-width: 420px;
    margin: 0 auto 24px;
    text-align: left;
    overflow: hidden;
}

.confirmation-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    padding: 12px 18px;
    border-bottom: 1px solid #f0f0f0;
}

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

.conf-label {
    font-size: 13px;
    color: #666;
    white-space: nowrap;
    flex-shrink: 0;
}

.conf-value {
    font-weight: 600;
    color: #222;
    text-align: right;
}

.confirmation-disclaimer {
    max-width: 420px;
    margin: 0 auto;
    padding: 14px 18px;
    background: #fff8e1;
    border: 1px solid #ffe082;
    border-left: 4px solid #ffc107;
    border-radius: 6px;
    font-size: 14px;
    color: #5d4037;
    line-height: 1.5;
    text-align: left;
}

.confirmation-disclaimer p {
    margin: 0;
}
