/**
 * Hayleigh Transport Ltd - Distance Billing Application
 * Main Stylesheet
 */

/* ==================== Global Styles ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #000000;
    --primary-hover: #1a1a1a;
    --secondary-color: #4a4a4a;
    --secondary-hover: #2a2a2a;
    --danger-color: #dc2626;
    --danger-hover: #b91c1c;
    --success-color: #16a34a;
    --background: #fafafa;
    --surface: #ffffff;
    --border: #e0e0e0;
    --text-primary: #000000;
    --text-secondary: #666666;
    --accent: #333333;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.15);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.2);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.25);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

/* ==================== Container & Layout ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ==================== Header ==================== */
.header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #000000 0%, #2a2a2a 100%);
    color: white;
    border-radius: 16px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-xl);
    border: 2px solid #000000;
}

.logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    background: white;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* ==================== Main Content ==================== */
.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.quote-form-container {
    background: var(--surface);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 700px;
    border: 3px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.quote-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000000, #4a4a4a, #000000);
}

.quote-form-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #000000, #4a4a4a, #000000);
}

.quote-form-container h2 {
    font-size: 1.875rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

/* ==================== Forms ==================== */
.quote-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

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

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="password"] {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--surface);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group input::placeholder {
    color: var(--text-secondary);
    opacity: 0.6;
}

/* Select Dropdown Styling */
.form-group select {
    padding: 16px 48px 16px 20px;
    border: 2px solid var(--border);
    border-radius: 10px;
    font-size: 1.15rem;
    font-weight: 600;
    transition: all 0.2s;
    background: var(--surface);
    color: var(--text-primary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
}

.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.form-group select:hover {
    border-color: var(--secondary-color);
    background-color: #fafafa;
}

.form-group select option {
    padding: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.form-group select option:first-child {
    color: var(--text-secondary);
}

/* Google Places Autocomplete Element Styling */
gmp-place-autocomplete {
    width: 100% !important;
    display: block;
}

gmp-place-autocomplete::part(input) {
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--surface);
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

gmp-place-autocomplete::part(input):focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

gmp-place-autocomplete::part(predictions) {
    border: 2px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    margin-top: 4px;
}

gmp-place-autocomplete::part(prediction-item) {
    padding: 12px 16px;
    font-size: 0.95rem;
}

gmp-place-autocomplete::part(prediction-item):hover {
    background: var(--background);
}

/* ==================== Waypoints ==================== */
.waypoints-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.waypoint-group {
    animation: slideIn 0.3s ease-out;
}

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

.waypoint-input-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.waypoint-input {
    flex: 1;
}

.btn-remove-waypoint {
    background: var(--danger-color);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.btn-remove-waypoint:hover {
    background: var(--danger-hover);
    transform: scale(1.05);
}

.add-waypoint-container {
    display: flex;
    justify-content: center;
}

/* ==================== Buttons ==================== */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: var(--danger-hover);
}

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

.btn-icon {
    font-size: 1.2rem;
    line-height: 1;
}

.form-actions {
    margin-top: 10px;
}

.form-actions .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 1.1rem;
}

/* ==================== Loading Indicator ==================== */
.loading-indicator {
    text-align: center;
    padding: 40px;
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid var(--border);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-indicator p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* ==================== Results ==================== */
.results-container {
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.results-container h3 {
    font-size: 1.75rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    font-weight: 700;
}

/* Route Addresses Display */
.route-addresses {
    background: var(--background);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    border: 2px solid var(--border);
}

/* Map Container */
.map-container {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 3px solid var(--primary-color);
}

#map {
    width: 100%;
    height: 400px;
    background: #f5f5f5;
}

.route-addresses h4 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 600;
}

.address-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    margin-bottom: 8px;
    background: var(--surface);
    border-radius: 8px;
    border-left: 3px solid var(--secondary-color);
    transition: transform 0.2s;
}

.address-item:hover {
    transform: translateX(3px);
}

.address-item:last-child {
    margin-bottom: 0;
}

.address-item.waypoint {
    border-left-color: #666666;
}

.address-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.address-icon.start {
    filter: hue-rotate(90deg);
}

