/* Backend readability scale. Presentation only; native grids, colors and handlers remain intact.
   Keep dashboard typography distinct from the larger consumer product-page scale. */
.admin-content-wrapper-outer {
    --skyone-backoffice-body-size: 15px;
    --skyone-backoffice-table-size: 14px;
    --skyone-backoffice-helper-size: 13px;
}

.admin-content-wrapper-outer .content-wrap {
    font-family: Arial, Helvetica, sans-serif;
    font-size: var(--skyone-backoffice-body-size);
    line-height: 1.5;
}

.admin-content-wrapper-outer .admin-content-heading__title {
    font-size: 28px;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -.02em;
}

.nav__actions .title__heading {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

.admin-content-wrapper-outer .content-wrap :is(.subheader, .subheader__title) {
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

.admin-content-wrapper-outer .content-wrap :is(#onepay-withdrawal-totals, #onepay-order-balances, #onepay-payout-history) {
    margin-block: 22px 14px;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

.admin-content-wrapper-outer .control-group > .control-label {
    font-size: 15px;
    line-height: 1.45;
    font-weight: 600;
}

/* Font size only: fixed-width append buttons, category pickers and native label offsets
   must not inherit an unrelated storefront control-height or width rule. */
.admin-content-wrapper-outer .form-edit .controls :is(input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="tel"], select, textarea),
.admin-content-wrapper-outer .form-edit .controls .select2-selection__rendered {
    font-size: 15px;
}

.admin-content-wrapper-outer .form-edit .controls textarea:not(.cm-wysiwyg) {
    line-height: 1.5;
}

.admin-content-wrapper-outer .controls > :is(p.description, p.muted, .help-block, .help-inline),
.admin-content-wrapper-outer .content-wrap .muted.description {
    font-size: var(--skyone-backoffice-helper-size);
    line-height: 1.5;
}

.admin-content-wrapper-outer .content-wrap .table {
    font-size: var(--skyone-backoffice-table-size);
    line-height: 1.5;
}

.admin-content-wrapper-outer .content-wrap .table > thead > tr > th {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
}

.admin-content-wrapper-outer .content-wrap .table > tbody > tr > td {
    font-size: 14px;
    line-height: 1.5;
}

/* Compact inline edits and per-order withdrawal forms remain usable in narrow columns. */
.admin-content-wrapper-outer .content-wrap .table :is(input[type="text"], input[type="number"], select, .btn) {
    font-size: 14px;
}

.admin-content-wrapper-outer .content-wrap .table :is(.muted, small) {
    font-size: 13px;
    line-height: 1.45;
}

.admin-content-wrapper-outer .content-wrap .table :is(.right, .price),
.admin-content-wrapper-outer .content-wrap :is([data-withdrawal-fee], [data-withdrawal-net]) {
    font-variant-numeric: tabular-nums;
}

.admin-content-wrapper-outer .content-wrap .tabs :is(a, .tabs__link),
.admin-content-wrapper-outer .content-wrap .nav-tabs > li > a {
    font-size: 14px;
    line-height: 1.45;
}

.admin-content-wrapper-outer .content-wrap .btn,
.nav__actions :is(.nav__actions-btn-primary, .nav__actions-btn-save) {
    font-size: 14px;
    line-height: 20px;
}

.admin-content-wrapper-outer .content-wrap .no-items {
    font-size: 15px;
    line-height: 1.5;
}

.admin-content-wrapper-outer section[aria-labelledby="onepay-withdrawal-totals"] .row-fluid > div > strong {
    font-size: 14px;
    line-height: 1.45;
}

.admin-content-wrapper-outer section[aria-labelledby="onepay-withdrawal-totals"] .row-fluid > div > p {
    margin-top: 7px;
    font-size: 23px;
    line-height: 1.3;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* Preserve the approved wallet-card dimensions, headings and state treatment.
   Only its smallest supporting line receives the common helper-text minimum. */
.admin-content-wrapper-outer .sky-wallet-verification .sky-wallet-footer p {
    font-size: 13px;
    line-height: 1.6;
}

/* Authentication stays dark with its existing centered logo and title layout. */
.skyone-backoffice-auth .signin-modal .signin-modal__form-label {
    font-size: 15px;
    line-height: 1.45;
}

.skyone-backoffice-auth .signin-modal .signin-modal__form-field {
    font-size: 16px;
}

.skyone-backoffice-auth .signin-modal a,
.skyone-backoffice-auth__registration a {
    font-size: 14px;
    line-height: 1.5;
}

body.vendor-area .skyone-backoffice-auth .signin-modal a,
body.vendor-area .skyone-backoffice-auth__registration a {
    font-size: 16px;
}

/* No notification selectors: approved Vendor toasts remain 13px body / 14px title,
   and native icon-font classes retain their own font family and size. */
@media (max-width: 767px) {
    .admin-content-wrapper-outer .admin-content-heading__title {
        font-size: 24px;
        line-height: 1.3;
    }

    .nav__actions .title__heading {
        font-size: 18px;
    }

    .admin-content-wrapper-outer .content-wrap :is(.subheader, .subheader__title, #onepay-withdrawal-totals, #onepay-order-balances, #onepay-payout-history) {
        font-size: 18px;
        line-height: 1.4;
    }

    .admin-content-wrapper-outer .form-edit .controls :is(input[type="text"], input[type="email"], input[type="password"], input[type="number"], input[type="search"], input[type="url"], input[type="tel"], select, textarea) {
        font-size: 16px;
    }

    .admin-content-wrapper-outer .content-wrap .table :is(input[type="text"], input[type="number"], select) {
        font-size: 16px;
    }

    .admin-content-wrapper-outer .sky-wallet-verification .sky-wallet-header p {
        font-size: 14px;
    }

    .admin-content-wrapper-outer .sky-wallet-verification .sky-wallet-address code {
        font-size: 13px;
    }
}
