@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&family=Montserrat:wght@400;600;650;700&family=Noto+Sans+Arabic:wght@400;600;700&family=Tajawal:wght@400;500;700&display=swap');
.asc-admin, .asc-calc {
    --asc-navy: #10263a;
    --asc-teal: #006458;
    --asc-muted: #485b6d;
    --asc-line: #dce5ea;
    color: var(--asc-navy);
    font-family: system-ui, sans-serif;
    line-height: 1.65;
}
.asc-admin { max-width: 1120px; text-align: left; }
.asc-calc {
    box-sizing: border-box;
    width: 100%;
    max-width: 880px;
    margin: 1.5rem auto;
    align-self: center;
    justify-self: center;
    background: var(--asc-surface);
    color: var(--asc-text);
    font-family: var(--asc-font);
    font-size: var(--asc-size);
    border: 1px solid var(--asc-line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 32px #10263a13;
}
.asc-admin .asc-hero, .asc-calc .asc-hero {
    background: #10263a;
    color: #fff;
    padding: clamp(20px, 4vw, 38px);
}
.asc-admin .asc-hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    border-radius: 16px;
    background: linear-gradient(110deg, #10263a, #124441);
}
.asc-hero h1, .asc-hero h2 { color: inherit; margin: 0; }
.asc-admin .asc-hero h1 { padding: 0; font-size: clamp(28px, 4vw, 38px); font-weight: 700; }
.asc-hero p { color: #e0edf3; margin: 8px 0 0; }
.asc-calc .asc-hero {
    background: var(--asc-header);
    color: var(--asc-header-text);
    text-align: center;
}
.asc-calc .asc-hero h2 { font: inherit; font-size: 1.75em; font-weight: 700; line-height: 1.3; }
.asc-calc .asc-hero p { color: inherit; }
.asc-credit {
    display: inline-block;
    font-family: Montserrat, system-ui, sans-serif;
    font-size: 12px;
    font-weight: 650;
    margin-top: 14px;
}
.asc-calc .asc-credit { color: var(--asc-muted); }
.asc-body, .asc-panel { padding: clamp(16px, 4vw, 30px); }
.asc-panel {
    background: white;
    border: 1px solid var(--asc-line);
    border-radius: 14px;
    margin: 16px 0;
    box-shadow: 0 2px 6px #10263a08;
    scroll-margin-top: 58px;
}
.asc-panel h2 { margin: 0; font-size: 20px; }
.asc-panel > p { color: var(--asc-muted); margin: 5px 0 16px; }
.asc-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.asc-nav { margin: 16px 0; }
.asc-nav a {
    background: #fff;
    color: var(--asc-teal);
    padding: 6px 14px;
    border: 1px solid var(--asc-line);
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
}
.asc-nav a:hover, .asc-nav a:focus-visible { background: #e5f6ef; }
.asc-copy {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 12px;
    background: #f3f7f9;
    border: 1px solid var(--asc-line);
    border-radius: 10px;
    padding: 14px;
}
.asc-copy strong, .asc-copy-status { grid-column: 1 / -1; }
.asc-copy code { background: transparent; padding: 0; overflow-wrap: anywhere; }
.asc-copy-status { color: var(--asc-teal); font-size: 12px; min-height: 1.65em; }
.asc-shortcode-options { margin-top: 16px; }
.asc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.asc-field { display: grid; gap: 5px; min-width: 0; margin: 0; font-weight: 600; }
.asc-field input, .asc-field textarea, .asc-field select {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-width: 0;
    min-height: 40px;
    padding: 7px 10px;
    border: 1px solid #8fa4af;
    border-radius: 7px;
    background-color: #fff;
    color: var(--asc-navy);
}
.asc-colors, .asc-type-settings {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 155px), 1fr));
    gap: 12px;
}
.asc-type-settings { margin-top: 18px; }
.asc-colors .asc-field {
    padding: 10px;
    border: 1px solid var(--asc-line);
    border-radius: 8px;
}
.asc-colors input[type="color"] { padding: 3px; cursor: pointer; }
.asc-plan-settings {
    border: 1px solid var(--asc-line);
    border-radius: 12px;
    padding: clamp(12px, 3vw, 20px);
    margin-top: 16px;
}
.asc-plan-settings h3 { margin: 0 0 12px; color: var(--asc-navy); }
.asc-table-wrap { overflow-x: auto; margin-top: 14px; }
.asc-table-wrap table { min-width: 570px; border: 0; box-shadow: none; }
.asc-table-wrap th { text-align: start; }
.asc-table-wrap thead th { background: #edf3f6; color: var(--asc-navy); font-weight: 650; }
.asc-table-wrap tbody th { vertical-align: middle; }
.asc-table-wrap .asc-field span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}
.asc-service-edit { border: 1px solid var(--asc-line); border-radius: 9px; margin-bottom: 8px; }
.asc-service-edit summary { padding: 10px 14px; }
.asc-service-edit[open] summary { border-bottom: 1px solid var(--asc-line); }
.asc-service-edit .asc-grid { padding: 14px; }
.asc-language-fields { display: grid; align-content: start; gap: 12px; }
#asc-details .asc-grid { margin-top: 14px; }
.asc-discount { max-width: 300px; margin-top: 18px; }
.asc-save {
    display: flex;
    justify-content: end;
    padding: 12px 16px;
    background: #fff;
    border: 1px solid var(--asc-line);
    border-radius: 10px;
}
.asc-calc summary, .asc-admin summary { cursor: pointer; font-weight: 650; }
.asc-calc .asc-body { text-align: start; }
.asc-calc .asc-field select {
    font: inherit;
    background-color: var(--asc-surface);
    color: var(--asc-text);
}
.asc-result { margin-top: 22px; }
.asc-calc .asc-public-table {
    width: 100%;
    margin: 0;
    table-layout: fixed;
    border-collapse: collapse;
    border: 1px solid var(--asc-line);
    background: var(--asc-surface);
    color: inherit;
    font: inherit;
}
.asc-calc .asc-public-table caption {
    padding: 0 0 9px;
    text-align: start;
    color: inherit;
    font-weight: 700;
    font-size: 1.13em;
}
.asc-calc .asc-public-table th,
.asc-calc .asc-public-table td {
    padding: 12px 14px;
    border: 0;
    border-block-end: 1px solid var(--asc-line);
    color: inherit;
    background: transparent;
    text-align: start;
    vertical-align: top;
    overflow-wrap: anywhere;
}
.asc-calc .asc-public-table th { font-weight: 700; }
.asc-calc .asc-public-table thead,
.asc-calc .asc-plan-row { background: var(--asc-table); }
.asc-calc .asc-price-table td { width: 31%; text-align: end; font-weight: 700; }
.asc-price-table th small { display: block; font-size: 0.84em; font-weight: 400; }
.asc-calc .asc-benefit-table th:nth-child(1) { width: 29%; }
.asc-calc .asc-benefit-table th:nth-child(2) { width: 20%; }
.asc-included { display: inline-block; margin-inline-end: 0.3em; }
.asc-calc .asc-note { margin: 8px 0 24px; color: inherit; font-size: 0.85em; }
.asc-discount-note { background: var(--asc-table); padding: 10px 14px; margin: 12px 0; border-radius: 8px; }
.asc-action { text-align: center; margin-top: 20px; }
.asc-calc a.asc-cta {
    display: inline-block;
    padding: 10px 20px;
    background: var(--asc-button);
    color: var(--asc-button-text);
    border-radius: 9px;
    text-decoration: none;
    font-weight: 700;
}
.asc-calc a.asc-cta:hover, .asc-calc a.asc-cta:focus-visible { text-decoration: underline; }
.asc-calc a.asc-cta:focus-visible { outline: 2px solid var(--asc-text); outline-offset: 3px; }
.asc-calc details { margin-top: 22px; }
@media (max-width: 600px) {
    .asc-grid { grid-template-columns: 1fr; }
    .asc-calc .asc-public-table th,
    .asc-calc .asc-public-table td { padding: 8px; }
    .asc-calc .asc-benefit-table { font-size: 0.88em; }
    .asc-calc .asc-price-table td { width: 36%; }
}

