/* Booking Form Minimal & Integrated Styles */
.booking-container {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.9); /* Glassmorphism */
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 50px; /* Hap şeklinde (Pill shape) */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 10;
}

.booking-form {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
}

.form-group {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
    position: relative;
    border-bottom: 2px solid transparent; /* Hata durumu için yer tutucu */
    transition: border-color 0.3s;
}

/* Hata Durumu */
.form-group.error {
    border-bottom-color: #ff4d4d;
    animation: shake 0.4s ease-in-out;
}

.form-group.error .icon {
    color: #ff4d4d;
}

.form-group.error input::placeholder {
    color: #ff4d4d;
    opacity: 0.7;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group .icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    opacity: 0.8;
    transition: color 0.3s;
}

.form-group input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--text-main);
    font-weight: 500;
    outline: none;
    padding: 10px 0;
    font-family: 'Montserrat', sans-serif;
}

.form-group input::placeholder {
    color: #666;
    font-weight: 400;
    transition: color 0.3s;
}

/* Divider */
.form-divider {
    width: 1px;
    height: 30px;
    background-color: #ddd;
}

/* Submit Button */
.btn-booking {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(15, 125, 92, 0.3);
    flex-shrink: 0; /* Küçülmesini engelle */
}

.btn-booking:hover {
    background-color: #0b5c43;
    transform: scale(1.1);
}

.btn-booking i {
    font-size: 1.2rem;
}

/* Datetime Input Styling */
input[type="datetime-local"] {
    color: #666;
    cursor: pointer;
}

/* Tarayıcının varsayılan takvim ikonunu gizle */
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
    display: none;
    -webkit-appearance: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .booking-container {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        width: 100%;
        max-width: 100%;
        margin-top: 0; /* Negatif marjini kaldırdık */
        border-radius: 0; /* Köşeleri düzleştirdik */
        padding: 2rem;
        background: #ffffff;
    }
    
    .booking-form {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .form-divider {
        display: none;
    }
    
    .form-group {
        width: 100%;
        border-bottom: 1px solid #eee;
        padding-bottom: 5px;
    }

    .form-group.error {
        border-bottom-color: #ff4d4d; /* Mobilde de kırmızı çizgi */
    }
    
    .btn-booking {
        width: 100%;
        height: 50px;
        border-radius: 10px; /* Mobilde tam buton */
    }
}
