/* --- Step 5: Interactive Modules — Component Styles --- */


/* --- Contact Form: MINIMAL --- */
.contact-form-minimal {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-form-minimal .input-group-refined {
    position: relative;
}

.contact-form-minimal input,
.contact-form-minimal textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; /* Lock padding inside width */
    padding: 15px 12px;
    background: var(--form-bg); 
    border: none;
    border-bottom: 2px solid rgba(0,0,0,10%);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
    outline: none;
    border-radius: var(--live-radius, 8px);
}

.contact-form-minimal input:focus, 
.contact-form-minimal textarea:focus {
    border-bottom-color: var(--live-primary);
}

/* --- Contact Form: CLASSIC --- */
.contact-form-classic {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 30px; /* Explicit horizontal gap */
    row-gap: 20px;
    width: 100%;
}

.contact-form-classic input,
.contact-form-classic textarea {
    width: 100%;
    max-width: 100%; /* Safety lock */
    box-sizing: border-box; /* Ensure padding stays inside width */
    padding: 14px 18px;
    background: var(--form-bg);
    border: 1px solid rgba(0,0,0,15%);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02); /* Inner depth */
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.3s;
    outline: none;
    border-radius: var(--live-radius, 8px);
}

.contact-form-classic input:focus, 
.contact-form-classic textarea:focus {
    background: white;
    border-color: var(--live-primary);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.contact-form-classic .full-width {
    grid-column: span 2;
}

/* --- Contact Form: FLOATING (Glassmorphism) --- */
.contact-form-floating {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-form-floating .glass-input {
    background: var(--form-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.4); /* Edge lighting */
    padding: 18px 24px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow:
        0 4px 15px rgba(0,0,0,62%),
        inset 0 0 0 1px rgba(255,255,255,0.2);
    border-radius: var(--live-radius, 8px);
}

.contact-form-floating .glass-input:hover {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
}

.contact-form-floating .glass-input:focus-within {
    background: white;
    transform: translateY(-4px);
    border-color: var(--live-primary);
    box-shadow: 
        0 20px 40px rgba(0,0,0,0.08),
        0 0 0 4px rgba(var(--live-primary-rgb, 60, 209, 170), 0.1);
}

.contact-form-floating input, 
.contact-form-floating textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box; /* Lock padding inside width */
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
    color: var(--live-text);
}

.contact-form-floating input::placeholder, 
.contact-form-floating textarea::placeholder {
    color: var(--live-text);
    opacity: 0.4;
}

/* --- Premium Buttons --- */
.btn-module-send {
    margin-top: 20px;
    padding: 16px 32px;
    border: none;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    background: var(--live-primary, #3cd1aa);
    border-radius: var(--live-radius, 8px);
}

.btn-module-send:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.btn-module-send i {
    font-size: 1.2rem;
    transition: transform 0.3s;
}

.btn-module-send:hover i {
    transform: translateX(-5px) rotate(-15deg);
}

/* --- Booking Calendar: MODERN --- */
.booking-calendar-modern {
    background: var(--form-bg);
    padding: 25px;
    border-radius: 20px;
}

.calendar-header-mock {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-weight: bold;
}

.booking-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day-item {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--form-bg);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
    border: 1px solid rgba(0,0,0,0.03);
}

.calendar-day-item:hover {
    border-color: var(--live-primary);
    color: var(--live-primary);
    transform: scale(1.1);
}

.calendar-day-item.active {
    background: var(--live-primary);
    color: white;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.calendar-day-item.disabled {
    opacity: 0.2;
    cursor: default;
}

/* Responsive Form Tweaks */
@media (max-width: 500px) {
    .contact-form-classic {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .booking-calendar-grid {
        gap: 5px;
    }

    .calendar-day-item {
        font-size: 0.75rem;
        min-width: 0;
    }

    .booking-calendar-modern {
        padding: 15px;
    }
}
