/* Appointment Page Styles */

.appointment-header {
    background: linear-gradient(rgba(15, 23, 42, 0.8), rgba(15, 23, 42, 0.8)), url('../images/appointment-bg.png');
    background-size: cover;
    background-position: center;
    padding: 140px 0 80px;
}

.appointment-header p {
    max-width: 600px;
}

.appointment-section {
    background: var(--slate-50);
    padding: 80px 0 120px;
    margin-top: -50px;
}

.appointment-form-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--slate-100);
}

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

.form-label-custom {
    display: block;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--slate-900);
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
}

.form-control-custom,
.form-select-custom {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--slate-50);
    border: 2px solid var(--slate-100);
    border-radius: 1rem;
    color: var(--slate-900);
    font-weight: 500;
    transition: var(--transition);
    outline: none;
}

.form-control-custom:focus,
.form-select-custom:focus {
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.1);
}

.form-control-custom::placeholder {
    color: var(--slate-400);
}

.btn-whatsapp-submit {
    background: #25d366;
    color: var(--white);
    border: none;
    padding: 1.25rem 3.5rem;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-submit:hover {
    background: #128c7e;
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    color: var(--white);
}

@media (max-width: 768px) {
    .appointment-form-card {
        padding: 2.5rem 1.5rem;
        border-radius: 2rem;
    }
    .appointment-header h1 {
        font-size: 2.5rem;
    }
}

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

.fade-in-custom {
    animation: fadeInField 0.25s ease-out forwards;
}

/* Phone input with fixed prefix styling */
.phone-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.phone-prefix {
    position: absolute;
    left: 1.5rem;
    font-weight: 700;
    color: var(--slate-500);
    font-family: 'Outfit', sans-serif;
    pointer-events: none;
    -webkit-user-select: none;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.phone-prefix::after {
    content: "";
    display: inline-block;
    width: 1px;
    height: 1.2rem;
    background: var(--slate-300);
}

.phone-input-field {
    padding-left: 3.8rem !important;
}

.dynamic-hidden {
    display: none;
}
