/* Booking Flow Styles */
.booking-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: #fff;
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

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

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.375rem;
    transition: border-color 0.15s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #C5AC8E;
    box-shadow: 0 0 0 2px rgba(197, 172, 142, 0.2);
}

.form-control.error,
.border-red-500 {
    border-color: #EF4444 !important;
}

.summary-section {
    background: #F9FAFB;
    padding: 1.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 1rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-label {
    color: #6B7280;
}

.summary-value {
    font-weight: 500;
    color: #1F2937;
}

.total-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: #C5AC8E;
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: #C5AC8E;
    color: white;
    border: none;
    border-radius: 0.375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.15s ease-in-out;
}

.btn-submit:hover {
    background: #B69B7D;
}

.btn-submit:disabled {
    background: #E5E7EB;
    cursor: not-allowed;
}

/* Toast Messages */
.toast-container {
    position: fixed;
    top: 120px; /* Posizionato sotto la navbar */
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    width: 90%;
    max-width: 500px;
    pointer-events: none;
}

.toast {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    pointer-events: auto;
    animation: slideInFromTop 0.3s ease-out;
    border-left: 4px solid;
}

.toast.error {
    border-left-color: #EF4444;
    background: #FEF2F2;
}

.toast.success {
    border-left-color: #10B981;
    background: #F0FDF4;
}

.toast i {
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.toast.error i {
    color: #EF4444;
}

.toast.success i {
    color: #10B981;
}

.toast-message {
    flex: 1;
    color: #1F2937;
    font-weight: 500;
}

.toast button {
    margin-left: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6B7280;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.toast button:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #1F2937;
}

@keyframes slideInFromTop {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutToTop {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(-100%);
        opacity: 0;
    }
}

/* Date Picker Customization */
.flatpickr-calendar {
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.flatpickr-day.selected {
    background: #C5AC8E !important;
    border-color: #C5AC8E !important;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .booking-form {
        padding: 1rem;
    }

    .summary-section {
        padding: 1rem;
    }
} 