@import url('/style/salaricoin/css/fontiran.css');

:root {
    --ap-bg-dark: #051327;
    --ap-bg-deep: #091d36;
    --ap-bg-soft: #f4f6fb;
    --ap-text: #101828;
    --ap-text-soft: #6b7280;
    --ap-white: #ffffff;
    --ap-gold: #d6a441;
    --ap-gold-strong: #b8831f;
    --ap-border: #dfe5ef;
    --ap-green: #16a34a;
}

* {
    box-sizing: border-box;
}

body.ap-page {
    margin: 0;
    background: var(--ap-bg-soft);
    color: var(--ap-text);
    font-family: IRANSans, Vazir, Tahoma, "Segoe UI", sans-serif;
    line-height: 1.75;
    overflow-x: hidden;
}

body.ap-page h1,
body.ap-page h2,
body.ap-page h3,
body.ap-page h4,
body.ap-page h5,
body.ap-page h6,
body.ap-page .uk-button,
body.ap-page input,
body.ap-page textarea,
body.ap-page select {
    font-family: IRANSans, Vazir, Tahoma, "Segoe UI", sans-serif;
}

a {
    text-decoration: none;
}

.ap-topline {
    background: linear-gradient(90deg, #020914 0%, #081a31 55%, #030b17 100%);
    color: #c5d4ea;
    font-size: 12px;
}

.ap-topline-inner {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 0;
}

.ap-topline-right,
.ap-topline-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ap-topline a {
    color: #d8e3f3;
    text-decoration: none;
}

.ap-topline a:hover,
.ap-navbar a:hover {
    text-decoration: none;
}

.ap-navbar {
    background: #ffffff;
    border-bottom: 1px solid var(--ap-border);
    z-index: 1000;
}

.ap-navbar.uk-sticky-fixed {
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.09);
    border-bottom-color: rgba(193, 205, 221, 0.65);
    backdrop-filter: saturate(160%) blur(6px);
}

.ap-navbar-inner {
    min-height: 74px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.ap-logo {
    margin-inline-start: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #0f172a;
    font-weight: 800;
}

.ap-logo-copy {
    display: grid;
    gap: 2px;
    line-height: 1.25;
}

.ap-logo-copy strong {
    color: #0f172a;
    font-size: 22px;
    font-weight: 900;
}

.ap-logo-copy em {
    color: #5f6d80;
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.ap-menu {
    display: flex;
    list-style: none;
    margin: 0;
    margin-inline-start: auto;
    padding: 0;
    gap: 20px;
}

.ap-menu a {
    color: #111827;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
}

.ap-navbar-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.ap-user-menu {
    position: relative;
    padding-bottom: 8px;
    margin-bottom: -8px;
}

.ap-user-menu-btn {
    min-height: 44px;
    border: 1px solid #d5deeb;
    border-radius: 10px;
    background: #fff;
    display: inline-grid;
    grid-template-columns: 30px auto;
    grid-template-rows: auto auto;
    column-gap: 9px;
    align-items: center;
    padding: 5px 10px;
    cursor: pointer;
    color: #162337;
}

.ap-user-menu-btn span {
    grid-row: 1 / 3;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(180deg, #e2b552, #c7932f);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
}

.ap-user-menu-btn b,
.ap-user-menu-btn small {
    line-height: 1.2;
    text-align: right;
}

.ap-user-menu-btn b {
    font-size: 12px;
}

.ap-user-menu-btn small {
    color: #9a6b18;
    font-weight: 800;
}

.ap-user-menu-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    border: 1px solid var(--ap-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
    padding: 10px;
    display: none;
    z-index: 30;
}

.ap-user-menu:hover .ap-user-menu-dropdown,
.ap-user-menu:focus-within .ap-user-menu-dropdown {
    display: block;
}

.ap-user-menu-dropdown strong,
.ap-user-menu-dropdown a {
    display: block;
    padding: 9px 10px;
    border-radius: 8px;
}

.ap-user-menu-dropdown strong {
    color: #9a6b18;
    background: #fff8e7;
    margin-bottom: 4px;
}

.ap-user-menu-dropdown a {
    color: #1f2937;
    font-weight: 700;
}

.ap-user-menu-dropdown a:hover {
    background: #f3f6fb;
}

.ap-btn {
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    padding: 0 18px;
    height: 42px;
    line-height: 40px;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.ap-btn:hover {
    transform: translateY(-1px);
}

.ap-btn-gold {
    background: linear-gradient(180deg, #e2b552 0%, #c7932f 100%);
    color: #fff;
    border: 1px solid #c7932f;
}

.ap-btn-gold:hover {
    background: linear-gradient(180deg, #efc469 0%, #c7932f 100%);
    color: #fff;
}

.ap-btn-ghost {
    background: transparent;
    color: #162337;
    border: 1px solid #bfc9d8;
}

.ap-btn-ghost:hover {
    border-color: #8899b4;
    color: #111827;
}

.ap-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--ap-border);
    background: #fff;
    border-radius: 8px;
    padding: 10px;
}

.ap-menu-toggle span {
    display: block;
    height: 2px;
    border-radius: 2px;
    background: #0f172a;
    margin: 5px 0;
}

.ap-hero-wrap {
    position: relative;
    padding: 46px 0 66px;
    background:
        radial-gradient(1200px 520px at 80% 20%, rgba(11, 78, 181, 0.35), transparent 55%),
        radial-gradient(900px 520px at 15% 85%, rgba(212, 161, 68, 0.17), transparent 50%),
        linear-gradient(135deg, #020a16 0%, #07172d 45%, #08162a 100%);
    overflow: visible;
}

.ap-hero-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.11) 1px, transparent 0);
    background-size: 22px 22px;
    opacity: 0.22;
    pointer-events: none;
}

.ap-hero-wrap > .uk-container {
    position: relative;
    z-index: 1;
}

.ap-hero-col-copy {
    order: 1;
}

.ap-hero-col-code {
    order: 2;
}

.ap-code-panel {
    border-radius: 18px;
    border: 1px solid rgba(133, 162, 197, 0.45);
    background: linear-gradient(165deg, rgba(14, 28, 49, 0.93), rgba(9, 19, 34, 0.91));
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    transition: transform 260ms ease, box-shadow 260ms ease;
}

.ap-code-panel:hover {
    transform: translateY(-6px);
    box-shadow: 0 34px 72px rgba(0, 0, 0, 0.52);
}

.ap-code-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(147, 165, 190, 0.25);
    color: #91efac;
    font-size: 12px;
}

.ap-code-toolbar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #f87171;
}

