/* FLOATING BUTTON */

.floating-appointment-btn{
    position:fixed;
    right:25px;
    bottom:25px;
    z-index:9999;

    background:linear-gradient(135deg,#0d6efd,#0056d6);
    color:#fff;

    border:none;
    border-radius:50px;

    padding:16px 24px;

    font-size:15px;
    font-weight:600;

    display:flex;
    align-items:center;
    gap:10px;

    cursor:pointer;

    box-shadow:0 12px 35px rgba(13,110,253,0.35);

    transition:0.3s ease;
}

.floating-appointment-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 40px rgba(13,110,253,0.45);
}

/* MODAL */

.appointment-modal{
    position:fixed;
    inset:0;
    z-index:99999;

    display:none;
    align-items:center;
    justify-content:center;

    padding:30px;
}

.appointment-modal.active{
    display:flex;
}

.appointment-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.7);
    backdrop-filter:blur(4px);
}

.appointment-modal-content{
    position:relative;
    z-index:2;

    width:100%;
    max-width:950px;

    max-height:95vh;
    overflow-y:auto;

    background:#fff;

    border-radius:24px;

    padding:45px;

    box-shadow:0 30px 80px rgba(0,0,0,0.25);

    animation:modalFade 0.35s ease;
}

@keyframes modalFade{
    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }
}

/* CLOSE */

.appointment-close{
    position:absolute;
    top:18px;
    right:18px;

    width:42px;
    height:42px;

    border:none;
    border-radius:50%;

    background:#f1f5ff;
    color:#071b4a;

    font-size:18px;

    cursor:pointer;

    transition:0.25s ease;
}

.appointment-close:hover{
    background:#0d6efd;
    color:#fff;
}

/* HEADER */

.appointment-header{
    margin-bottom:35px;
}

.appointment-badge{
    display:inline-block;

    background:#eef4ff;
    color:#0d6efd;

    padding:8px 16px;

    border-radius:30px;

    font-size:13px;
    font-weight:600;

    margin-bottom:18px;
}

.appointment-header h2{
    font-size:40px;
    line-height:1.2;

    color:#071b4a;

    margin-bottom:12px;
}

.appointment-header p{
    color:#64748b;
    line-height:1.8;
}

/* FORM */

.appointment-form{
    width:100%;
}

.appointment-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;

    margin-bottom:22px;
}

.form-group{
    display:flex;
    flex-direction:column;
}

.form-group.full-width{
    grid-column:1/-1;
}

.form-group label{
    font-size:14px;
    font-weight:600;

    color:#071b4a;

    margin-bottom:10px;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;

    border:1px solid #dbe3f0;

    border-radius:14px;

    padding:15px 18px;

    font-size:15px;

    font-family:'Poppins',sans-serif;

    transition:0.25s ease;

    background:#fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    outline:none;

    border-color:#0d6efd;

    box-shadow:0 0 0 4px rgba(13,110,253,0.08);
}

/* FEES */

.consultation-fees-box{
    background:#f8fbff;

    border:1px solid #dce9ff;

    border-radius:18px;

    padding:22px 24px;

    margin-top:15px;
    margin-bottom:30px;
}

.fee-line{
    display:flex;
    align-items:center;
    justify-content:space-between;

    margin-bottom:8px;
}

.fee-line span{
    color:#071b4a;
    font-weight:600;
}

.fee-line strong{
    color:#0d6efd;
    font-size:28px;
}

.consultation-fees-box p,
.consultation-fees-box .fee-note{
    color:#64748b;
    font-size:14px;
    margin:0;
    line-height:1.5;
}

/* SUBMIT */

.appointment-submit-btn{
    width:100%;

    border:none;

    background:linear-gradient(135deg,#0d6efd,#0056d6);
    color:#fff;

    padding:18px;

    border-radius:16px;

    font-size:16px;
    font-weight:600;

    cursor:pointer;

    transition:0.3s ease;
}

.appointment-submit-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 15px 35px rgba(13,110,253,0.28);
}

/* MOBILE */

@media(max-width:768px){

    .appointment-modal{
        padding:15px;
    }

    .appointment-modal-content{
        padding:28px 20px;
    }

    .appointment-header h2{
        font-size:30px;
    }

    .appointment-grid{
        grid-template-columns:1fr;
        gap:18px;
    }

    .floating-appointment-btn{
        right:15px;
        bottom:15px;

        padding:14px 20px;

        font-size:14px;
    }

}