* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: white;
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    background: #f8fafc;
    min-height: 100vh;
    position: relative;
}

/* Header */
.header {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    position: relative;
    gap: 12px;
}

.header-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 16px;
    font-weight: 600;
    color: white;
    letter-spacing: 0.5px;
}

.header-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Location Card */
.location-card {
    background: white;
    margin: 0 20px 24px;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.location-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.location-arrow {
    margin-left: auto;
    display: flex;
    align-items: center;
}

.location-image {
    width: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.location-info {
    flex: 1;
}

.location-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.location-address {
    font-size: 14px;
    color: #666;
    margin-bottom: 4px;
}

.location-note {
    font-size: 12px;
    color: #999;
}

/* Sections */
.section {
    margin: 0 20px 24px;
}

.section.no-bottom-margin {
    margin-bottom: 0;
}

.customer-form-section {
    padding-top: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #333;
}

/* Date Picker */
.date-picker {
    background: #fff8dc;
    border: 2px solid #FFD700;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    font-size: 16px;
    font-weight: 500;
    color: #B8860B;
}

.date-input {
    background: none;
    border: none;
    color: #B8860B;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    cursor: pointer;
}

.date-input::-webkit-calendar-picker-indicator {
    opacity: 0;
    cursor: pointer;
}

/* Time Tabs */
.time-tabs {
    display: flex;
    background: #f1f5f9;
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 16px;
}

.time-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-tab.active {
    background: #FFD700;
    color: white;
}

.time-tab:not(.active) {
    color: #64748b;
}

/* Time Grid */
.time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.time-slot {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-slot:hover {
    background: #fff8dc;
    border-color: #FFD700;
    color: #B8860B;
}

.time-slot.selected {
    background: #FFD700;
    border-color: #FFD700;
    color: white;
}

.time-slot.disabled {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-slot.disabled:hover {
    background: #f1f5f9;
    border-color: #e2e8f0;
    color: #94a3b8;
}

/* Customer Form */
.customer-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}

.form-group input,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    transition: border-color 0.2s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox Styling */
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    color: #374151;
    font-weight: 400;
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: white;
}

.checkbox-item:hover .checkmark {
    border-color: #FFD700;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background: #FFD700;
    border-color: #FFD700;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: "✓";
    color: white;
    font-weight: bold;
    font-size: 14px;
}

/* Book Button */
.book-btn {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin: 20px;
    margin-bottom: 40px;
    width: calc(100% - 40px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.book-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(255, 215, 0, 0.3);
}

.book-btn:active {
    transform: translateY(0);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 4px;
    line-height: 1;
}

.branch-list {
    max-height: 60vh;
    overflow-y: auto;
}

.branch-item {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
    transition: background-color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.branch-item:hover {
    background: #f8fafc;
}

.branch-item:last-child {
    border-bottom: none;
}

.branch-image {
    width: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.branch-info {
    flex: 1;
}

.branch-name {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 4px;
}

.branch-address {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .container {
        max-width: 400px;
    }
}

@media (max-width: 375px) {
    .header {
        padding: 16px;
    }
    
    .logo-image {
        height: 36px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .header-title {
        font-size: 18px;
    }
    
    .section {
        margin: 0 16px 20px;
    }
    
    .location-card {
        margin: 0 16px 20px;
    }
    
    .book-btn {
        margin: 16px;
        margin-bottom: 32px;
        width: calc(100% - 32px);
    }
    
    .time-grid {
        gap: 8px;
    }
    
    .time-slot {
        padding: 10px 6px;
        font-size: 13px;
    }
}

/* reCAPTCHA v3 Info Styles */
.recaptcha-container {
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 0 16px;
    border: 1px solid #e9ecef;
}

#recaptcha-info p {
    margin: 0;
    line-height: 1.4;
}

#recaptcha-info a {
    color: #007bff;
    text-decoration: none;
}

#recaptcha-info a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .recaptcha-container {
        padding: 12px 15px;
        margin: 0 16px;
    }
    
    #recaptcha-info p {
        font-size: 13px;
    }
}