.ap-code-toolbar span:nth-child(2) {
    background: #fbbf24;
}

.ap-code-toolbar span:nth-child(3) {
    background: #34d399;
    margin-inline-end: 8px;
}

.ap-code-toolbar small {
    color: #89d79f;
    margin-inline-end: auto;
}

.ap-code-toolbar b {
    color: #8ee49f;
}

.ap-code-block {
    padding: 18px;
    background: rgba(7, 18, 34, 0.84);
    overflow-x: auto;
    max-width: 100%;
}

.ap-code-block pre {
    margin: 0;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: #cde1ff;
    font: 13px/1.75 Consolas, Monaco, monospace;
    direction: ltr;
    text-align: left;
    white-space: pre;
    min-width: max-content;
}

.ap-hero-copy h1 {
    margin: 0;
    color: #f8fafc;
    font-size: 56px;
    line-height: 1.18;
    font-weight: 900;
    text-shadow: 0 8px 30px rgba(10, 25, 49, 0.42);
}

.ap-hero-copy h1 span {
    color: var(--ap-gold);
}

.ap-hero-copy p {
    color: #d8e2f2;
    margin: 24px 0 18px;
    font-size: 22px;
    max-width: 95%;
}

.ap-hero-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 26px;
}

.ap-hero-icons div {
    color: #f2f7ff;
    border: 1px solid rgba(190, 204, 223, 0.25);
    border-radius: 12px;
    padding: 12px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(6, 21, 39, 0.44);
    font-size: 13px;
}

.ap-hero-actions {
    display: flex;
    gap: 10px;
}

.ap-hero-actions .ap-btn-ghost {
    color: #d9e6fb;
    border-color: rgba(183, 201, 227, 0.6);
    background: rgba(9, 25, 46, 0.56);
}

.ap-hero-actions .ap-btn-ghost:hover {
    color: #ffffff;
    border-color: rgba(220, 232, 250, 0.95);
    background: rgba(12, 31, 56, 0.86);
}

.ap-capability-row {
    margin-top: 26px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 14px;
    border: 1px solid var(--ap-border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    position: relative;
    z-index: 3;
    margin-bottom: -112px;
    transform: translateY(64px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.16);
}

.ap-capability-row span {
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
}

.ap-capability-row .uk-icon {
    color: #9aa6ba;
}

.ap-user-home-panel {
    position: relative;
    z-index: 2;
    margin-top: -22px;
    padding-bottom: 18px;
}

.ap-user-home-card {
    border: 1px solid rgba(214, 164, 65, 0.34);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.14);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ap-user-home-card span {
    color: #9a6b18;
    font-size: 12px;
    font-weight: 900;
}

.ap-user-home-card h2 {
    margin: 2px 0 4px;
    font-size: 24px;
}

.ap-user-home-card p {
    margin: 0;
    color: #5b667a;

    .ap-profile-topline,
    .ap-billing-head,
    .ap-daily-chart-head {
        flex-direction: column;
    }

    .ap-usage-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.ap-user-feature-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.ap-user-feature-menu a {
    min-height: 36px;
    border: 1px solid #d6dfeb;
    border-radius: 8px;
    padding: 6px 12px;
    color: #172033;
    font-size: 13px;
    font-weight: 800;
    background: #f8fafc;
}

.ap-section {
    padding-top: 72px;
    padding-bottom: 54px;
}

.ap-section-title {
    text-align: center;
    margin: 0 0 24px;
    font-size: 34px;
    color: #101827;
    font-weight: 900;
}

.ap-card {
    background: #fff;
    border: 1px solid var(--ap-border);
    border-radius: 14px;
    padding: 24px;
    min-height: 220px;
    box-shadow: 0 8px 20px rgba(16, 24, 39, 0.04);
    transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.ap-card:hover {
    transform: translateY(-6px);
    border-color: rgba(214, 164, 65, 0.42);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.11);
}

.ap-card .uk-icon {
    color: var(--ap-gold-strong);
}

.ap-card h3 {
    margin: 10px 0;
    font-size: 21px;
}

.ap-card p {
    margin: 0;
    color: #556276;
    font-size: 17px;
}

.ap-architecture {
    background: #fff;
    border: 1px solid var(--ap-border);
    border-radius: 14px;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: minmax(270px, 0.82fr) minmax(0, 1.58fr);
    gap: 24px;
    align-items: center;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.055);
}

.ap-architecture-copy h2 {
    margin-top: 0;
    font-size: 42px;
}

.ap-architecture-copy p {
    color: #556276;
    margin-bottom: 18px;
    font-size: 19px;
}

.ap-architecture-visual img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.ap-status-wrap {
    margin-top: 18px;
}

.ap-mini-stat {
    background: #fff;
    border: 1px solid var(--ap-border);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.ap-mini-stat h4 {
    margin: 0;
    color: #6b7280;
    font-size: 17px;
}

.ap-mini-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 42px;
    color: #0f172a;
}

.ap-live-table {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--ap-border);
}

