/* Main booking form styles */
.fbw-booking-form {
    max-width: 400px;
    margin: 20px auto;
    padding: 30px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

.fbw-form-header {
    text-align: center;
    margin-bottom: 25px;
}

.fbw-form-header h3 {
    color: #2c3e50;
    font-size: 22px;
    margin: 0 0 15px 0;
    font-weight: 600;
}

/* Page title styling */
.fbw-page-title {
    background: #f0f7ff;
    border-left: 4px solid #25D366;
    padding: 10px 15px;
    margin: 15px 0 0 0;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #2c3e50;
}

.fbw-page-title-icon {
    font-size: 16px;
}

.fbw-page-title-text {
    font-weight: 500;
}

.fbw-form-group {
    margin-bottom: 15px;
}

.fbw-form-group input[type="text"],
.fbw-form-group input[type="tel"],
.fbw-form-group input[type="email"],
.fbw-form-group input[type="date"] {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid #e0e6ed;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f8fafc;
    color: #333;
}

.fbw-form-group input::placeholder {
    color: #7f8c8d;
    opacity: 1;
}

.fbw-form-group input:focus {
    outline: none;
    border-color: #25D366;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
}

.fbw-book-now-btn {
    width: 100%;
    padding: 16px;
    background: #25D366;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.fbw-book-now-btn:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.fbw-book-now-btn:active {
    transform: translateY(0);
}

.fbw-book-now-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.fbw-form-notice {
    font-size: 12px;
    color: #7f8c8d;
    margin: 5px 0 0 0;
    font-style: italic;
    text-align: center;
}

#fbwFormMessage {
    margin-top: 15px;
    animation: fadeIn 0.3s ease;
}

.fbw-message {
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    margin: 0;
}

.fbw-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.fbw-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.fbw-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* Loading state */
.fbw-book-now-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.fbw-book-now-btn.loading::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: fbw-spin 1s linear infinite;
}

@keyframes fbw-spin {
    to { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Date picker styling */
input[type="date"] {
    position: relative;
    color: #333;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: auto;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
}

/* Responsive design */
@media (max-width: 768px) {
    .fbw-booking-form {
        padding: 20px;
        margin: 10px;
    }
    
    .fbw-form-header h3 {
        font-size: 20px;
    }
    
    .fbw-book-now-btn {
        padding: 14px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .fbw-booking-form {
        padding: 15px;
    }
    
    .fbw-form-header h3 {
        font-size: 18px;
    }
    
    .fbw-page-title {
        font-size: 13px;
        padding: 8px 12px;
    }
}