.address-icon.end {
    filter: hue-rotate(180deg);
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.address-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-value {
    font-size: 0.95rem;
    color: var(--text-primary);
    word-wrap: break-word;
    line-height: 1.4;
}

.results-content {
    background: var(--background);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
}

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

.result-item.total-price {
    font-size: 1.3rem;
    font-weight: 700;
    padding-top: 20px;
    color: var(--primary-color);
    background: #f5f5f5;
    padding: 20px;
    margin: 20px -10px -10px -10px;
    border-radius: 0 0 8px 8px;
}

.result-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.result-value {
    font-weight: 700;
    font-size: 1.2rem;
}

.estimate-note {
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 12px 16px;
    margin: 20px 0;
    color: #856404;
    font-size: 0.95rem;
    line-height: 1.5;
}

.estimate-note strong {
    color: #856404;
}

/* Quote Actions */
.quote-actions {
    display: flex;
    gap: 12px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.quote-actions .btn {
    flex: 1;
    min-width: 150px;
}

/* Print-only elements (hidden on screen) */
.print-only {
    display: none;
}

/* ==================== Error Container ==================== */
.error-container {
    text-align: center;
    padding: 30px;
    background: #fee;
    border: 2px solid #fcc;
    border-radius: 12px;
    animation: fadeIn 0.3s ease-out;
}

.error-message {
    color: var(--danger-color);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

/* ==================== Footer ==================== */
.footer {
    text-align: center;
    padding: 30px 20px;
    margin-top: 40px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer p {
    margin: 5px 0;
}

.admin-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.admin-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ==================== Admin Styles ==================== */
.admin-page {
    background: var(--background);
}

.admin-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Admin Header */
.admin-header {
    background: var(--surface);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.admin-header-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-small {
    max-width: 80px;
    height: auto;
    border-radius: 8px;
}

.admin-header-text h1 {
    font-size: 1.75rem;
    margin-bottom: 5px;
}

.admin-header-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.admin-header-actions {
    display: flex;
    gap: 12px;
}

/* Admin Main */
.admin-main {
    background: var(--surface);
    border-radius: 12px;
    padding: 40px;
    box-shadow: var(--shadow-md);
}

/* Settings Container */
.settings-container h2 {
    font-size: 1.875rem;
    margin-bottom: 10px;
}

.settings-description {
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.settings-form {
    max-width: 500px;
}

.field-description {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 4px;
}

.settings-message {
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    margin: 20px 0;
}

.settings-message.success {
    background: #dcfce7;
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.settings-message.error {
    background: #fee2e2;
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

/* Pricing Preview */
.pricing-preview {
    margin-top: 40px;
    padding: 24px;
    background: var(--background);
    border-radius: 12px;
    border: 2px solid var(--border);
}

.pricing-preview h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.preview-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.preview-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: var(--surface);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.preview-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.preview-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-color);
    background: #f5f5f5;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Login Box */
.login-box {
    max-width: 450px;
    margin: 100px auto;
    background: var(--surface);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--shadow-xl);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2 {
    font-size: 1.875rem;
    margin: 20px 0 10px;
}

.login-header p {
    color: var(--text-secondary);
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.login-footer {
    text-align: center;
    margin-top: 24px;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--primary-color);
}

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .header h1 {
        font-size: 1.875rem;
    }
    
    .tagline {
        font-size: 1rem;
    }
    
    .logo {
        max-width: 150px;
    }
    
    .quote-form-container {
        padding: 24px;
    }
    
    .quote-form-container h2 {
        font-size: 1.5rem;
    }
    
    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .admin-header-actions {
        width: 100%;
    }
    
    .admin-header-actions .btn {
        flex: 1;
    }
    
    .admin-main {
        padding: 24px;
    }
    
    .preview-examples {
        grid-template-columns: 1fr 1fr;
    }
    
    .login-box {
        margin: 40px auto;
        padding: 30px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 30px 15px;
        margin-bottom: 20px;
    }
    
    .quote-form-container {
        padding: 20px;
    }
    
    .waypoint-input-container {
        flex-direction: column;
    }
    
    .btn-remove-waypoint {
        width: 100%;
    }
    
    .result-item {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .route-addresses {
        padding: 15px;
    }
    
    .address-item {
        padding: 10px;
        gap: 10px;
    }
    
    .address-icon {
        font-size: 1.3rem;
    }
    
    .address-value {
        font-size: 0.9rem;
    }
    
    #map {
        height: 300px;
    }
}

/* ==================== Accessibility ==================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
*:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    /* Hide unnecessary elements */
    .header,
    .footer,
    .add-waypoint-container,
    .form-actions,
    .admin-header-actions,
    .quote-actions,
    .estimate-note,
    .map-container {
        display: none !important;
    }
    
    /* General print layout */
    @page {
        margin: 1.5cm;
        size: A4;
    }
    
    body {
        background: white !important;
        color: black !important;
        font-size: 11pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: 100%;
        margin: 0;
        padding: 0;
    }
    
    .quote-form-container {
        box-shadow: none !important;
        border: 2px solid #000 !important;
        border-radius: 0 !important;
        padding: 20px !important;
        max-width: 100%;
    }
    
    /* Print header */
    .quote-form-container::before,
    .quote-form-container::after {
        display: none !important;
    }
    
    .results-container h3 {
        font-size: 20pt;
        margin-bottom: 15px;
        color: #000 !important;
        border-bottom: 2px solid #000;
        padding-bottom: 10px;
    }
    
    /* Show print-only elements */
    .print-only {
        display: block !important;
    }
    
    .quote-date {
        font-size: 10pt;
        color: #666 !important;
        margin-bottom: 15px;
        font-style: italic;
    }
    
    /* Route addresses in print */
    .route-addresses {
        border: 1px solid #000 !important;
        background: white !important;
        page-break-inside: avoid;
        margin-bottom: 15px;
    }
    
    .route-addresses h4 {
        font-size: 14pt;
        color: #000 !important;
        margin-bottom: 10px;
    }
    
    .address-item {
        border-left: 3px solid #000 !important;
        background: white !important;
        page-break-inside: avoid;
        margin-bottom: 8px;
        padding: 10px;
    }
    
    .address-item.waypoint {
        border-left-color: #666 !important;
    }
    
    .address-label {
        font-size: 9pt;
        color: #666 !important;
    }
    
    .address-value {
        font-size: 11pt;
        color: #000 !important;
    }
    
    /* Results content in print */
    .results-content {
        border: 1px solid #000 !important;
        background: white !important;
        page-break-inside: avoid;
        margin-bottom: 15px;
    }
    
    .result-item {
        border-bottom: 1px solid #ccc !important;
        padding: 12px 0 !important;
        page-break-inside: avoid;
    }
    
    .result-item.total-price {
        background: #f0f0f0 !important;
        border: 2px solid #000 !important;
        padding: 15px !important;
        margin: 10px 0 0 0 !important;
        border-radius: 0 !important;
        font-size: 14pt !important;
    }
    
    .result-label {
        font-weight: bold;
        color: #000 !important;
    }
    
    .result-value {
        font-weight: bold;
        color: #000 !important;
    }
    
    /* Add company info to print */
    .results-container::after {
        content: "Hayleigh Transport Ltd - Professional Transport Services";
        display: block;
        text-align: center;
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid #000;
        font-size: 10pt;
        color: #666;
    }
}

/* Print-specific class for body */
body.printing {
    overflow: hidden;
}

/* ==================== Booking Form Styles ==================== */

/* Booking Prompt */
.booking-prompt {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 3px solid #dc2626;
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 0.3s ease-out, pulse 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2);
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(220, 38, 38, 0.2); }
    50% { box-shadow: 0 4px 25px rgba(220, 38, 38, 0.4); }
}

.booking-prompt-content h4 {
    font-size: 1.4rem;
    color: #b91c1c;
    margin-bottom: 10px;
    font-weight: 700;
}

.booking-prompt-content p {
    color: #991b1b;
    margin-bottom: 20px;
}

.booking-prompt-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.booking-prompt-actions .btn {
    min-width: 150px;
}

.booking-prompt-actions .btn-primary {
    background: #dc2626;
    border: none;
}

.booking-prompt-actions .btn-primary:hover:not(:disabled) {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
}

/* Booking Form Container */
.booking-form-container {
    margin-top: 30px;
    padding: 30px;
    background: var(--surface);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    animation: fadeIn 0.3s ease-out;
}

.booking-form-container h4 {
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.booking-form-description {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Form Row for side-by-side fields */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Booking form specific styling */
.booking-form .form-group {
    margin-bottom: 20px;
}

.booking-form input,
.booking-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s;
    background: var(--surface);
}

.booking-form input:focus,
.booking-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.booking-form textarea {
    resize: vertical;
    min-height: 80px;
}

.booking-form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.booking-form-actions .btn {
    flex: 1;
    min-width: 140px;
}

/* Booking Success */
.booking-success {
    margin-top: 30px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px solid var(--success-color);
    border-radius: 12px;
    text-align: center;
    animation: fadeIn 0.3s ease-out;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--success-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.booking-success h4 {
    font-size: 1.4rem;
    color: #166534;
    margin-bottom: 15px;
}

.booking-success p {
    color: #15803d;
    margin-bottom: 10px;
}

.booking-success .btn {
    margin-top: 20px;
}

/* Small spinner for button loading state */
.spinner-small {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}

/* Print styles for booking elements */
@media print {
    .booking-prompt,
    .booking-form-container,
    .booking-success {
        display: none !important;
    }
}

