/**
 * Frontend CSS for Booking Shortcode Plugin
 */

.booking-wizard {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    position: relative;
}

/* Progress indicator */
.booking-wizard-progress {
    margin-bottom: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: #e0e0e0;
    z-index: 1;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    background: white;
    padding: 0 10px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 12px;
    color: #666;
    text-align: center;
    white-space: nowrap;
}

.progress-step.active .step-number {
    background: #0073aa;
    color: white;
}

.progress-step.active .step-label {
    color: #0073aa;
    font-weight: 600;
}

.progress-step.completed .step-number {
    background: #46b450;
    color: white;
}

.progress-step.completed .step-number::before {
    content: '✓';
}

/* Error messages */
.booking-wizard-error {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #f5c6cb;
    margin-bottom: 20px;
}

/* Loading overlay */
.booking-wizard-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.booking-wizard-step {
    display: none;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}

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

.booking-wizard-navigation {
    margin-top: 20px;
    text-align: center;
}

.booking-wizard-navigation button {
    padding: 10px 20px;
    margin: 0 5px;
    border: none;
    border-radius: 4px;
    background: #0073aa;
    color: white;
    cursor: pointer;
}

.booking-wizard-navigation button:hover {
    background: #005a87;
}

.booking-wizard-navigation button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Service selection styles */
.service-selection {
    margin: 20px 0;
}

