@font-face {
    font-family: "AM Helvetica Neue";
    src: url("../fonts/helvetica-neue-300.woff2") format("woff2");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    unicode-range: U+0000-024F;
}

@font-face {
    font-family: "AM Helvetica Neue";
    src: url("../fonts/helvetica-neue-400.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    unicode-range: U+0000-024F;
}

@font-face {
    font-family: "AM Helvetica Neue";
    src: url("../fonts/helvetica-neue-700.woff2") format("woff2");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    unicode-range: U+0000-024F;
}

html {
    font-synthesis: none;
}

:root {
    --am-yellow: #ffc500;
    --am-yellow-dark: #dca900;
    --am-yellow-soft: #fff5c5;
    --am-black: #111111;
    --am-dark: #1b1b1b;
    --am-surface: #ffffff;
    --am-background: #f4f3ef;
    --am-text: #202020;
    --am-muted: #737373;
    --am-border: rgba(17, 17, 17, 0.10);
    --am-shadow:
        0 18px 50px rgba(17, 17, 17, 0.07),
        0 3px 12px rgba(17, 17, 17, 0.04);
    --am-shadow-hover:
        0 25px 65px rgba(17, 17, 17, 0.13),
        0 5px 18px rgba(17, 17, 17, 0.06);
    --am-radius-lg: 28px;
    --am-radius-md: 19px;
    --am-radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body.app-shell {
    margin: 0;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 8% 10%, rgba(255, 197, 0, 0.12), transparent 24%),
        radial-gradient(circle at 92% 40%, rgba(255, 197, 0, 0.08), transparent 25%),
        linear-gradient(180deg, #f8f7f3 0%, #f2f1ec 100%);
    color: var(--am-text);
         font-family:
        "AM Helvetica Neue",
        "Vazirmatn",
        "IRANSansX",
        Tahoma,
        Arial,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body.app-shell::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    opacity: 0.35;
    background-image:
        linear-gradient(rgba(17, 17, 17, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 17, 17, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
}

body.app-shell::after {
    content: "";
    width: 550px;
    height: 550px;
    position: fixed;
    top: -280px;
    left: -200px;
    z-index: -1;
    border: 90px solid rgba(255, 197, 0, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

h1,
h2,
h3,
h4,
.brand-name,
.tool-title,
.primary-button,
button {
    font-family:
        "AM Helvetica Neue",
        "Vazirmatn",
        "IRANSansX",
        Tahoma,
        Arial,
        sans-serif;
    font-weight: 700;
}

.latin-light {
    direction: ltr;
    font-family:   "AM Helvetica Neue",
        Arial,
        sans-serif;
    font-weight: 300;
    text-shadow: none;
    font-weight: 300;
    letter-spacing: 0;
    text-shadow: none;
    filter: none;
}
.latin-regular,
.latin-clean {
    direction: ltr;
    font-family:
        "AM Helvetica Neue",
        Arial,
        sans-serif;
    font-weight: 400;
    text-shadow: none;
}

.latin-bold,
.latin-rounded {
    direction: ltr;
    font-family:
        "AM Helvetica Neue",
        Arial,
        sans-serif;
    font-weight: 700;
    text-shadow: none;
}

/* Header */

.topbar {
    width: min(1220px, calc(100% - 36px));
    min-height: 78px;
    margin: 18px auto 0;
    position: sticky;
    top: 14px;
    z-index: 100;
    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow:
        0 15px 45px rgba(17, 17, 17, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(18px);
}

.topbar-inner {
    min-height: 78px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.brand {
    min-width: max-content;
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--am-black);
    text-decoration: none;
}

.brand-mark {
    width: 55px;
    height: 55px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--am-yellow);
    border-radius: 16px;
    background: var(--am-surface);
    overflow: hidden;
    box-shadow: 0 8px 22px rgba(17, 17, 17, 0.08);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.brand-subtitle {
    color: var(--am-muted);
    font-size: 10px;
}

.main-navigation {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.main-navigation a {
    min-height: 42px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    position: relative;
    border-radius: 11px;
    color: #515151;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.22s ease;
}

.main-navigation a::after {
    content: "";
    width: 0;
    height: 3px;
    position: absolute;
    right: 50%;
    bottom: 4px;
    border-radius: 20px;
    background: var(--am-yellow);
    transform: translateX(50%);
    transition: width 0.22s ease;
}

.main-navigation a:hover {
    background: rgba(255, 197, 0, 0.10);
    color: var(--am-black);
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 24px;
}

.main-navigation a.active {
    background: var(--am-yellow-soft);
    color: var(--am-black);
}

.header-actions {
    min-width: max-content;
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-user {
    max-width: 150px;
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--am-border);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.75);
}

.header-user span {
    color: var(--am-muted);
    font-size: 9px;
}

.header-user strong {
    margin-top: 3px;
    font-size: 11px;
    direction: ltr;
}

.header-button,
.logout-button {
    width: auto;
    min-height: 42px;
    margin: 0;
    padding: 0 15px;
    border: 0;
    border-radius: 11px;
    background: var(--am-black);
    color: #ffffff;
    font-size: 12px;
    text-decoration: none;
    cursor: pointer;
}

.header-button:hover,
.logout-button:hover {
    background: #333333;
}

.navigation-toggle {
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--am-yellow);
    color: var(--am-black);
    font-size: 21px;
}

/* Main */

.site-main {
    width: min(1180px, calc(100% - 36px));
    min-height: calc(100vh - 230px);
    margin: 0 auto;
    padding: 42px 0 75px;
}

.page-card,
.card {
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: var(--am-radius-lg);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 250, 248, 0.94));
    box-shadow: var(--am-shadow);
    overflow: hidden;
}

.page-card::before,
.card::before {
    content: "";
    width: 115px;
    height: 5px;
    position: absolute;
    top: 0;
    right: 30px;
    border-radius: 0 0 20px 20px;
    background: var(--am-yellow);
}

.page-card,
.card {
    padding: 34px;
}

.page-card h1,
.card h1 {
    margin: 0 0 10px;
    color: var(--am-black);
    font-size: clamp(25px, 3vw, 36px);
}

.description {
    color: var(--am-muted);
    font-size: 14px;
    line-height: 2;
}

/* Dashboard Hero */

.dashboard-hero {
    min-height: 390px;
    padding: 52px;
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
    align-items: center;
    gap: 50px;
    position: relative;
    border-radius: 30px;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.45), transparent 28%),
        linear-gradient(135deg, #ffcf25 0%, var(--am-yellow) 55%, #eab500 100%);
    box-shadow:
        0 28px 70px rgba(102, 78, 0, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.dashboard-hero::before {
    content: "AM";
    position: absolute;
    left: -20px;
    bottom: -95px;
    color: rgba(17, 17, 17, 0.055);
    font-family: "AM Helvetica Rounded", sans-serif;
    font-size: 290px;
    font-weight: 700;
    line-height: 1;
}

.dashboard-hero-content,
.dashboard-visual {
    position: relative;
    z-index: 2;
}

.dashboard-kicker {
    width: max-content;
    margin-bottom: 15px;
    padding: 8px 13px;
    border: 1px solid rgba(17, 17, 17, 0.15);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.34);
    color: #5f4b00;
    font-size: 11px;
    font-weight: bold;
}

.dashboard-hero h1 {
    max-width: 650px;
    margin: 0;
    color: var(--am-black);
    font-size: clamp(37px, 6vw, 68px);
    line-height: 1.18;
}

.dashboard-hero p {
    max-width: 650px;
    margin: 20px 0 0;
    color: #3a3008;
    font-size: 15px;
    line-height: 2;
}

.dashboard-actions {
    margin-top: 27px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.dashboard-primary,
.dashboard-secondary {
    min-height: 50px;
    padding: 0 21px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
}

.dashboard-primary {
    background: var(--am-black);
    color: #ffffff;
}

.dashboard-secondary {
    border: 1px solid rgba(17, 17, 17, 0.24);
    color: var(--am-black);
    background: rgba(255, 255, 255, 0.22);
}

.dashboard-visual {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-ring {
    width: 260px;
    height: 260px;
    position: relative;
    border: 1px solid rgba(17, 17, 17, 0.15);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(255, 255, 255, 0.50) 0 35%, transparent 36%),
        repeating-radial-gradient(
            circle,
            transparent 0 18px,
            rgba(17, 17, 17, 0.05) 19px 20px
        );
}

.visual-ring::before,
.visual-ring::after {
    content: "";
    position: absolute;
    border-radius: 24px;
    background: var(--am-black);
    box-shadow: 0 20px 40px rgba(17, 17, 17, 0.18);
}

.visual-ring::before {
    width: 85px;
    height: 135px;
    top: 45px;
    right: 35px;
    transform: rotate(9deg);
}

.visual-ring::after {
    width: 78px;
    height: 120px;
    left: 42px;
    bottom: 35px;
    background: rgba(255, 255, 255, 0.86);
    transform: rotate(-12deg);
}

/* Statistics */

.dashboard-stats {
    margin: 22px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.dashboard-stat {
    padding: 21px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 10px 35px rgba(17, 17, 17, 0.045);
    backdrop-filter: blur(12px);
}

.dashboard-stat-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--am-yellow);
    color: var(--am-black);
    font-family: "AM Helvetica Rounded", sans-serif;
    font-size: 17px;
    font-weight: bold;
}

.dashboard-stat span {
    display: block;
    color: var(--am-muted);
    font-size: 10px;
}

.dashboard-stat strong {
    display: block;
    margin-top: 4px;
    color: var(--am-black);
    font-size: 14px;
}

/* Tool cards */

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.tool-card {
    min-height: 290px;
    padding: 27px;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid var(--am-border);
    border-radius: 23px;
    background:
        linear-gradient(155deg, #ffffff 0%, #fbfaf6 100%);
    color: var(--am-black);
    text-decoration: none;
    box-shadow: var(--am-shadow);
    overflow: hidden;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.tool-card::before {
    content: "";
    width: 140px;
    height: 140px;
    position: absolute;
    top: -75px;
    left: -60px;
    border-radius: 50%;
    background: var(--am-yellow);
    opacity: 0.13;
    transition: transform 0.35s ease;
}

.tool-card::after {
    content: "";
    width: 60px;
    height: 5px;
    position: absolute;
    right: 27px;
    bottom: 25px;
    border-radius: 20px;
    background: var(--am-yellow);
}

.tool-card:hover {
    border-color: rgba(255, 197, 0, 0.75);
    box-shadow: var(--am-shadow-hover);
    transform: translateY(-8px);
}

.tool-card:hover::before {
    transform: scale(1.6);
}

.tool-icon {
    width: 63px;
    height: 63px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(17, 17, 17, 0.08);
    border-radius: 18px;
    background: var(--am-yellow);
    color: var(--am-black);
    box-shadow: 0 12px 27px rgba(255, 197, 0, 0.27);
    font-family: "AM Helvetica Rounded", sans-serif;
    font-size: 25px;
    font-weight: bold;
}

.tool-card h2 {
    margin: 0 0 13px;
    color: var(--am-black);
    font-size: 21px;
}

.tool-card p {
    margin: 0;
    color: var(--am-muted);
    font-size: 13px;
    line-height: 2;
}

.tool-action {
    margin-top: auto;
    padding-top: 22px;
    color: #8e6d00;
    font-size: 12px;
    font-weight: bold;
}

/* Forms */

.fields,
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.field,
.form-field {
    padding: 15px;
    border: 1px solid rgba(17, 17, 17, 0.07);
    border-radius: 15px;
    background: rgba(250, 249, 245, 0.72);
    transition: 0.2s ease;
}

.field:focus-within,
.form-field:focus-within {
    border-color: rgba(255, 197, 0, 0.8);
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(255, 197, 0, 0.08);
}

.field.full,
.field.full-width,
.form-field.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 9px;
    color: #323232;
    font-size: 12px;
    font-weight: bold;
}

input,
select,
textarea {
    width: 100%;
    min-height: 50px;
    padding: 0 14px;
    border: 1px solid rgba(17, 17, 17, 0.12);
    border-radius: 11px;
    background: #ffffff;
    color: var(--am-black);
      font-family:
         "AM Helvetica Neue",
        "Vazirmatn",
        "IRANSansX",
        Tahoma,
        Arial,
        sans-serif;
    font-synthesis: none;
    font-size: 14px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

input {
    direction: ltr;
    text-align: left;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--am-yellow-dark);
    box-shadow: 0 0 0 4px rgba(255, 197, 0, 0.13);
}

input[readonly] {
    background: #eeeeeb;
    color: #777777;
}

.hint {
    margin-top: 8px;
    color: #888888;
    font-size: 10px;
    line-height: 1.8;
}

.error,
.error-message {
    margin-top: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    background: #fff0f0;
    color: #bc2525;
    font-size: 11px;
    line-height: 1.7;
}

button,
.primary-button {
    min-height: 52px;
    margin-top: 25px;
    border-radius: 12px;
    background:
        linear-gradient(135deg, #ffd534, var(--am-yellow));
    color: var(--am-black);
    box-shadow:
        0 14px 30px rgba(255, 197, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

button:hover,
.primary-button:hover {
    background:
        linear-gradient(135deg, var(--am-yellow), var(--am-yellow-dark));
    transform: translateY(-1px);
}

/* Results */

.result,
.result-card {
    margin-top: 28px;
    padding: 27px;
    position: relative;
    border: 1px solid rgba(255, 197, 0, 0.50);
    border-radius: 20px;
    background:
        linear-gradient(145deg, #fffdf4, #fff8d5);
    box-shadow:
        0 16px 40px rgba(112, 85, 0, 0.08);
    overflow: hidden;
}

.result::before,
.result-card::before {
    content: "";
    width: 10px;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    background: var(--am-yellow);
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
}

.result-item {
    padding: 16px;
    border: 1px solid rgba(17, 17, 17, 0.07);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.75);
    color: var(--am-muted);
}

.result-item strong,
.result-item span {
    display: block;
    margin-top: 7px;
    color: var(--am-black);
    font-size: 18px;
}

.maximum-power {
    grid-column: 1 / -1;
    border: 2px solid var(--am-yellow);
    background: #ffffff;
}

.maximum-power strong {
    color: var(--am-black);
    font-family: "AM Helvetica Rounded", sans-serif;
    font-size: 31px;
}

/* Tables */

table {
    width: 100%;
    margin-top: 20px;
    border-spacing: 0;
    border-collapse: separate;
    border: 1px solid var(--am-border);
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
}

th,
td {
    padding: 13px;
    border: 0;
    border-bottom: 1px solid var(--am-border);
    text-align: center;
    font-size: 12px;
}

th {
    background: var(--am-yellow);
    color: var(--am-black);
}

tbody tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover td {
    background: var(--am-yellow-soft);
}

/* Alerts */

.alert {
    margin-bottom: 20px;
    padding: 14px 17px;
    border-radius: 12px;
    font-size: 12px;
    line-height: 1.9;
}

.alert-success {
    border: 1px solid #b8e6c3;
    background: #edf9f0;
    color: #18632c;
}

.alert-error {
    border: 1px solid #efc1c1;
    background: #fff1f1;
    color: #a02222;
}

/* About page enhancement */

.about-am-hero,
.about-am-introduction,
.about-am-security,
.about-am-owner,
.about-am-legacy,
.about-am-notice {
    box-shadow: var(--am-shadow);
}

.about-am-introduction,
.about-am-security,
.about-am-owner,
.about-am-legacy {
    border: 1px solid rgba(255, 255, 255, 0.85);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(250, 249, 245, 0.96));
}

.about-am-image-frame {
    box-shadow:
        0 30px 70px rgba(17, 17, 17, 0.18),
        0 0 0 9px rgba(255, 255, 255, 0.20);
}

.about-am-owner-logo {
    position: relative;
    border: 1px solid rgba(17, 17, 17, 0.08);
    box-shadow: 0 16px 45px rgba(17, 17, 17, 0.07);
}

.about-am-owner-logo::after {
    content: "";
    height: 5px;
    position: absolute;
    right: 18px;
    left: 18px;
    bottom: -1px;
    border-radius: 20px 20px 0 0;
    background: var(--am-yellow);
}

/* Footer */

.site-footer {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto 25px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    border-radius: 21px;
    background: var(--am-black);
    color: #ffffff;
    box-shadow: 0 20px 50px rgba(17, 17, 17, 0.15);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.footer-brand-mark {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: var(--am-yellow);
    color: var(--am-black);
    font-family: "AM Helvetica Rounded", sans-serif;
    font-weight: bold;
}

.footer-brand strong {
    display: block;
    font-size: 13px;
}

.footer-brand span {
    display: block;
    margin-top: 3px;
    color: #a9a9a9;
    font-size: 9px;
}

.footer-meta {
    color: #bcbcbc;
    font-size: 10px;
}

/* Responsive */

@media (max-width: 980px) {
    .navigation-toggle {
        display: flex;
    }

    .main-navigation {
        width: calc(100% - 28px);
        padding: 10px;
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        right: 14px;
        left: 14px;
        flex-direction: column;
        align-items: stretch;
        border: 1px solid rgba(255, 255, 255, 0.85);
        border-radius: 17px;
        background: rgba(255, 255, 255, 0.96);
        box-shadow: var(--am-shadow);
        backdrop-filter: blur(18px);
    }

    .main-navigation.open {
        display: flex;
    }

    .main-navigation a {
        justify-content: flex-start;
    }

    .dashboard-hero {
        grid-template-columns: 1fr;
    }

    .dashboard-visual {
        display: none;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .topbar {
        width: calc(100% - 20px);
        margin-top: 10px;
        top: 7px;
    }

    .topbar-inner {
        min-height: 67px;
        padding: 8px;
    }

    .brand-mark {
        width: 48px;
        height: 48px;
    }

    .brand-subtitle,
    .header-user {
        display: none;
    }

    .site-main {
        width: calc(100% - 22px);
        padding-top: 25px;
    }

    .dashboard-hero {
        min-height: auto;
        padding: 31px 22px;
        border-radius: 22px;
    }

    .dashboard-hero h1 {
        font-size: 39px;
    }

    .dashboard-stats,
    .fields,
    .form-grid,
    .result-grid {
        grid-template-columns: 1fr;
    }

    .field.full,
    .field.full-width,
    .form-field.full-width,
    .maximum-power {
        grid-column: auto;
    }

    .page-card,
    .card {
        padding: 25px 17px;
        border-radius: 21px;
    }

    .site-footer {
        width: calc(100% - 20px);
        padding: 20px;
        flex-direction: column;
        align-items: flex-start;
    }
}
.brand-subtitle,
.footer-meta,
.header-user span,
.dashboard-stat span,
.hint {
    font-family:
        "Vazirmatn",
        "IRANSansX",
        Tahoma,
        Arial,
        sans-serif;
    font-weight: 400;
    text-shadow: none;
}

.footer-meta,
.header-user strong,
.brand-subtitle {
    font-size: 11px;
    line-height: 1.6;
}

.main-navigation a {
    font-weight: 500;
    text-shadow: none;
}

.tool-card p,
.description,
.about-am-tool-card p,
.about-am-notice p {
    font-weight: 400;
    text-shadow: none;
}
body,
body * {
    text-shadow: none;
}
input::placeholder,
textarea::placeholder {
    color: #929292;
    opacity: 1;
font-family:   "AM Helvetica Neue",
        "Vazirmatn",
        "IRANSansX",
        Tahoma,
        Arial,
        sans-serif;

    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0;
    text-shadow: none;
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
    color: #929292;
    opacity: 1;
}

input::-moz-placeholder,
textarea::-moz-placeholder {
    color: #929292;
    opacity: 1;
}
input[type="number"],
input[type="tel"],
input[type="password"],
input[inputmode="numeric"],
input[inputmode="decimal"],
.result-value,
.result-item strong,
.maximum-power strong,
.footer-meta,
.header-user strong {
    font-family:
        "AM Helvetica Neue",
        "Vazirmatn",
        Tahoma,
        Arial,
        sans-serif;

    font-variant-numeric: tabular-nums;
    font-synthesis: none;
}
body,
body * {
    text-shadow: none;
}

html,
body {
    font-synthesis: none;
}
.admin-page-header {
    padding: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    border-radius: 27px;
    background: linear-gradient(135deg, #ffcf2e, #ffc500);
    box-shadow: 0 22px 60px rgba(92, 70, 0, 0.16);
}

.admin-page-header h1 {
    margin: 0 0 10px;
    color: #111111;
}

.admin-page-header p {
    margin: 0;
    color: #4e3d00;
}

.admin-header-badge {
    min-width: 150px;
    padding: 18px;
    border: 1px solid rgba(17, 17, 17, 0.13);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.33);
}

.admin-header-badge span,
.admin-stat-card span {
    display: block;
    color: #665100;
    font-size: 11px;
}

.admin-header-badge strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
}

.admin-statistics {
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 15px;
}

.admin-stat-card {
    padding: 20px;
    border: 1px solid var(--am-border);
    border-radius: 17px;
    background: #ffffff;
    box-shadow: var(--am-shadow);
}

.admin-stat-card strong {
    display: block;
    margin-top: 7px;
    color: #111111;
    font-size: 24px;
}

.admin-search-form {
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: end;
    gap: 12px;
}

.admin-search-form button {
    min-width: 110px;
    margin: 0;
}

.admin-clear-search {
    min-height: 52px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--am-border);
    border-radius: 12px;
    color: #555555;
    text-decoration: none;
}

.admin-table-wrapper {
    overflow-x: auto;
}

.user-role,
.user-status {
    padding: 6px 10px;
    display: inline-flex;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.user-role-admin {
    background: #fff1a8;
    color: #6d5300;
}

.user-role-normal {
    background: #eeeeee;
    color: #555555;
}

.user-status-active {
    background: #e6f8eb;
    color: #26713a;
}

.user-status-inactive {
    background: #ffeaea;
    color: #a82b2b;
}

.admin-empty-state {
    padding: 35px;
    color: #777777;
}

.admin-pagination {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.admin-pagination a,
.admin-pagination .disabled {
    padding: 9px 13px;
    border-radius: 9px;
    background: #f1f1ee;
    color: #333333;
    font-size: 11px;
    text-decoration: none;
}

.admin-pagination a:hover {
    background: #ffc500;
}

.admin-pagination .disabled {
    opacity: 0.45;
}

.profile-layout {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-information-card {
    padding: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 17px;
    border-radius: 21px;
    background: linear-gradient(135deg, #ffcf2e, #ffc500);
    box-shadow: 0 18px 50px rgba(92, 70, 0, 0.15);
}

.profile-avatar {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 17px;
    background: #111111;
    color: #ffffff;
    font-size: 20px;
    font-weight: bold;
}

.profile-information-card span {
    display: block;
    color: #6d5600;
    font-size: 11px;
}

.profile-information-card strong {
    display: block;
    margin-top: 5px;
    color: #111111;
}

.profile-account-status {
    padding: 12px 16px;
    border: 1px solid rgba(17, 17, 17, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.30);
}

.profile-section-heading {
    margin-bottom: 25px;
}

@media (max-width: 750px) {
    .admin-page-header {
        padding: 25px 19px;
        flex-direction: column;
        align-items: stretch;
    }

    .admin-statistics {
        grid-template-columns: 1fr;
    }

    .admin-search-form {
        grid-template-columns: 1fr;
    }

    .profile-information-card {
        grid-template-columns: auto 1fr;
    }

    .profile-account-status {
        grid-column: 1 / -1;
    }
}