/* IranNet WHMCS layout width + typography pass v1 */

html {
    font-size: 16px;
}

body {
    font-size: 15px;
    line-height: 1.78;
}

/* Previous IranNet CSS fixed the main client-area surfaces at 1240px.
   Expand conservatively while retaining breathing room. */
@media (min-width: 1200px) {
    #header.irn-header .container,
    .master-breadcrumb > .container,
    #main-body > .container,
    #footer.footer > .container {
        max-width: 1520px !important;
        width: calc(100% - 64px);
    }

    #main-body > .container-fluid {
        padding-inline: 32px !important;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    #header.irn-header .container,
    .master-breadcrumb > .container,
    #main-body > .container,
    #footer.footer > .container {
        max-width: none !important;
        width: calc(100% - 36px);
    }
}

@media (max-width: 767.98px) {
    #header.irn-header .container,
    .master-breadcrumb > .container,
    #main-body > .container,
    #footer.footer > .container {
        max-width: none !important;
        width: calc(100% - 20px);
    }
}

#main-body .primary-content,
#main-body .sidebar,
.master-breadcrumb,
#footer.footer {
    font-size: 0.94rem;
}

#main-body .form-control,
#main-body .custom-select,
#main-body .btn,
#main-body .table,
#main-body .list-group-item,
#main-body label,
#main-body p {
    font-size: 0.94rem;
}

#main-body small,
#main-body .small {
    font-size: 0.82rem;
}


/* IranNet pass 10 — no visual footer.
   footer.tpl itself remains loaded because WHMCS keeps structural closures,
   overlays, modals, generate-password and footeroutput there. */
#footer.footer {
    display: none !important;
}
