/**

 * AIServices typography — restores 16px base and aligns legacy Qixer markup

 * with Repio. Loaded after style.css and root-style (see head partials).

 */



/* Repio rem scale expects 16px root; legacy style.css used to force 14px body / 13px p */

html {

    font-size: 100%;

}



/* Repio shell: undo legacy style.css 14px body (Repio rem scale expects 16px) */

body.repio-theme-active,

body.repio-theme-active #scrollSmoother-container {

    font-size: var(--ais-text-base, 1rem);

    line-height: var(--ais-line-height-body, 1.5);

}



body.repio-theme-active p:not([class*="tw-text-"]),

body.repio-theme-active #scrollSmoother-container p:not([class*="tw-text-"]),

body.repio-theme-active .alert,

body.repio-theme-active .alert p {

    font-size: var(--ais-text-base, 1rem);

    line-height: var(--ais-line-height-body, 1.5);

}



/* Legacy theme without Repio */

body.__aiservices:not(.repio-theme-active) {

    font-size: var(--ais-text-base, 1rem);

    line-height: var(--ais-line-height-body, 1.5);

}



body.__aiservices:not(.repio-theme-active) p:not([class*="tw-text-"]) {

    font-size: var(--ais-text-base, 1rem);

    line-height: var(--ais-line-height-body, 1.5);

}



/* Wrapped legacy pages + auth */

.repio-legacy-content,

.repio-legacy-content .signup-area,

.repio-legacy-content .repio-auth-page,

body.__aiservices .signup-area {

    font-size: var(--ais-text-base, 1rem);

}



.repio-legacy-content .signup-forms .single-signup .signup-label,

body.__aiservices .signup-forms .single-signup .signup-label {

    font-size: var(--ais-text-base, 1rem);

    line-height: var(--ais-line-height-body, 1.5);

}



.repio-legacy-content .signup-forms .single-signup .form--control,

.repio-legacy-content .signup-forms input:not([type="checkbox"]):not([type="radio"]),

.repio-legacy-content .signup-forms select,

.repio-legacy-content .signup-forms textarea,

body.__aiservices .signup-forms .single-signup .form--control,

body.__aiservices .signup-forms input:not([type="checkbox"]):not([type="radio"]),

body.__aiservices .signup-forms select,

body.__aiservices .signup-forms textarea {

    font-size: var(--ais-text-base, 1rem);

    line-height: var(--ais-line-height-body, 1.5);

}



.repio-legacy-content .signup-forms button[type="submit"],

body.__aiservices .signup-forms button[type="submit"] {

    font-size: var(--ais-text-lg, 1.125rem);

}



.repio-legacy-content .signup-checkbox .checkbox-inlines .checkbox-label,

.repio-legacy-content .signup-checkbox .forgot-btn .forgot-pass,

.repio-legacy-content .signup-forms .bottom-register,

.repio-legacy-content .signup-forms .bottom-register .resgister-link,

body.__aiservices .signup-checkbox .checkbox-inlines .checkbox-label,

body.__aiservices .signup-checkbox .forgot-btn .forgot-pass,

body.__aiservices .signup-forms .bottom-register,

body.__aiservices .signup-forms .bottom-register .resgister-link {

    font-size: var(--ais-text-base, 1rem);

}



.repio-legacy-content .text-success,

.repio-legacy-content .text-success a,

.repio-legacy-content .text-success strong,

body.__aiservices .signup-area .text-success,

body.__aiservices .signup-area .text-success a,

body.__aiservices .signup-area .text-success strong {

    font-size: var(--ais-text-base, 1rem);

}



.repio-legacy-content .error-message .alert,

.repio-legacy-content .signup-contents > .alert,

body.__aiservices .error-message .alert,

body.__aiservices .signup-contents > .alert {

    font-size: var(--ais-text-base, 1rem);

    line-height: var(--ais-line-height-body, 1.5);

}



.repio-legacy-content .error-message .alert p,

body.__aiservices .error-message .alert p {

    font-size: inherit;

    margin-bottom: 0.25em;

}



.repio-legacy-content .social-login-wrapper .sin-in-with .sign-in-btn,

body.__aiservices .social-login-wrapper .sin-in-with .sign-in-btn {

    font-size: var(--ais-text-base, 1rem);

}



.repio-legacy-content .social-login-wrapper .bar-wrap .or,

body.__aiservices .social-login-wrapper .bar-wrap .or {

    font-size: var(--ais-text-sm, 0.875rem);

}



.repio-legacy-content .adminlogin-info table th,

.repio-legacy-content .adminlogin-info table td,

body.__aiservices .adminlogin-info table th,

body.__aiservices .adminlogin-info table td {

    font-size: var(--ais-text-base, 1rem);

}



/* Registration multi-step form (legacy markup inside Repio) */

.repio-legacy-content .repio-register-page,

.repio-legacy-content .repio-register-page .single-forms .forms-label,

.repio-legacy-content .repio-register-page .info-service .forms-label {

    font-size: var(--ais-text-base, 1rem);

}



.repio-legacy-content .repio-register-page .single-forms .form--control,

.repio-legacy-content .repio-register-page .info-service select,

.repio-legacy-content .repio-register-page .info-service .nice-select,

.repio-legacy-content .repio-register-page #phone,

.repio-legacy-content .repio-register-page .iti input {

    font-size: var(--ais-text-base, 1rem) !important;

    line-height: var(--ais-line-height-body, 1.5) !important;

}



.repio-legacy-content .repio-register-page .single-tabs-registration .contents .title,

.repio-legacy-content .repio-register-page .repio-register-card__subtitle,

.repio-legacy-content .repio-register-page .condition-info .checkbox-label {

    font-size: var(--ais-text-lg, 1.125rem);

    line-height: var(--ais-line-height-body, 1.5);

}



.repio-legacy-content .repio-register-page .repio-register-card__title,

.repio-legacy-content .repio-register-page .repio-register-step-title,

.repio-legacy-content .repio-register-page .information-all .register-title {

    font-size: clamp(1.25rem, 2.5vw, 1.5rem);

    line-height: var(--ais-line-height-tight, 1.35);

}



.repio-legacy-content .repio-register-page .msform .action-button,

.repio-legacy-content .repio-register-page .msform .action-button-previous {

    font-size: var(--ais-text-lg, 1.125rem);

}



/* Homepage "Let's Connect" consultation form (contact-eleven) */

body.repio-theme-active .contact-eleven-area .contact-two-form label {

    font-size: var(--ais-text-lg, 1.125rem);

    line-height: var(--ais-line-height-tight, 1.35);

}



body.repio-theme-active .contact-eleven-area .contact-two-form .form-control,

body.repio-theme-active .contact-eleven-area .contact-two-form .form-control::placeholder,

body.repio-theme-active .contact-eleven-area .contact-two-form .nice-select,

body.repio-theme-active .contact-eleven-area .contact-two-form .nice-select .current,

body.repio-theme-active .contact-eleven-area .contact-two-form .nice-select .list .option {

    font-size: var(--ais-text-lg, 1.125rem) !important;

    line-height: var(--ais-line-height-body, 1.5) !important;

}


