/* Booking Page Styles */
.booking-section {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.booking-header {
    text-align: center;
    margin-bottom: 3rem;
}

.booking-header h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.booking-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.booking-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Booking Steps */
.booking-step {
    display: none;
    padding: 3rem;
    animation: fadeIn 0.5s ease-in-out;
}

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

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

.booking-step h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: center;
}

/* Service Selection */
.services-selection {
    display: grid;
    gap: 2rem;
}

.service-category h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6366f1;
    margin-bottom: 1rem;
    border-bottom: 2px solid #6366f1;
    padding-bottom: 0.5rem;
}

.service-options {
    display: grid;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.service-option {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.service-option:hover {
    border-color: #6366f1;
    background: #f8fafc;
}

.service-option input[type="radio"] {
    margin-right: 1rem;
    scale: 1.5;
    accent-color: #6366f1;
}

.service-option input[type="radio"]:checked {
    background: #6366f1;
}

.service-option.featured {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    border-color: #6366f1;
}

.service-option.featured:hover {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
}

.service-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.service-name {
    font-weight: 500;
    font-size: 1.1rem;
}

.service-price {
    font-weight: 600;
    color: #6366f1;
    font-size: 1.1rem;
}

.service-option.featured .service-price {
    color: #fbbf24;
}

.most-popular {
    position: absolute;
    top: -8px;
    right: 15px;
    background: #fbbf24;
    color: #1f2937;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* DateTime Selection */
.datetime-selection {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.calendar-container {
    background: #f8fafc;
    border-radius: 20px;
    padding: 1.5rem;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.calendar-nav {
    background: #6366f1;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.calendar-nav:hover {
    background: #5b21b6;
}

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

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.calendar-day:hover {
    background: #e2e8f0;
}

.calendar-day.available {
    background: white;
    border: 2px solid #e2e8f0;
}

.calendar-day.available:hover {
    border-color: #6366f1;
    background: #f0f4ff;
}

.calendar-day.selected {
    background: #6366f1;
    color: white;
    border-color: #6366f1;
}

.calendar-day.disabled {
    color: #cbd5e1;
    cursor: not-allowed;
}

.calendar-day.booked {
    background: #ef4444;
    color: white;
    cursor: not-allowed;
}

.calendar-day.fully-booked {
    background: #fca5a5;
    color: #dc2626;
    cursor: not-allowed;
    border-color: #ef4444;
    opacity: 0.8;
}

.calendar-day.fully-booked:hover {
    background: #fca5a5;
    border-color: #ef4444;
}

/* Time Slots */
.time-slots {
    background: #f8fafc;
    border-radius: 20px;
    padding: 1.5rem;
}

.time-slots h4 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
}

.time-selection-hint {
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: #f1f5f9;
    text-align: center;
    min-height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.time-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.time-slot {
    padding: 0.8rem;
    text-align: center;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.time-text {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.availability-text {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
}

.time-slot:hover {
    border-color: #6366f1;
    background: #f0f4ff;
}

.time-slot.available {
    background: white;
    border-color: #10b981;
}

.time-slot.available:hover {
    border-color: #6366f1;
    background: #f0f4ff;
}

.time-slot.available .availability-text {
    color: #10b981;
}

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

.time-slot.selected .time-text,
.time-slot.selected .availability-text {
    color: white;
}

.time-slot.booked {
    background: #fef2f2;
    color: #dc2626;
    cursor: not-allowed;
    border-color: #fca5a5;
}

.time-slot.booked:hover {
    background: #fef2f2;
    border-color: #fca5a5;
}

.time-slot.booked .availability-text {
    color: #dc2626;
}

.time-slot.disabled {
    background: #f8fafc;
    color: #64748b;
    cursor: not-allowed;
    border-color: #e2e8f0;
    opacity: 0.7;
}

.time-slot.disabled:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.time-slot.disabled .availability-text {
    color: #64748b;
}

/* Booking Form */
.booking-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Booking Summary */
.booking-summary {
    max-width: 500px;
    margin: 0 auto 2rem;
}

.summary-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid #e2e8f0;
}

.summary-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.summary-item .label {
    font-weight: 500;
    color: #666;
}

.summary-item .value {
    font-weight: 600;
    color: #333;
}

/* Terms Checkbox */
.booking-terms {
    margin: 2rem 0;
    text-align: center;
}

.checkbox-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: #666;
    max-width: 400px;
}

.checkbox-container input[type="checkbox"] {
    margin-right: 0.5rem;
    scale: 1.3;
    accent-color: #6366f1;
}

/* Step Navigation */
.step-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.step-navigation .btn {
    flex: 1;
    max-width: 200px;
}

/* Success Message */
.success-message {
    text-align: center;
    padding: 2rem;
}

.success-message i {
    font-size: 4rem;
    color: #10b981;
    margin-bottom: 1rem;
}

.success-message h2 {
    color: #10b981;
    margin-bottom: 1rem;
}

.confirmation-details {
    background: #f0f9ff;
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #10b981;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-book-another {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
}

.btn-book-another:hover {
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.btn-book-another:active {
    transform: translateY(0);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-section {
        padding: 6rem 0 2rem;
    }
    
    .booking-header h1 {
        font-size: 2rem;
    }
    
    .booking-step {
        padding: 2rem 1.5rem;
    }
    
    .datetime-selection {
        grid-template-columns: 1fr;
    }
    
    .time-grid {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .success-actions .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    .step-navigation {
        flex-direction: column;
    }
    
    .step-navigation .btn {
        max-width: none;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* Admin Panel Link Styling */
.nav-link.admin-link {
    background: linear-gradient(45deg, #8b5cf6, #6366f1) !important;
    color: white !important;
    padding: 0.5rem 1rem !important;
    border-radius: 20px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 10px rgba(139, 92, 246, 0.3) !important;
    margin-left: 0.5rem !important;
}

.nav-link.admin-link:hover {
    background: linear-gradient(45deg, #7c3aed, #5b21b6) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4) !important;
}

/* Payment Options Styling */
.payment-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Deposit Notice Styling */
.deposit-notice {
    background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
    border: 2px solid #f59e0b;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 3rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.2);
}

.deposit-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.deposit-content h3 {
    color: #92400e;
    font-size: 1.3rem;
    margin: 0 0 1rem 0;
    font-weight: 700;
}

.deposit-content p {
    color: #92400e;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.deposit-benefits {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.deposit-benefits li {
    color: #92400e;
    padding: 0.25rem 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.deposit-policy {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
}

.deposit-policy small {
    color: #78350f;
    line-height: 1.4;
}

.deposit-reminder {
    background: #e0f2fe;
    border-left: 4px solid #0284c7;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 2rem;
}

.deposit-reminder p {
    color: #0c4a6e;
    margin: 0;
    font-weight: 500;
}

.payment-options {
    max-width: 900px;
    margin: 0 auto;
}

.payment-section {
    margin-bottom: 3rem;
}

.payment-section h3 {
    color: #333;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #8b5cf6;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-method {
    position: relative;
}

.payment-method input[type="radio"] {
    display: none;
}

.payment-card {
    display: block;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 20px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-height: 200px;
}

.payment-card:hover {
    border-color: #8b5cf6;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.15);
}

.payment-method input[type="radio"]:checked + .payment-card {
    border-color: #8b5cf6;
    background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.payment-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

.payment-badge {
    background: linear-gradient(45deg, #8b5cf6, #6366f1);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.payment-badge.traditional {
    background: linear-gradient(45deg, #10b981, #059669);
}

/* QR Code Styling */
.qr-container {
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 0.5rem;
}

.qr-instruction {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

/* Zelle Styling */
.zelle-info {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.zelle-image {
    width: 100px;
    height: auto;
    border-radius: 8px;
    flex-shrink: 0;
}

.zelle-details {
    flex: 1;
}

.zelle-details p {
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

.zelle-note {
    font-style: italic;
    color: #666;
    font-size: 0.85rem !important;
}

/* Pay at Store Styling */
.pay-store {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.store-payment-info {
    text-align: center;
}

.accepted-payments ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.accepted-payments li {
    padding: 0.25rem 0;
    font-size: 0.95rem;
}

.store-note {
    font-style: italic;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Payment Total */
.payment-total {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 20px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.total-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.total-amount {
    font-size: 1.5rem;
    font-weight: 700;
}

.service-price-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.service-amount {
    font-weight: 600;
}

.pricing-note {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 0;
}

/* Responsive Payment Options */
@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .payment-card {
        padding: 1rem;
        min-height: auto;
    }
    
    .qr-code {
        width: 100px;
        height: 100px;
    }
    
    .zelle-info {
        flex-direction: column;
        text-align: center;
    }
    
    .zelle-image {
        width: 80px;
    }
    
    .total-display {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .service-price-display {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .deposit-notice {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .deposit-icon {
        font-size: 1.5rem;
    }
}

/* Image Zoom Modal */
.zoom-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.zoom-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.zoom-modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.zoomed-image {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.zoom-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 35px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2001;
}

.zoom-close:hover {
    color: #ff6b6b;
}

.zoom-caption {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* QR Code Container Enhancements */
.qr-image-wrapper,
.zelle-image-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.qr-image-wrapper:hover,
.zelle-image-wrapper:hover {
    transform: scale(1.05);
}

.zoom-icon {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.zoom-icon:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.9);
    transform: scale(1.1);
}

.zoom-text {
    color: #6366f1;
    font-weight: 500;
    font-size: 0.85rem;
}

.qr-code,
.zelle-image {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.qr-code:hover,
.zelle-image:hover {
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

/* Mobile Zoom Modal */
@media (max-width: 768px) {
    .zoom-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .zoomed-image {
        max-height: 70vh;
    }
    
    .zoom-close {
        top: -30px;
        font-size: 30px;
    }
    
    .zoom-caption {
        font-size: 1rem;
        margin-top: 10px;
    }
    
    .zoom-icon {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }
}