.ap-live-table th,
.ap-live-table td {
    font-size: 15px;
}

.ap-live-table .is-up {
    color: var(--ap-green);
    font-weight: 800;
}

.ap-profile-dashboard {
    padding: 28px 0 42px;
    background: #f7f9fc;
}

.ap-profile-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.ap-profile-topline span {
    display: block;
    color: #667085;
    font-weight: 800;
    font-size: 13px;
}

.ap-profile-topline h1 {
    margin: 2px 0 0;
    font-size: 28px;
    color: #142033;
}

.ap-profile-topline nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ap-profile-topline a {
    border: 1px solid #d9e2ef;
    background: #fff;
    color: #23324a;
    border-radius: 6px;
    padding: 8px 12px;
    font-weight: 800;
    font-size: 13px;
}

.ap-usage-panel,
.ap-subscription-panel {
    background: #fff;
    border: 1px solid #dfe5ef;
    border-radius: 0;
    padding: 18px 24px 22px;
    margin-bottom: 22px;
}

.ap-billing-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.ap-billing-head h2,
.ap-subscription-panel h2 {
    margin: 0;
    color: #142033;
    font-size: 21px;
}

.ap-billing-head p {
    margin: 2px 0 0;
    color: #7b8798;
    font-size: 14px;
}

.ap-billing-count {
    text-align: left;
    color: #69758a;
    min-width: 170px;
}

.ap-billing-count strong {
    color: #142033;
    font-size: 32px;
    line-height: 1;
}

.ap-billing-count span {
    font-size: 18px;
}

.ap-billing-count small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
}

.ap-usage-progress {
    height: 9px;
    background: #e8ecf2;
    border-radius: 999px;
    overflow: hidden;
    margin: 24px 0 26px;
}

.ap-usage-progress span {
    display: block;
    height: 100%;
    background: #2f7df6;
}

.ap-usage-note {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    border: 1px solid #b8d6ff;
    background: #eef6ff;
    color: #39516f;
    padding: 12px 14px;
    margin-bottom: 18px;
    font-size: 14px;
}

.ap-usage-note b {
    color: #526579;
    font-size: 18px;
    line-height: 1;
}

.ap-usage-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.ap-usage-stat-grid article {
    border: 1px solid #e2e7ef;
    padding: 16px;
    min-height: 112px;
}

.ap-usage-stat-grid span {
    display: block;
    color: #68758a;
    font-size: 13px;
    font-weight: 900;
}

.ap-usage-stat-grid strong {
    display: block;
    color: #142033;
    font-size: 30px;
    line-height: 1.2;
    margin-top: 8px;
}

.ap-usage-stat-grid small {
    display: block;
    color: #8b98aa;
    font-size: 12px;
    margin-top: 8px;
}

.ap-daily-chart {
    border: 1px solid #dfe5ef;
    padding: 16px;
}

.ap-daily-chart-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.ap-daily-chart-head h3 {
    margin: 0;
    color: #25324a;
    font-size: 17px;
}

.ap-daily-chart-head p,
.ap-usage-footnote {
    margin: 2px 0 0;
    color: #66758b;
    font-size: 14px;
}

.ap-chart-tabs {
    display: inline-flex;
    border: 1px solid #dfe5ef;
    border-radius: 5px;
    overflow: hidden;
}

.ap-chart-tabs button {
    border: 0;
    border-left: 1px solid #dfe5ef;
    background: #fff;
    color: #34445d;
    padding: 8px 14px;
    font-weight: 900;
    cursor: default;
}

.ap-chart-tabs button:first-child {
    border-left: 0;
}

.ap-chart-tabs .is-active {
    background: #2f7df6;
    color: #fff;
}

.ap-chart-bars {
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    gap: 3px;
    align-items: end;
    height: 160px;
    border-bottom: 4px solid #f1f3f7;
}

.ap-chart-bars i {
    display: block;
    background: #2f7df6;
    min-height: 3px;
}

.ap-chart-range {
    display: flex;
    justify-content: space-between;
    color: #66758b;
    font-size: 13px;
    margin-top: 8px;
}

.ap-usage-footnote {
    margin-top: 14px;
}

.ap-subscription-panel > div {
    margin-top: 16px;
}

.ap-subscription-panel > div span {
    display: block;
    color: #34445d;
    font-weight: 900;
    margin-bottom: 6px;
}

.ap-subscription-panel > div strong {
    color: #142033;
    font-size: 18px;
}

.ap-use-card {
    background: #fff;
    border: 1px solid var(--ap-border);
    border-radius: 12px;
    padding: 0 18px 18px;
    min-height: 260px;
    overflow: hidden;
    text-align: center;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.ap-use-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 22px rgba(15, 23, 42, 0.09);
}

.ap-use-card h3 {
    margin: 10px 0 8px;
    font-size: 20px;
}

.ap-use-card p {
    margin: 0;
    color: #5b667a;
    font-size: 16px;
}

.ap-use-card img {
    display: block;
    width: calc(100% + 36px);
    max-width: none;
    margin: 0 -18px 12px;
    height: 132px;
    object-fit: cover;
    border-bottom: 1px solid #e9eef6;
}

.ap-doc-tabs {
    border: 1px solid rgba(201, 173, 114, 0.32);
    border-radius: 12px;
    background: rgba(4, 11, 23, 0.68);
    padding: 14px;
}

.ap-doc-tabs .uk-tab > * > a {
    color: #d3def0;
    border-color: transparent;
    font-weight: 700;
}

