/**
 * Booking Form - Mobile Footer Styles
 * Contains: .mobile-footer-bar, .btn-mobile-book, and responsive media queries
 */

/* Mobile Footer Bar */
.mobile-footer-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border-top: 1px solid #e9ecef;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    box-shadow: 0 -6px 20px rgba(0,0,0,0.08);
    z-index: 1100;
}

.mobile-footer-total {
    font-weight: 700;
    font-size: 1.1rem;
}

.mobile-footer-total small {
    display: block;
    font-size: 0.75rem;
    color: #666;
    font-weight: 600;
}

.btn-mobile-book {
    flex: 0 0 auto;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-weight: 700;
    background: #28a745;
    color: #fff;
    cursor: pointer;
}

.btn-mobile-book:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Responsive - Show mobile footer on tablets and below */
@media (max-width: 768px) {
    .mobile-footer-bar {
        display: flex;
    }

    body {
        padding-bottom: 84px;
    }
}

@media (max-width: 900px) {
    .mobile-footer-bar {
        display: flex;
    }

    body {
        padding-bottom: 84px;
    }
}

/* Responsive - Form adjustments */
@media (max-width: 576px) {
    .size-grid,
    .datetime-grid,
    .input-grid,
    .input-grid.two-col,
    .input-grid.three-col {
        grid-template-columns: 1fr;
    }

    .booking-form {
        padding: 2rem 1.5rem;
    }
}

/* Responsive - Input grid adjustments */
@media (max-width: 768px) {
    .input-grid,
    .input-grid.two-col,
    .input-grid.three-col,
    .input-grid.auto {
        grid-template-columns: 1fr;
    }

    .input-grid.auto .input-field[style*="span 2"] {
        grid-column: 1;
    }
}

@media (max-width: 420px) {
    .input-grid.auto {
        grid-template-columns: 1fr;
    }

    .input-grid.auto .input-field[style*="span 2"] {
        grid-column: 1;
    }
}