.service-filters {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.filter-row {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.search-container {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.service-search {
    width: 100%;
    padding: 12px 16px 12px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
}

.service-search:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}

.filter-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.duration-filter,
.price-filter {
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    font-size: 14px;
    min-width: 140px;
}

.duration-filter:focus,
.price-filter:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

.active-filters {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.filter-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-tag {
    background: #0073aa;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.filter-tag .remove {
    cursor: pointer;
    font-weight: bold;
}

.clear-filters {
    background: none;
    border: none;
    color: #0073aa;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
}

.clear-filters:hover {
    color: #005a87;
}

.service-results {
    margin-top: 20px;
}

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

.results-count {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.view-toggle {
    display: flex;
    gap: 5px;
}

.view-btn {
    padding: 8px 12px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.view-btn:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.view-btn.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.view-btn .icon {
    font-size: 16px;
}

.no-results {
    text-align: center;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.no-results-content {
    max-width: 300px;
    margin: 0 auto;
}

.no-results-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
}

.no-results h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.no-results p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.btn-clear-search {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-clear-search:hover {
    background: #005a87;
}

.service-grid {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.service-grid[data-columns="1"] {
    grid-template-columns: 1fr;
}

.service-grid[data-columns="2"] {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.service-grid[data-columns="3"] {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.service-grid[data-columns="4"] {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.service-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    border-color: #0073aa;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.15);
    transform: translateY(-2px);
}

.service-card.selected {
    border-color: #0073aa;
    background: #f0f8ff;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.2);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.service-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    flex: 1;
    padding-right: 10px;
}

.service-description {
    margin: 0 0 15px 0;
    color: #666;
    line-height: 1.5;
    font-size: 14px;
    flex-grow: 1;
}

.service-details {
    margin-top: auto;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
    font-size: 14px;
}

.service-duration,
.service-price {
    display: flex;
    align-items: center;
    color: #666;
}

.service-duration .icon-clock::before {
    content: '🕒';
    margin-right: 5px;
}

.service-price .icon-price::before {
    content: '💰';
    margin-right: 5px;
}

.service-price {
    font-weight: 600;
    color: #0073aa;
}

.service-capacity {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 13px;
    margin-top: 8px;
}

.service-capacity .icon-users::before {
    content: '👥';
    margin-right: 5px;
}

.service-select-indicator {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    flex-shrink: 0;
}

.service-card.selected .service-select-indicator {
    background: #0073aa;
    color: white;
    opacity: 1;
}

.service-select-indicator .checkmark {
    font-size: 14px;
    font-weight: bold;
}

.service-actions {
    margin-top: 15px;
}

.btn-select-service {
    width: 100%;
    padding: 12px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-select-service:hover {
    background: #005a87;
    transform: translateY(-1px);
}

.service-card.selected .btn-select-service {
    background: #46b450;
}

.service-card.selected .btn-select-service:hover {
    background: #3ba54a;
}

/* List view styles */
.service-grid[data-view="list"] {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-grid[data-view="list"] .service-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 15px 20px;
}

.service-grid[data-view="list"] .service-header {
    flex: 1;
    margin-bottom: 0;
    margin-right: 20px;
}

.service-grid[data-view="list"] .service-title {
    font-size: 16px;
    margin-bottom: 5px;
}

.service-grid[data-view="list"] .service-description {
    margin: 0;
    font-size: 13px;
    flex-grow: 0;
}

.service-grid[data-view="list"] .service-details {
    margin: 0 20px 0 0;
}

.service-grid[data-view="list"] .service-meta {
    margin: 0;
    padding: 0;
    border: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.service-grid[data-view="list"] .service-capacity {
    margin: 0;
}

.service-grid[data-view="list"] .service-actions {
    margin: 0;
}

.service-grid[data-view="list"] .btn-select-service {
    width: auto;
    padding: 8px 16px;
    font-size: 13px;
}

/* Form styles */
.booking-form-group {
    margin-bottom: 20px;
}

.booking-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.booking-form-group input,
.booking-form-group textarea,
.booking-form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.booking-form-group input:focus,
.booking-form-group textarea:focus,
.booking-form-group select:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.1);
}

/* Customer form styles */
.customer-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-intro {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.form-intro p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.booking-customer-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group.required label {
    position: relative;
}

.required-indicator {
    color: #dc3545;
    margin-left: 3px;
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.form-control:invalid {
    border-color: #dc3545;
}

.form-control:valid {
    border-color: #28a745;
}

.field-help {
    margin-top: 5px;
    font-size: 13px;
    color: #666;
    line-height: 1.4;
}

.field-error {
    margin-top: 5px;
    font-size: 13px;
    color: #dc3545;
    display: none;
}

.field-error.show {
    display: block;
}

.char-counter {
    font-size: 12px;
    color: #999;
    float: right;
}

/* Checkbox styles */
.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

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

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

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: #0073aa;
    border-color: #0073aa;
    color: white;
}

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

.checkbox-text {
    flex: 1;
    line-height: 1.5;
    font-size: 14px;
}

.privacy-policy-link {
    color: #0073aa;
    text-decoration: underline;
}

.privacy-policy-link:hover {
    color: #005a87;
}

/* GDPR section */
.gdpr-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e0e0e0;
}

.gdpr-section h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
}

.privacy-notice {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 4px solid #17a2b8;
}

.privacy-notice p {
    margin: 0;
    font-size: 13px;
    color: #666;
    line-height: 1.5;
}

/* Form summary */
.form-summary {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.form-summary h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.summary-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.summary-item .label {
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.summary-item .value {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

/* Calendar styles */
.booking-calendar {
    margin: 20px 0;
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.time-slot {
    padding: 10px;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.time-slot:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

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

.time-slot.unavailable {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* Responsive design */
@media (max-width: 768px) {
    .booking-wizard {
        padding: 10px;
    }
    
    .booking-wizard-progress {
        margin-bottom: 20px;
        padding: 15px 0;
    }
    
    .progress-steps {
        justify-content: space-around;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 11px;
    }
    
    .service-filters {
        padding: 15px;
    }
    
    .filter-row {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .search-container {
        min-width: auto;
    }
    
    .filter-controls {
        justify-content: space-between;
    }
    
    .duration-filter,
    .price-filter {
        flex: 1;
        min-width: auto;
    }
    
    .results-header {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }
    
    .view-toggle {
        justify-content: center;
    }
    
    .service-grid {
        grid-template-columns: 1fr !important;
    }
    
    .service-grid[data-view="list"] .service-card {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .service-grid[data-view="list"] .service-header {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .service-grid[data-view="list"] .service-details {
        flex-direction: column;
        gap: 15px;
    }
}



@media (max-width: 480px) {
    .booking-wizard {
        padding: 5px;
    }
    
    .progress-steps {
        gap: 5px;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .step-label {
        font-size: 10px;
        max-width: 60px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .service-filters {
        padding: 10px;
    }
    
    .filter-controls {
        flex-direction: column;
        gap: 10px;
    }
    
    .service-card {
        padding: 15px;
    }
    
    .service-title {
        font-size: 16px;
    }
    
    .service-meta {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
}/
* Additional responsive styles for customer form */
@media (max-width: 768px) {
    /* Customer form responsive */
    .customer-form {
        margin: 0;
    }
    
    .form-intro {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .booking-customer-form {
        padding: 20px 15px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .checkbox-label {
        align-items: flex-start;
    }
    
    .checkmark {
        margin-top: 3px;
    }
    
    .form-summary {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .customer-form {
        padding: 0;
    }
    
    .form-intro {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .form-intro p {
        font-size: 14px;
    }
    
    .booking-customer-form {
        padding: 15px 10px;
        border-radius: 6px;
    }
    
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-control {
        padding: 10px 12px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    .gdpr-section {
        margin-top: 30px;
        padding-top: 20px;
    }
    
    .gdpr-section h4 {
        font-size: 16px;
    }
    
    .checkbox-text {
        font-size: 13px;
    }
    
    .privacy-notice {
        padding: 12px;
    }
    
    .privacy-notice p {
        font-size: 12px;
    }
}/* Tim
e selection styles */
.time-selection {
    max-width: 1000px;
    margin: 0 auto;
}

.time-selection-intro {
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.time-selection-intro p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 16px;
}

.timezone-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.timezone-label {
    color: #666;
}

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

.timezone-change-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.timezone-change-btn:hover {
    background: rgba(0, 115, 170, 0.1);
}

/* Timezone Modal */
.timezone-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timezone-modal-content {
    background: white;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    max-height: 80vh;
    overflow: hidden;
}

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

.timezone-modal-header h4 {
    margin: 0;
    font-size: 18px;
}

.timezone-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.timezone-search-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.timezone-list {
    max-height: 300px;
    overflow-y: auto;
}

.timezone-option {
    padding: 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.timezone-option:hover {
    background: #f0f8ff;
}

/* Calendar Container */
.calendar-container {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 25px;
    overflow: hidden;
}

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

.calendar-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.calendar-nav-btn {
    background: white;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

.calendar-nav-btn:hover {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

.calendar-title {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    min-width: 200px;
    text-align: center;
}

.calendar-view-toggle {
    display: flex;
    gap: 5px;
}

.view-toggle-btn {
    padding: 8px 16px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.view-toggle-btn:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.view-toggle-btn.active {
    background: #0073aa;
    color: white;
    border-color: #0073aa;
}

/* Calendar Content */
.calendar-content {
    position: relative;
}

.calendar-month-view,
.calendar-week-view {
    display: none;
    overflow-x: auto;
}

.calendar-month-view.active,
.calendar-week-view.active {
    display: block;
}

.calendar-month-view .calendar-weekdays,
.calendar-month-view .calendar-days {
    min-width: 640px;
}

/* Month View */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.weekday {
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    color: #666;
    font-size: 14px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    min-height: 300px;
}

.calendar-day {
    border-right: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-height: 70px;
    background: #fff;
}

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

.calendar-day.other-month {
    color: #b9c1d0;
    background: #f9f9fb;
}

.calendar-day.today {
    background: #fff6e6;
    border-color: #ffce73;
}

.calendar-day.has-availability {
    background: #eefcf3;
    border-color: #98e0b7;
}

.calendar-day.has-availability .day-availability {
    color: #0f875b;
}

.calendar-day.selected {
    background: linear-gradient(145deg, #0ea5e9, #2563eb);
    color: #fff;
    box-shadow: 0 12px 20px rgba(14, 165, 233, 0.25);
}

.calendar-day.selected .day-number {
    color: #fff;
}

.calendar-day.no-availability {
    background: #f5f6fb;
    color: #94a3b8;
}

.calendar-day.past-date {
    color: #c0c6d2;
    background: #f5f6f9;
    cursor: not-allowed;
    pointer-events: none;
}

.day-number {
    font-weight: 600;
    margin-bottom: 5px;
}

.day-availability {
    font-size: 11px;
    color: #666;
}

.calendar-day.selected .day-availability {
    color: rgba(255, 255, 255, 0.85);
}

/* Week View */
.week-header {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.time-column-header {
    width: 80px;
    padding: 15px 10px;
    border-right: 1px solid #e0e0e0;
}

.week-days-header {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.week-day-header {
    padding: 15px 10px;
    text-align: center;
    border-right: 1px solid #e0e0e0;
    font-weight: 600;
    color: #666;
}

.week-content {
    display: flex;
    max-height: 400px;
    overflow-y: auto;
}

.time-column {
    width: 80px;
    border-right: 1px solid #e0e0e0;
}

.time-slot-label {
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
    font-size: 12px;
    color: #666;
    text-align: center;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.week-days {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.week-day-column {
    border-right: 1px solid #e0e0e0;
}

.week-time-slot {
    height: 40px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    transition: background 0.3s ease;
    position: relative;
}

.week-time-slot:hover {
    background: #f0f8ff;
}

.week-time-slot.available {
    background: #d4edda;
}

.week-time-slot.busy {
    background: #f8d7da;
    cursor: not-allowed;
}

.week-time-slot.selected {
    background: #0073aa;
}

/* Time Slots Panel */
.time-slots-panel {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 25px;
}

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

.selected-date-title {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.slots-loading {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #666;
    font-size: 14px;
}

.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid #e0e0e0;
    border-top: 2px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.time-slots-content {
    padding: 20px;
    min-height: 200px;
}

.no-date-selected,
.no-slots-available {
    text-align: center;
    padding: 40px 20px;
    color: #666;
}

.no-date-icon,
.no-slots-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.no-slots-available h5 {
    margin: 0 0 10px 0;
    color: #333;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 10px;
}

.time-slot {
    padding: 12px 8px;
    text-align: center;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    font-size: 14px;
    font-weight: 500;
}

.time-slot:hover {
    border-color: #0073aa;
    background: #f0f8ff;
    transform: translateY(-1px);
}

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

.time-slot.unavailable {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    border-color: #ddd;
}

.time-slot.unavailable:hover {
    transform: none;
    background: #f5f5f5;
    border-color: #ddd;
}

/* Selected Time Summary */
.selected-time-summary {
    margin-top: 20px;
    padding: 20px;
    background: #d4edda;
    border: 1px solid #28a745;
    border-radius: 8px;
}

.summary-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.summary-icon {
    width: 40px;
    height: 40px;
    background: #28a745;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    flex-shrink: 0;
}

.summary-details {
    flex: 1;
}

.summary-service {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.summary-datetime {
    color: #666;
    font-size: 14px;
    margin-bottom: 3px;
}

.summary-duration {
    color: #666;
    font-size: 14px;
}

.change-time-btn {
    background: white;
    border: 1px solid #28a745;
    color: #28a745;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.change-time-btn:hover {
    background: #28a745;
    color: white;
}

/* Calendar Legend */
.calendar-legend {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid #ddd;
}

.legend-color.available {
    background: #d4edda;
    border-color: #28a745;
}

.legend-color.busy {
    background: #f8d7da;
    border-color: #dc3545;
}

.legend-color.selected {
    background: #0073aa;
    border-color: #0073aa;
}

.legend-label {
    color: #666;
}/* Responsi
ve styles for time selection */
@media (max-width: 768px) {
    .time-selection {
        margin: 0;
    }
    
    .time-selection-intro {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .timezone-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }
    
    .calendar-navigation {
        justify-content: center;
    }
    
    .calendar-title {
        min-width: auto;
        font-size: 16px;
    }
    
    .calendar-nav-btn {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .view-toggle-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .weekday {
        padding: 10px 5px;
        font-size: 12px;
    }
    
    .calendar-day {
        min-height: 50px;
        padding: 8px 5px;
    }
    
    .day-number {
        font-size: 14px;
    }
    
    .day-availability {
        font-size: 10px;
    }
    
    .time-slots-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
        padding: 15px;
    }
    
    .selected-date-title {
        font-size: 16px;
    }
    
    .time-slots-content {
        padding: 15px;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 8px;
    }
    
    .time-slot {
        padding: 10px 6px;
        font-size: 13px;
    }
    
    .selected-time-summary {
        padding: 15px;
    }
    
    .summary-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .calendar-legend {
        flex-wrap: wrap;
        gap: 15px;
        padding: 12px;
    }
    
    .legend-item {
        font-size: 13px;
    }
    
    .timezone-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .timezone-modal-header {
        padding: 15px;
    }
    
    .timezone-modal-body {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .time-selection-intro {
        padding: 12px;
    }
    
    .time-selection-intro p {
        font-size: 14px;
    }
    
    .calendar-header {
        padding: 12px;
    }
    
    .calendar-title {
        font-size: 14px;
    }
    
    .calendar-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    
    .weekday {
        padding: 8px 3px;
        font-size: 11px;
    }
    
    .calendar-day {
        min-height: 45px;
        padding: 6px 3px;
    }
    
    .day-number {
        font-size: 13px;
    }
    
    .day-availability {
        font-size: 9px;
    }
    
    .time-slots-header {
        padding: 12px;
    }
    
    .selected-date-title {
        font-size: 14px;
    }
    
    .time-slots-content {
        padding: 12px;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 6px;
    }
    
    .time-slot {
        padding: 8px 4px;
        font-size: 12px;
    }
    
    .no-date-selected,
    .no-slots-available {
        padding: 30px 15px;
    }
    
    .no-date-icon,
    .no-slots-icon {
        font-size: 36px;
        margin-bottom: 10px;
    }
    
    .calendar-legend {
        gap: 10px;
        padding: 10px;
    }
    
    .legend-item {
        font-size: 12px;
    }
    
    .legend-color {
        width: 14px;
        height: 14px;
    }
}/
* Payment form styles */
.payment-form {
    max-width: 600px;
    margin: 0 auto;
}

.payment-intro {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0073aa;
}

.payment-intro h4 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 20px;
}

.payment-intro p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* Booking Summary Card */
.booking-summary-card {
    background: #fff;
    border: 1px solid #e1e8f0;
    border-radius: 16px;
    padding: 28px;
    margin-bottom: 30px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.summary-heading h5 {
    margin: 4px 0 0 0;
    font-size: 22px;
    color: #111c2f;
}

.summary-eyebrow {
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 12px;
    color: #73829e;
    font-weight: 600;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(120deg, #d7efff, #e7fff3);
    color: #0f5132;
    font-weight: 600;
    font-size: 13px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.summary-panel {
    background: #f9fbff;
    border: 1px solid #e1eaf4;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 100%;
}

.summary-panel .panel-title {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: #6b7a92;
    margin: 0;
}

.appointment-panel .mini-calendar {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #fff;
    border: 1px solid #e5ecf7;
    border-radius: 12px;
    padding: 12px;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.07);
}

.mini-calendar-date {
    background: linear-gradient(150deg, #1d4ed8, #0ea5e9);
    color: #fff;
    border-radius: 10px;
    width: 78px;
    text-align: center;
    padding: 8px 6px 10px;
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.mini-calendar-month {
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.mini-calendar-day {
    font-size: 32px;
    font-weight: 700;
}

.mini-calendar-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    color: #0f172a;
}

.booking-summary-weekday {
    font-weight: 700;
    font-size: 16px;
}

.booking-summary-time-range {
    font-size: 14px;
    color: #0f1d3b;
}

.booking-summary-date-long {
    font-size: 13px;
    color: #5f6c82;
}

.booking-timezone-chip {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef4ff;
    color: #274690;
    font-size: 12px;
    font-weight: 600;
}

.booking-summary-card .booking-datetime {
    display: none;
}

.detail-list,
.info-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-list li,
.info-list li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.detail-list .label,
.info-list .label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #7b879c;
    font-weight: 600;
}

.detail-list .value,
.info-list .value {
    font-size: 15px;
    font-weight: 600;
    color: #0f1b33;
    text-align: right;
}

.summary-note {
    font-size: 13px;
    line-height: 1.5;
    color: #4b5871;
}

.price-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.price-row,
.price-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-row span:last-child {
    font-weight: 600;
    color: #0f1b33;
}

.price-row.muted span:last-child {
    color: #62728d;
}

.price-total span:first-child {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    color: #6b7a92;
}

.price-total span:last-child {
    font-size: 20px;
    font-weight: 700;
    color: #0f172a;
}

.summary-highlights {
    list-style: none;
    margin: 16px 0 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: #4d5c75;
}

.summary-highlights li {
    position: relative;
    padding-left: 22px;
    font-size: 14px;
}

.summary-highlights li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
}


/* Stripe Payment Form */
.stripe-payment-form {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
}

.stripe-payment-form h5 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e0e0e0;
}

.payment-methods-info {
    margin-bottom: 25px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.payment-methods-info p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
}

.payment-methods-icons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.payment-icon {
    font-size: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.payment-icon:hover {
    opacity: 1;
}

/* Stripe Elements */
.stripe-element {
    margin-bottom: 20px;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    background: white;
    transition: border-color 0.3s ease;
}

.stripe-element:focus-within {
    border-color: #0073aa;
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.1);
}

.payment-element-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #666;
}

.payment-element-loading .loading-spinner {
    margin-bottom: 15px;
}

.payment-errors {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
    margin-bottom: 20px;
}

/* Terms Section */
.terms-section {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.terms-link,
.privacy-link {
    color: #0073aa;
    text-decoration: underline;
}

.terms-link:hover,
.privacy-link:hover {
    color: #005a87;
}

.cancellation-policy {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #e0e0e0;
}

.cancellation-policy h6 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
    font-weight: 600;
}

.cancellation-policy p {
    margin: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.5;
}

/* Payment Actions */
.payment-actions {
    text-align: center;
    margin-top: 25px;
}

.payment-submit-btn {
    background: #28a745;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    min-width: 200px;
    margin-bottom: 15px;
}

.payment-submit-btn:hover:not(:disabled) {
    background: #218838;
    transform: translateY(-1px);
}

.payment-submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.payment-submit-btn .button-spinner {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

.payment-security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-size: 13px;
}

.security-icon {
    font-size: 16px;
}

/* Payment Status Screens */
.payment-processing,
.payment-success,
.payment-error {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
}

.processing-content,
.success-content,
.error-content {
    max-width: 400px;
    margin: 0 auto;
}

.processing-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #e0e0e0;
    border-top: 4px solid #0073aa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.success-icon,
.error-icon {
    font-size: 60px;
    margin-bottom: 20px;
    display: block;
}

.processing-content h5,
.success-content h5,
.error-content h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 20px;
}

.processing-content p,
.success-content p,
.error-content p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 16px;
    line-height: 1.5;
}

.retry-payment-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retry-payment-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* Loading spinner variations */
.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid #ffffff40;
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;


@media (max-width: 480px) {
    .payment-intro {
        padding: 12px;
    }
    
    .payment-intro h4 {
        font-size: 16px;
    }
    
    .payment-intro p {
        font-size: 13px;
    }
    
    .booking-summary-card {
        padding: 18px 12px;
        border-radius: 12px;
    }
    
    .summary-panel {
        padding: 14px;
    }
    
    .mini-calendar-date {
        width: 64px;
    }
    
    .detail-list .label,
    .detail-list .value,
    .info-list .label,
    .info-list .value,
    .price-row {
        font-size: 13px;
    }
    
    .price-total span:last-child {
        font-size: 20px;
    }
    
    .payment-methods-info {
        padding: 10px;
    }
    
    .payment-methods-info p {
        font-size: 13px;
    }
    
    .stripe-element {
        padding: 10px;
    }
    
    .terms-section {
        padding: 12px;
    }
    
    .checkbox-text {
        font-size: 12px;
    }
    
    .payment-submit-btn {
        padding: 10px 25px;
        font-size: 13px;
        min-width: 160px;
    }
    
    .payment-security-info {
        font-size: 11px;
    }
    
    .processing-spinner {
        width: 50px;
        height: 50px;
    }
    
    .success-icon,
    .error-icon {
        font-size: 50px;
    }
    
    .processing-content h5,
    .success-content h5,
    .error-content h5 {
        font-size: 16px;
    }
    
    .processing-content p,
    .success-content p,
    .error-content p {
        font-size: 13px;
    }
}/
* Booking confirmation styles */
.booking-confirmation {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

/* Success Header */
.confirmation-header {
    margin-bottom: 40px;
    padding: 30px;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border-radius: 12px;
    border: 1px solid #28a745;
}

.success-animation {
    margin-bottom: 20px;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #28a745;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out;
}

@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.checkmark {
    width: 30px;
    height: 30px;
    position: relative;
}

.checkmark::after {
    content: '';
    position: absolute;
    left: 8px;
    top: 4px;
    width: 8px;
    height: 16px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
    animation: checkmarkDraw 0.3s ease-out 0.2s both;
}

@keyframes checkmarkDraw {
    0% {
        height: 0;
    }
    100% {
        height: 16px;
    }
}

.confirmation-header h3 {
    margin: 0 0 15px 0;
    color: #155724;
    font-size: 28px;
    font-weight: 700;
}

.confirmation-message {
    margin: 0;
    color: #155724;
    font-size: 16px;
    line-height: 1.5;
}

/* Booking Details Card */
.confirmation-details-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.card-header {
    padding: 25px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-header h4 {
    margin: 0;
    color: #333;
    font-size: 20px;
}

.booking-reference {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.reference-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.reference-number {
    font-size: 14px;
    color: #0073aa;
    font-weight: 700;
    font-family: monospace;
}

.card-content {
    padding: 25px;
}

.detail-section {
    margin-bottom: 30px;
}

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

.detail-section h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e0e0;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.detail-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.detail-value {
    font-size: 14px;
    color: #333;
    font-weight: 600;
    text-align: right;
}

/* Action Buttons */
.confirmation-actions {
    margin-bottom: 40px;
}

.primary-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 20px;
}

.secondary-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-add-to-calendar,
.btn-reschedule {
    background: #0073aa;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-add-to-calendar:hover,
.btn-reschedule:hover {
    background: #005a87;
    transform: translateY(-1px);
}

.btn-print-confirmation,
.btn-email-confirmation {
    background: white;
    color: #666;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-print-confirmation:hover,
.btn-email-confirmation:hover {
    border-color: #0073aa;
    color: #0073aa;
    transform: translateY(-1px);
}

.btn-icon {
    font-size: 16px;
}

/* Information Sections */
.confirmation-info {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    text-align: left;
}

.info-section {
    margin-bottom: 30px;
}

.info-section:last-child {
    margin-bottom: 0;
}

.info-section h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.info-list {
    margin: 0;
    padding-left: 20px;
    color: #666;
    line-height: 1.6;
}

.info-list li {
    margin-bottom: 8px;
    font-size: 14px;
}

.contact-info p {
    margin: 0 0 15px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #333;
}

.contact-icon {
    font-size: 16px;
}

.policy-text {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Calendar Export Modal */
.calendar-export-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

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

.modal-header h4 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

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

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

.modal-body {
    padding: 20px;
}

.modal-body p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.calendar-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.calendar-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.calendar-option:hover {
    border-color: #0073aa;
    background: #f0f8ff;
}

.calendar-icon {
    font-size: 20px;
}

.calendar-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

/* New Booking Section */
.new-booking-section {
    padding-top: 30px;
    border-top: 1px solid #e0e0e0;
}

.btn-new-booking {
    background: white;
    color: #0073aa;
    border: 2px solid #0073aa;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-new-booking:hover {
    background: #0073aa;
    color: white;
    transform: translateY(-1px);
}/* Respons
ive styles for confirmation page */
@media (max-width: 768px) {
    .booking-confirmation {
        margin: 0;
    }
    
    .confirmation-header {
        padding: 20px 15px;
        margin-bottom: 25px;
    }
    
    .checkmark-circle {
        width: 60px;
        height: 60px;
        margin-bottom: 15px;
    }
    
    .checkmark::after {
        left: 6px;
        top: 3px;
        width: 6px;
        height: 12px;
        border-width: 0 2px 2px 0;
    }
    
    .confirmation-header h3 {
        font-size: 24px;
    }
    
    .confirmation-message {
        font-size: 14px;
    }
    
    .confirmation-details-card {
        margin-bottom: 25px;
    }
    
    .card-header {
        padding: 20px 15px;
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .card-header h4 {
        font-size: 18px;
    }
    
    .booking-reference {
        align-self: stretch;
        justify-content: center;
    }
    
    .card-content {
        padding: 20px 15px;
    }
    
    .detail-section {
        margin-bottom: 25px;
    }
    
    .detail-section h5 {
        font-size: 15px;
    }
    
    .detail-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-value {
        text-align: left;
        font-weight: 500;
    }
    
    .primary-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .secondary-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-add-to-calendar,
    .btn-reschedule {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }
    
    .btn-print-confirmation,
    .btn-email-confirmation {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }
    
    .confirmation-info {
        padding: 20px 15px;
    }
    
    .info-section h5 {
        font-size: 15px;
    }
    
    .info-list li {
        font-size: 13px;
    }
    
    .contact-methods {
        gap: 8px;
    }
    
    .contact-method {
        font-size: 13px;
    }
    
    .policy-text {
        font-size: 13px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 15px;
    }
    
    .modal-body {
        padding: 15px;
    }
    
    .calendar-option {
        padding: 15px;
    }
    
    .new-booking-section {
        padding-top: 25px;
    }
    
    .btn-new-booking {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .confirmation-header {
        padding: 15px 10px;
        margin-bottom: 20px;
    }
    
    .checkmark-circle {
        width: 50px;
        height: 50px;
    }
    
    .checkmark::after {
        left: 5px;
        top: 2px;
        width: 5px;
        height: 10px;
    }
    
    .confirmation-header h3 {
        font-size: 20px;
    }
    
    .confirmation-message {
        font-size: 13px;
    }
    
    .card-header {
        padding: 15px 10px;
    }
    
    .card-header h4 {
        font-size: 16px;
    }
    
    .reference-label,
    .reference-number {
        font-size: 12px;
    }
    
    .card-content {
        padding: 15px 10px;
    }
    
    .detail-section h5 {
        font-size: 14px;
    }
    
    .detail-label,
    .detail-value {
        font-size: 13px;
    }
    
    .btn-add-to-calendar,
    .btn-reschedule {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .btn-print-confirmation,
    .btn-email-confirmation {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .confirmation-info {
        padding: 15px 10px;
    }
    
    .info-section h5 {
        font-size: 14px;
    }
    
    .info-list li {
        font-size: 12px;
    }
    
    .contact-method {
        font-size: 12px;
    }
    
    .policy-text {
        font-size: 12px;
    }
    
    .btn-new-booking {
        padding: 12px 16px;
        font-size: 14px;
    }
}

.hosted-checkout-message {
    padding: 15px;
    border: 1px dashed #b3d4ff;
    border-radius: 10px;
    background: #f0f7ff;
    color: #0f1d3b;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}