.ap-doc-tabs .uk-tab > .uk-active > a {
    border-color: var(--ap-gold);
    color: var(--ap-gold);
}

.ap-doc-code {
    margin: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #081326 0%, #101b2d 100%);
    border: 1px solid rgba(93, 120, 154, 0.34);
    color: #dbe8ff;
    padding: 18px;
    font: 13px/1.7 Consolas, Monaco, monospace;
    direction: ltr;
    text-align: left;
}

.ap-doc-copy {
    color: #edf2fb;
}

.ap-doc-copy h3 {
    margin-top: 0;
    color: #fff;
    font-size: 40px;
}

.ap-doc-copy ul {
    margin: 0 0 20px;
    padding-right: 16px;
}

.ap-doc-copy li {
    margin-bottom: 6px;
    font-size: 17px;
}

.ap-price-card {
    background: #fff;
    border: 1px solid var(--ap-border);
    border-radius: 14px;
    padding: 20px;
    min-height: 340px;
    display: flex;
    flex-direction: column;
    transition: transform 220ms ease, box-shadow 220ms ease;
}

.ap-price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
}

.ap-price-card h3 {
    margin: 0;
    font-size: 32px;
}

.ap-price-card p {
    margin: 4px 0 12px;
    color: #6b7280;
    font-size: 16px;
}

.ap-section-lead {
    max-width: 760px;
    margin: -8px auto 24px;
    color: #66758a;
    text-align: center;
    font-size: 17px;
}

.ap-plan-limit {
    display: block;
    border-radius: 10px;
    background: #fff8e7;
    color: #996812;
    padding: 9px 10px;
    margin-bottom: 14px;
    font-size: 13px;
}

.ap-price-card ul {
    margin: 0 0 16px;
    padding-right: 18px;
    color: #374151;
    flex-grow: 1;
}

.ap-price-card li {
    margin-bottom: 4px;
    font-size: 16px;
}

.ap-price-card.is-featured {
    border-color: #d3a652;
    box-shadow: 0 16px 30px rgba(208, 157, 58, 0.2);
}

.ap-login-main {
    min-height: calc(100vh - 240px);
    background:
        radial-gradient(760px 380px at 80% 15%, rgba(13, 88, 190, 0.18), transparent 60%),
        radial-gradient(560px 320px at 12% 90%, rgba(214, 164, 65, 0.16), transparent 58%),
        #f4f6fb;
    padding: 46px 0 64px;
}

.ap-contact-main {
    background: #f4f6fb;
    min-height: 640px;
}

.ap-contact-hero {
    background:
        radial-gradient(760px 360px at 14% 10%, rgba(214, 164, 65, 0.22), transparent 62%),
        linear-gradient(135deg, #07172d 0%, #102a49 100%);
    color: #edf5ff;
    padding: 50px 0 72px;
}

.ap-contact-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: center;
}

.ap-contact-hero span {
    color: var(--ap-gold);
    font-weight: 900;
}

.ap-contact-hero h1 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: 42px;
}

.ap-contact-hero p {
    max-width: 760px;
    margin: 0;
    color: #d8e3f3;
    font-size: 18px;
}

.ap-contact-signal {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.08);
    padding: 22px;
}

.ap-contact-signal b,
.ap-contact-signal strong,
.ap-contact-signal small {
    display: block;
}

.ap-contact-signal strong {
    margin: 8px 0;
    color: #fff;
    font-size: 22px;
}

.ap-contact-content {
    margin-top: -34px;
    padding-bottom: 70px;
}

