/* Hostinger + XAMPP final frontend alignment fix. Load this file AFTER style.css. */

/* Doctor profile time slot center alignment */
#doctors .dynamic-doctor-card,
#doctors .dynamic-doctor-card .card-body,
#doctors .doctor-slots,
#doctors .doctor-slots *{
    text-align:center !important;
}
#doctors .doctor-slots{
    width:100% !important;
    margin-left:auto !important;
    margin-right:auto !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
}
#doctors .doctor-slot-item{
    width:100% !important;
    max-width:260px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    gap:.15rem !important;
    text-align:center !important;
}
#doctors .doctor-slot-item span,
#doctors .doctor-slot-item strong{
    width:100% !important;
    display:block !important;
    text-align:center !important;
}

/* Footer copyright and developed-by center alignment */
.footer .footer-bottom-center,
.footer .footer-bottom-left,
.footer .footer-bottom-center div,
.footer .footer-bottom-left div{
    width:100% !important;
    display:block !important;
    text-align:center !important;
    margin-left:auto !important;
    margin-right:auto !important;
}
.footer hr + div{
    text-align:center !important;
    width:100% !important;
}

/* Branches & Map eye-friendly spacing */
#branches.branches-section,
.branches-section{
    padding-top:80px !important;
    padding-bottom:80px !important;
}
#branches .container-fluid{
    max-width:1320px !important;
    margin-left:auto !important;
    margin-right:auto !important;
    padding-left:24px !important;
    padding-right:24px !important;
}
#branches .branch-wide-card{
    border-radius:26px !important;
    overflow:hidden !important;
    box-shadow:0 18px 55px rgba(15,23,42,.10) !important;
}
#branches .branch-info-panel{
    padding:44px !important;
}
#branches .branch-map-full,
#branches .branch-map-full iframe{
    min-height:430px !important;
}

/* Branch logo safe fixed size for high-resolution uploads */
.branch-logo,
#branches .branch-logo,
.footer .branch-logo,
.topbar .branch-logo,
.navbar .branch-logo{
    width:96px !important;
    height:64px !important;
    max-width:96px !important;
    max-height:64px !important;
    min-width:96px !important;
    object-fit:contain !important;
    object-position:center !important;
    background:#ffffff !important;
    border:1px solid #e2e8f0 !important;
    border-radius:14px !important;
    padding:7px !important;
    box-shadow:0 8px 22px rgba(15,23,42,.08) !important;
}

@media(max-width:991px){
    #branches.branches-section,
    .branches-section{
        padding-top:56px !important;
        padding-bottom:56px !important;
    }
    #branches .branch-info-panel{
        padding:32px 22px !important;
        text-align:center !important;
        align-items:center !important;
    }
    #branches .branch-info-panel .d-flex{
        flex-direction:column !important;
        text-align:center !important;
        align-items:center !important;
    }
    #branches .branch-map-full,
    #branches .branch-map-full iframe{
        min-height:320px !important;
    }
}