.ap-contact-grid {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.ap-contact-info,
.ap-contact-form {
    border: 1px solid var(--ap-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.ap-contact-info {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.ap-contact-info article {
    border-radius: 12px;
    background: #f7f9fc;
    padding: 16px;
}

.ap-contact-info .uk-icon {
    color: var(--ap-gold-strong);
}

.ap-contact-info h3 {
    margin: 8px 0 6px;
}

.ap-contact-info p {
    margin: 0;
    color: #65758b;
}

.ap-contact-form {
    padding: 22px;
}

.ap-contact-form-head h2 {
    margin: 0;
}

.ap-contact-form-head p {
    margin: 4px 0 16px;
    color: #65758b;
}

.ap-contact-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ap-contact-fields label span {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 900;
}

.ap-contact-fields input,
.ap-contact-fields select,
.ap-contact-fields textarea {
    width: 100%;
    border: 1px solid #cfd8e6;
    border-radius: 9px;
    background: #fbfdff;
    padding: 0 12px;
}

.ap-contact-fields input,
.ap-contact-fields select {
    height: 44px;
}

.ap-contact-fields textarea {
    padding-top: 10px;
    resize: vertical;
}

.ap-contact-fields .is-wide {
    grid-column: 1 / -1;
}

.ap-contact-form button {
    margin-top: 16px;
}

.ap-contact-alert {
    border-radius: 10px;
    padding: 11px 12px;
    margin-bottom: 14px;
    font-weight: 800;
}

.ap-contact-alert.is-ok {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.ap-contact-alert.is-error {
    background: #fff1f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.ap-legal-main {
    background: #f7f9fc;
}

.ap-legal-hero {
    background: linear-gradient(135deg, #061326, #0d2a4f);
    color: #fff;
    padding: 64px 0 86px;
}

.ap-legal-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 28px;
    align-items: center;
}

.ap-legal-hero span {
    display: inline-flex;
    border: 1px solid rgba(218, 165, 50, 0.38);
    border-radius: 999px;
    padding: 6px 12px;
    color: var(--ap-gold);
    font-weight: 900;
    margin-bottom: 14px;
}

.ap-legal-hero h1 {
    margin: 0;
    font-size: 46px;
    color: #fff;
}

.ap-legal-hero p {
    margin: 16px 0 0;
    color: #d7e4f5;
    font-size: 18px;
    line-height: 2;
    max-width: 760px;
}

.ap-legal-hero aside {
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.07);
    border-radius: 16px;
    padding: 22px;
}

.ap-legal-hero aside b,
.ap-legal-hero aside strong,
.ap-legal-hero aside small {
    display: block;
}

.ap-legal-hero aside b {
    color: #b9c7da;
}

.ap-legal-hero aside strong {
    margin: 8px 0;
    color: #fff;
    font-size: 28px;
}

.ap-legal-hero aside small {
    color: #c6d4e8;
    line-height: 1.9;
}

.ap-legal-content {
    margin-top: -46px;
    padding-bottom: 72px;
}

.ap-legal-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.ap-legal-sidebar,
.ap-legal-document {
    border: 1px solid var(--ap-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
}

.ap-legal-sidebar {
    position: sticky;
    top: 92px;
    padding: 12px;
    display: grid;
    gap: 6px;
}

.ap-legal-sidebar a {
    border-radius: 10px;
    color: #334155;
    font-weight: 900;
    padding: 10px 12px;
    text-decoration: none;
}

.ap-legal-sidebar a:hover {
    background: #f1f5fb;
    color: #0f172a;
    text-decoration: none;
}

.ap-legal-document {
    padding: 30px 34px;
}

.ap-legal-document section {
    scroll-margin-top: 100px;
    padding-bottom: 26px;
    margin-bottom: 26px;
    border-bottom: 1px solid #e8eef7;
}

.ap-legal-document section:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ap-legal-document h2 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 24px;
}

.ap-legal-document p {
    margin: 0 0 12px;
    color: #42526a;
    line-height: 2.15;
    font-size: 16px;
}

.ap-legal-document a {
    color: #0d5fd7;
    font-weight: 900;
    text-decoration: none;
}

.ap-legal-document a:hover {
    text-decoration: none;
}

.ap-service-status-main {
    background:
        linear-gradient(180deg, #eef3f9 0%, #f7f9fc 46%, #ffffff 100%);
    min-height: 620px;
}

.ap-service-status-hero {
    background:
        radial-gradient(820px 360px at 82% 8%, rgba(214, 164, 65, 0.22), transparent 62%),
        linear-gradient(135deg, #07172d 0%, #0c2747 58%, #07121f 100%);
    color: #edf5ff;
    padding: 52px 0 76px;
}

.ap-service-status-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 24px;
    align-items: center;
}

.ap-service-status-kicker,
.ap-service-status-panel-head span {
    color: var(--ap-gold);
    font-weight: 900;
    letter-spacing: 0;
}

.ap-service-status-hero h1 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: 44px;
}

.ap-service-status-hero p {
    margin: 0;
    max-width: 720px;
    color: #d7e3f4;
    font-size: 18px;
}

.ap-service-status-badge {
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    padding: 22px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.18);
}

.ap-service-status-badge .uk-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.ap-service-status-badge.is-ok .uk-icon {
    background: rgba(22, 163, 74, 0.16);
    color: #86efac;
}

.ap-service-status-badge.is-warning .uk-icon {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
}

.ap-service-status-badge strong,
.ap-service-status-badge small {
    display: block;
}

.ap-service-status-badge strong {
    color: #fff;
    font-size: 20px;
}

.ap-service-status-badge small {
    margin-top: 5px;
    color: #bfd0e6;
}

.ap-service-status-content {
    margin-top: -36px;
    padding-bottom: 70px;
}

.ap-service-status-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.ap-service-status-metrics article,
.ap-service-status-panel,
.ap-service-status-note {
    border: 1px solid var(--ap-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.ap-service-status-metrics article {
    padding: 20px;
}

.ap-service-status-metrics span,
.ap-service-status-metrics small {
    display: block;
    color: #66758a;
    font-weight: 800;
}

.ap-service-status-metrics strong {
    display: block;
    margin: 6px 0 2px;
    color: #0f172a;
    font-size: 42px;
    line-height: 1;
}

.ap-service-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ap-service-status-panel,
.ap-service-status-note {
    padding: 20px;
}

.ap-service-status-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.ap-service-status-panel-head h2,
.ap-service-status-note h2 {
    margin: 2px 0 0;
    font-size: 24px;
}

.ap-service-status-panel-head .uk-icon {
    color: var(--ap-gold-strong);
}

.ap-service-status-list {
    display: grid;
    gap: 10px;
}

.ap-service-status-list article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 10px;
    align-items: center;
    border: 1px solid #e7edf6;
    border-radius: 12px;
    padding: 12px;
    background: #fbfdff;
}

.ap-service-status-list b,
.ap-service-status-list code,
.ap-service-status-list small {
    display: block;
}

.ap-service-status-list code {
    direction: ltr;
    text-align: left;
    color: #65758b;
    font-size: 12px;
}

.ap-service-status-list span {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 900;
}

.ap-service-status-list .is-ok {
    background: #dcfce7;
    color: #166534;
}

.ap-service-status-list .is-error {
    background: #fee2e2;
    color: #991b1b;
}

.ap-service-status-note {
    margin-top: 16px;
}

.ap-service-status-note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.ap-service-status-note-grid article {
    border-radius: 12px;
    background: #f7f9fc;
    padding: 14px;
}

.ap-service-status-note-grid p {
    margin: 6px 0 0;
    color: #65758b;
}

.ap-login-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    gap: 24px;
    align-items: center;
}

.ap-login-copy {
    background: linear-gradient(135deg, #07172d, #0b2547);
    border-radius: 16px;
    color: #fff;
    padding: 34px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ap-login-copy span {
    color: var(--ap-gold);
    font-weight: 900;
}

.ap-login-copy h1 {
    margin: 8px 0 12px;
    color: #fff;
    font-size: 42px;
}

.ap-login-copy p {
    color: #d8e3f3;
    font-size: 18px;
    max-width: 620px;
}

.ap-login-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.ap-login-benefits b {
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.08);
}

.ap-login-card {
    border: 1px solid var(--ap-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.14);
    padding: 24px;
}

.ap-login-card-head {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.ap-login-card-head h2 {
    margin: 0;
    font-size: 24px;
}

.ap-login-card-head p {
    margin: 2px 0 0;
    color: #69758a;
    font-size: 13px;
}

.ap-login-card label {
    display: block;
    margin-bottom: 14px;
}

.ap-login-card label span {
    display: block;
    margin-bottom: 6px;
    color: #374151;
    font-size: 13px;
    font-weight: 800;
}

.ap-login-card input {
    width: 100%;
    height: 44px;
    border: 1px solid #cfd8e6;
    border-radius: 9px;
    padding: 0 12px;
    background: #fbfdff;
}

.ap-login-card button {
    width: 100%;
    margin-top: 4px;
}

.ap-login-alert {
    border: 1px solid #fecaca;
    border-radius: 9px;
    background: #fff1f2;
    color: #b91c1c;
    padding: 10px 12px;
    margin-bottom: 14px;
    font-size: 13px;
    font-weight: 800;
}

.ap-login-help {
    display: block;
    margin-top: 12px;
    color: #69758a;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.ap-user-update-main {
    background: #f4f6fb;
    min-height: 620px;
}

.ap-user-update-head {
    background: linear-gradient(135deg, #07172d, #0b2547);
    color: #eef5ff;
    padding: 42px 0 58px;
}

.ap-user-update-head .uk-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ap-user-update-head span {
    color: var(--ap-gold);
    font-weight: 900;
}

.ap-user-update-head h1 {
    margin: 6px 0 10px;
    color: #fff;
    font-size: 42px;
}

.ap-user-update-head p {
    margin: 0;
    color: #d8e3f3;
    max-width: 760px;
    font-size: 17px;
}

.ap-user-update-head .ap-btn-ghost {
    color: #eef5ff;
    border-color: rgba(220, 232, 250, 0.7);
    background: rgba(9, 25, 46, 0.28);
}

.ap-user-update-head .ap-btn-ghost:hover {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.95);
    background: rgba(14, 34, 60, 0.52);
}

.ap-user-update-content {
    margin-top: -28px;
    padding-bottom: 60px;
}

.ap-update-alert,
.ap-update-empty {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 14px;
    border: 1px solid var(--ap-border);
    background: #fff;
}

.ap-update-alert.is-ok {
    border-color: #bbf7d0;
    background: #f0fdf4;
    color: #166534;
}

.ap-update-alert.is-error,
.ap-update-row-error {
    border-color: #fecaca;
    background: #fff1f2;
    color: #b91c1c;
}

.ap-update-empty strong {
    display: block;
    font-size: 20px;
    margin-bottom: 6px;
}

.ap-update-empty p {
    margin: 0;
    color: #64748b;
}

.ap-update-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.ap-update-card {
    border: 1px solid var(--ap-border);
    border-radius: 14px;
    background: #fff;
    padding: 18px;
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.07);
}

.ap-update-card header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.ap-update-card h2 {
    margin: 0 0 4px;
    font-size: 22px;
}

.ap-update-card code {
    direction: ltr;
    color: #9a6b18;
    background: #fff8e7;
    border-radius: 7px;
    padding: 2px 7px;
}

.ap-update-card header > span {
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 900;
}

.ap-update-card .is-on {
    background: #dcfce7;
    color: #166534;
}

.ap-update-card .is-off {
    background: #fee2e2;
    color: #991b1b;
}

.ap-update-values {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 14px;
}

.ap-update-values div {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    padding: 10px;
}

.ap-update-values small,
.ap-update-form span {
    display: block;
    color: #64748b;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 4px;
}

.ap-update-values strong {
    direction: ltr;
    display: block;
    color: #0f172a;
    font-size: 18px;
}

.ap-update-row-error {
    border: 1px solid;
    border-radius: 9px;
    padding: 8px 10px;
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 800;
}

.ap-update-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.ap-update-form label {
    margin: 0;
}

.ap-update-form input,
.ap-update-form select {
    width: 100%;
    height: 40px;
    border: 1px solid #cfd8e6;
    border-radius: 8px;
    background: #fff;
    padding: 0 10px;
}

.ap-update-check {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ap-update-check input {
    width: auto;
    height: auto;
}

.ap-update-form button {
    grid-column: 1 / -1;
}

.ap-cta-band {
    background:
        linear-gradient(130deg, rgba(198, 141, 41, 0.94), rgba(132, 90, 17, 0.95)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
    background-size: auto, 22px 22px;
    padding: 24px 0;
}

.ap-cta-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.ap-cta-band h3 {
    margin: 0;
    font-size: 28px;
    color: #1f1302;
}

.ap-cta-band .ap-btn-gold {
    background: #0b1a33;
    border-color: #0b1a33;
    color: #f8fbff;
    box-shadow: 0 10px 20px rgba(11, 26, 51, 0.28);
}

.ap-cta-band .ap-btn-gold:hover {
    background: #112546;
    border-color: #112546;
    color: #ffffff;
}

.ap-cta-band .ap-btn-ghost {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.82);
    color: #fff8ea;
}

.ap-cta-band .ap-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: #ffffff;
    color: #ffffff;
}

.ap-footer {
    background: #071325;
    color: #d8e3f2;
    padding: 42px 0 24px;
}

.ap-footer h3,
.ap-footer h4 {
    margin-top: 0;
    color: #fff;
    font-size: 24px;
}

.ap-footer p {
    color: #b8c7db;
    font-size: 15px;
}

.ap-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ap-footer-links li {
    margin-bottom: 8px;
}

.ap-footer-links a {
    color: #d8e4f7;
}

.ap-newsletter {
    display: flex;
    gap: 8px;
}

.ap-newsletter input {
    flex: 1;
    border-radius: 10px;
    border: 1px solid rgba(179, 194, 217, 0.3);
    background: rgba(9, 20, 36, 0.85);
    color: #fff;
    padding: 0 12px;
    height: 42px;
}

.ap-social-row {
    display: flex;
    gap: 8px;
}

.ap-social-row a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid rgba(194, 209, 229, 0.45);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #d9e7ff;
    font-size: 11px;
    text-transform: uppercase;
}

.ap-footer-bottom {
    margin-top: 28px;
    border-top: 1px solid rgba(188, 201, 222, 0.2);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.ap-footer-bottom a {
    color: #d2deee;
    margin-inline-start: 16px;
}

.ap-doc-main {
    background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 42%, #f6f8fc 100%);
}

.ap-doc-hero {
    background:
        radial-gradient(980px 420px at 78% 4%, rgba(214, 164, 65, 0.18), transparent 54%),
        radial-gradient(900px 520px at 10% 100%, rgba(16, 80, 150, 0.28), transparent 52%),
        linear-gradient(135deg, #020a16 0%, #07172d 48%, #08162a 100%);
    color: #eef5ff;
    padding: 72px 0 56px;
}

.ap-doc-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
    gap: 28px;
    align-items: center;
}

.ap-doc-kicker {
    display: inline-flex;
    border: 1px solid rgba(214, 164, 65, 0.58);
    color: #f5ca73;
    background: rgba(214, 164, 65, 0.08);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 12px;
    margin-bottom: 12px;
}

.ap-doc-hero-copy h1 {
    margin: 0;
    color: #ffffff;
    font-size: 48px;
    font-weight: 900;
}

.ap-doc-hero-copy p {
    color: #d7e2f1;
    max-width: 760px;
    font-size: 18px;
    margin: 18px 0 22px;
}

.ap-doc-hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.ap-doc-hero-actions .ap-btn-ghost {
    color: #d9e6fb;
    border-color: rgba(183, 201, 227, 0.62);
    background: rgba(9, 25, 46, 0.58);
}

.ap-doc-hero-actions .ap-btn-ghost:hover {
    color: #ffffff;
    border-color: rgba(220, 232, 250, 0.96);
    background: rgba(12, 31, 56, 0.88);
}

.ap-doc-summary-card {
    border: 1px solid rgba(196, 213, 236, 0.25);
    border-radius: 16px;
    background: rgba(5, 17, 34, 0.78);
    padding: 22px;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.32);
}

.ap-doc-summary-card h2 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 24px;
}

.ap-doc-summary-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ap-doc-summary-card li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid rgba(185, 203, 226, 0.16);
    padding: 10px 0;
    color: #d6e1f0;
}

.ap-doc-summary-card li:last-child {
    border-bottom: 0;
}

.ap-doc-summary-card code,
.ap-doc-content code {
    direction: ltr;
    unicode-bidi: isolate;
    background: #fff6e2;
    border: 1px solid rgba(214, 164, 65, 0.34);
    border-radius: 7px;
    color: #9b6512;
    padding: 2px 7px;
    font-family: Consolas, Monaco, monospace;
}

.ap-doc-summary-card code {
    background: rgba(214, 164, 65, 0.14);
    border-color: rgba(214, 164, 65, 0.28);
    color: #f4c76c;
}

.ap-doc-layout {
    padding-top: 42px;
}

.ap-doc-grid {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.ap-doc-sidebar {
    position: sticky;
    top: 96px;
    border: 1px solid #dfe7f2;
    border-radius: 14px;
    background: #ffffff;
    padding: 10px;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
}

.ap-doc-sidebar nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ap-doc-sidebar a {
    color: #334155;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 700;
}

.ap-doc-sidebar a:hover {
    background: #fff6e2;
    color: #9a6817;
}

.ap-doc-block {
    background: #ffffff;
    border: 1px solid #dfe7f2;
    border-radius: 16px;
    padding: 26px;
    margin-bottom: 18px;
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.045);
}

.ap-doc-block h2 {
    margin: 0 0 12px;
    color: #111827;
    font-size: 28px;
    font-weight: 900;
}

.ap-doc-block p,
.ap-doc-steps li {
    color: #4b5563;
    font-size: 16px;
}

.ap-doc-note {
    border-right: 4px solid var(--ap-gold);
    background: #fff9ec;
    border-radius: 10px;
    color: #5f3d0a;
    padding: 12px 14px;
    margin-top: 14px;
}

.ap-doc-steps {
    margin: 0;
    padding-right: 22px;
}

.ap-doc-steps li {
    margin-bottom: 8px;
}

.ap-endpoint-list {
    display: grid;
    gap: 10px;
}

.ap-endpoint-list article {
    display: grid;
    grid-template-columns: 70px minmax(180px, 260px) 1fr;
    gap: 12px;
    align-items: center;
    border: 1px solid #e0e7f1;
    border-radius: 12px;
    padding: 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.ap-endpoint-list span {
    direction: ltr;
    background: #e9f8ef;
    color: #14763a;
    border-radius: 8px;
    text-align: center;
    font-weight: 900;
    padding: 4px 8px;
}

.ap-endpoint-list p {
    margin: 0;
    font-size: 14px;
}

.ap-error-table {
    display: grid;
    gap: 8px;
}

.ap-error-table div {
    display: grid;
    grid-template-columns: 70px 1fr;
    gap: 12px;
    align-items: center;
    border: 1px solid #e0e7f1;
    border-radius: 10px;
    padding: 10px 12px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.ap-error-table strong {
    direction: ltr;
    color: #9f1d1d;
    background: #fff0ee;
    border: 1px solid #ffe0da;
    border-radius: 8px;
    text-align: center;
    padding: 4px 8px;
}

.ap-error-table span {
    color: #4b5563;
}

.ap-doc-page .uk-tab::before {
    border-bottom-color: #e2e8f1;
}

.ap-doc-page .uk-tab > * > a {
    color: #7b8495;
    font-family: IRANSans, Vazir, Tahoma, "Segoe UI", sans-serif;
    font-weight: 800;
    letter-spacing: 0;
}

.ap-doc-page .uk-tab > * > a:hover {
    color: #9b6512;
}

.ap-doc-page .uk-tab > .uk-active > a {
    color: #b8831f;
    border-color: var(--ap-gold);
}

.ap-doc-page .ap-doc-block:target {
    scroll-margin-top: 110px;
}

@media (max-width: 1200px) {
    .ap-hero-copy h1 {
        font-size: 46px;
    }

    .ap-hero-copy p {
        font-size: 19px;
    }

    .ap-architecture-copy h2,
    .ap-doc-copy h3,
    .ap-section-title,
    .ap-price-card h3,
    .ap-cta-band h3 {
        font-size: 30px;
    }

    .ap-card h3,
    .ap-use-card h3 {
        font-size: 18px;
    }

    .ap-card p,
    .ap-use-card p,
    .ap-architecture-copy p,
    .ap-doc-copy li,
    .ap-price-card li,
    .ap-price-card p,
    .ap-mini-stat h4,
    .ap-live-table th,
    .ap-live-table td,
    .ap-capability-row span {
        font-size: 14px;
    }

    .ap-mini-stat strong {
        font-size: 32px;
    }

    .ap-doc-hero-copy h1 {
        font-size: 38px;
    }
}

@media (max-width: 959px) {
    .ap-topline-inner {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
    }

    .ap-navbar-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .ap-logo {
        margin-inline-start: 0;
        margin-inline-end: auto;
    }

    .ap-menu-toggle {
        display: block;
    }

    .ap-menu {
        width: 100%;
        order: 5;
        display: none;
        margin: 0;
        background: #fff;
        border: 1px solid var(--ap-border);
        border-radius: 10px;
        padding: 10px;
        flex-direction: column;
        gap: 8px;
    }

    .ap-menu.is-open {
        display: flex;
    }

    .ap-navbar-actions {
        margin-inline-start: auto;
    }

    .ap-login-shell {
        grid-template-columns: 1fr;
    }

    .ap-update-grid {
        grid-template-columns: 1fr;
    }

    .ap-user-update-head .uk-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .ap-user-home-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .ap-hero-copy h1 {
        font-size: 36px;
    }

    .ap-hero-copy p {
        font-size: 17px;
    }

    .ap-hero-col-copy {
        order: 1;
    }

    .ap-hero-col-code {
        order: 2;
    }

    .ap-code-panel {
        margin-top: 22px;
    }

    .ap-code-block {
        max-height: 430px;
        overflow: auto;
    }

    .ap-architecture {
        grid-template-columns: 1fr;
    }

    .ap-cta-band-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ap-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .ap-doc-hero-grid,
    .ap-doc-grid,
    .ap-legal-hero-grid,
    .ap-legal-layout {
        grid-template-columns: 1fr;
    }

    .ap-doc-sidebar,
    .ap-legal-sidebar {
        position: static;
    }

    .ap-doc-sidebar nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .ap-legal-sidebar {
        display: flex;
        overflow-x: auto;
        gap: 8px;
    }

    .ap-doc-sidebar a,
    .ap-legal-sidebar a {
        white-space: nowrap;
    }

    .ap-endpoint-list article {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 639px) {
    .ap-navbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .ap-user-menu,
    .ap-user-menu-btn {
        width: 100%;
    }

    .ap-user-menu-dropdown {
        right: 0;
        left: auto;
        width: 100%;
    }

    .ap-login-copy,
    .ap-login-card,
    .ap-user-home-card {
        padding: 18px;
    }

    .ap-usage-panel,
    .ap-subscription-panel {
        padding: 16px;
    }

    .ap-legal-hero {
        padding: 42px 0 70px;
    }

    .ap-legal-hero h1 {
        font-size: 34px;
    }

    .ap-legal-document {
        padding: 22px 18px;
    }

    .ap-usage-stat-grid {
        grid-template-columns: 1fr;
    }

    .ap-chart-tabs button {
        padding: 7px 10px;
    }

    .ap-login-copy h1,
    .ap-user-home-card h2,
    .ap-user-update-head h1 {
        font-size: 26px;
    }

    .ap-update-values,
    .ap-update-form {
        grid-template-columns: 1fr;
    }

    .ap-btn {
        flex: 1;
        text-align: center;
        font-size: 12px;
        padding: 0 12px;
    }

    .ap-hero-actions {
        flex-direction: column;
    }

    .ap-capability-row {
        padding: 12px;
    }

    .ap-newsletter {
        flex-direction: column;
    }

    .ap-newsletter .ap-btn {
        width: 100%;
    }
}
