footer .footer-app-card { position: relative; overflow: visible; cursor: default; border: 1px solid #e8c77f; border-radius: 14px; background: linear-gradient(145deg, #fffaf0, #fff); color: #17334a; }
footer .footer-app-card:focus { outline: 2px solid #f5b323; outline-offset: 4px; }
footer .footer-app-card { padding:12px 14px; }
footer .footer-app-status { display:flex;align-items:center;justify-content:center;gap:6px;padding:4px 12px;border-radius:999px;background:#ffc533;color:#493600;font-size:12px;line-height:1.6;font-weight:700;white-space:nowrap; }
footer .footer-app-title { color:inherit;font-size:inherit;font-weight:inherit; }
footer .footer-app-soon { color:inherit;font-size:inherit;font-weight:inherit; }
footer .footer-app-visuals { display:flex;direction:rtl;align-items:center;justify-content:center;gap:12px; }
footer .footer-app-logo { width:64px;height:64px;object-fit:contain;flex-shrink:0; }
.dark footer .footer-app-card { background: linear-gradient(145deg, #183448, #122635); color: #f8fafc; border-color: #867142; }
footer .footer-app-platforms { display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:6px; }
footer .footer-app-platform { display:grid;grid-template-columns:24px 1fr;direction:ltr;align-items:center;gap:6px;text-align:left;font-size:11px;font-weight:600; }
footer .footer-app-platform svg { width:24px;height:24px;fill:currentColor; }
footer .footer-app-android { color: #258543; }
footer .footer-app-ios { color: #374151; }
.dark footer .footer-app-ios { color: #e5e7eb; }
.dark footer .footer-app-android { color: #7ddc96; }
/* Recolor only the three neutral contact assets; keep every brand image intact. */
.dark footer img:is([src$="/images/gps.png"], [src$="/images/phone.png"], [src$="/images/email.png"]) {
    filter: brightness(0) invert(1);
    opacity: .88;
}
.dark footer a[href^="https://trustseal.enamad.ir/"] { background:#fff;border-color:#e5e7eb; }
.dark footer :is(a, button):not(.footer-development-dialog *):focus-visible {
    outline: 2px solid #f5b323;
    outline-offset: 4px;
    border-radius: 4px;
}
footer .footer-app-tooltip { position: absolute; z-index: 20; inset-inline: 0; bottom: calc(100% + 10px); padding: 12px 10px; border: 1px solid #f5b323; border-radius: 10px; background: #153348; color: #fff; box-shadow: 0 8px 24px #15334826; font-size: 12px; line-height: 1.9; text-align: center; white-space: normal; opacity: 0; visibility: hidden; transition: opacity .15s ease; }
footer .footer-app-tooltip::after { content: ""; position: absolute; top: 100%; left: calc(50% - 6px); border: 6px solid transparent; border-top-color: #153348; }
footer .footer-app-tooltip::before { content: ""; position: absolute; inset-inline: 0; top: 100%; height: 12px; }
footer .footer-app-card:not([data-tooltip-dismissed]):is(:hover, :focus-within) .footer-app-tooltip { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: reduce) { footer .footer-app-tooltip { transition: none; } }

footer .footer-social-panel {
    position: relative;
    z-index: 1;
    justify-content: space-between;
    min-height: 56px;
    padding: 6px 24px 6px 0;
    border-radius: 12px;
    background: #f3f4f6;
    overflow: visible;
}

footer .dataRythms {
    position: relative;
    inset: auto;
    width: auto;
    flex: 0 0 auto;
    margin: 0 auto 0 0;
    transform: none;
}

footer .datary-credit-card {
    direction: ltr;
    display: flex;
    width: auto;
    min-height: 44px;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #4b5563;
    text-decoration: none;
    transition: background-color .2s ease;
}

footer .datary-credit-card:hover {
    background: transparent;
    color: #374151;
    text-decoration: none;
}

footer .datary-credit-logo {
    display: block;
    width: 36px;
    height: 36px;
    max-width: 36px;
    flex: 0 0 36px;
    margin: 0;
    border-radius: 50%;
    object-fit: contain;
}

footer .datary-credit-copy {
    direction: rtl;
    display: flex;
    min-width: 0;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 22px;
}

footer .datary-credit-title {
    color: #52525b;
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
}

footer .datary-domain {
    color: #006400;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: normal;
}

.dark footer .datary-credit-card,
.dark footer .datary-credit-title { color: #e5e7eb; }
.dark footer .datary-credit-card:hover,
.dark footer .datary-credit-card:hover .datary-credit-title { color: #fff; }
.dark footer .datary-domain { color: #86efac; }

footer .datary-tooltip {
    position: absolute;
    top: calc(100% + 6px);
    left: -16px;
    transform: none;
    width: 320px;
    max-width: calc(100vw - 32px);
    padding: 5px 0;
    border: 2px solid #7710c6;
    border-radius: 15px;
    background: #ffc533;
    color: #000;
    font-family: 'PelakSemiBold', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.8;
    text-align: center;
    direction: rtl;
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, visibility .25s;
    z-index: 10;
}

footer .datary-tooltip::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    height: 8px;
}

footer .datary-tooltip span {
    font-family: 'PelakMedium', sans-serif;
    font-size: 13px;
    font-weight: 500;
}

footer .dataRythms:hover .datary-tooltip,
footer .dataRythms:focus-within .datary-tooltip {
    opacity: 1;
    visibility: visible;
}

footer .datary-platform-line {
    direction: rtl;
    display: flex;
    width: fit-content;
    max-width: 100%;
    align-items: center;
    justify-content: flex-start;
    gap: 3px;
    margin: 0 auto 0 5px;
    padding-left: 5px;
    color: #111;
    line-height: 1.5;
    white-space: nowrap;
    text-decoration: none;
}

footer .datary-platform-text {
    font-family: 'Anjoman Max NoEn Medium', Tahoma, sans-serif;
    font-size: 14px;
    font-weight: 500;
}

footer .datary-tire2x {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1px;
    font-family: 'Eras Demi ITC', Arial, sans-serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: .2px;
}

footer .datary-tire2x img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

footer .datary-platform-line:hover .datary-platform-text {
    text-decoration: underline;
    text-underline-offset: 3px;
}

footer .datary-platform-line:focus-visible {
    outline: 2px solid #008b68;
    outline-offset: 4px;
    border-radius: 3px;
}

.dark footer .datary-platform-line { color: #e5e7eb; }

@media (max-width: 767px) {
    footer .footer-social-panel { padding: 12px 8px; flex-direction: column; }
    footer .dataRythms { align-self: flex-end; }
    footer .datary-tooltip { left: 0; }
}

@media (max-width: 430px) {
    footer .datary-platform-line { white-space: normal; }
    footer .datary-platform-text { font-size: 13px; }
    footer .datary-tire2x { font-size: 14px; }
}

/* Development statement and the five supplied documentation marks. */
footer .footer-development-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px 28px;
    padding: 8px 5px 22px;
    color: #171a20;
    direction: rtl;
}
.footer-development-copyright { margin: 0; font-size: 12px; line-height: 2; }
.footer-development-copyright a { color: #bf080e; font-weight: 700; }
.footer-development-trigger {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 20px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    direction: ltr;
    text-align: right;
}
.footer-development-label { max-width: 330px; direction: rtl; font-size: 12px; line-height: 2; text-wrap: balance; }
.footer-development-trigger:hover .footer-development-label { color: inherit; text-decoration: none; }
.footer-development-trigger:focus-visible, .footer-development-close:focus-visible, .footer-development-links a:focus-visible { outline: 3px solid #b91c32; outline-offset: 5px; border-radius: 6px; }
.footer-standard-badges { display: flex; flex-shrink: 0; align-items: center; justify-content: center; gap: 8px; }
.footer-standard-badges img { display: block; width: 42px; height: 48px; object-fit: contain; mix-blend-mode: multiply; }
.footer-development-trigger .footer-standard-badges img { clip-path: polygon(50% 0, 100% 26%, 100% 74%, 50% 100%, 0 74%, 0 26%); }
html.footer-development-open { overflow: hidden; }
.footer-development-dialog {
    position: fixed;
    inset: 0;
    width: min(1080px, calc(100vw - 48px));
    max-width: none;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 0;
    border: 1.5px solid #143b4a;
    border-radius: 32px;
    background: #fff;
    color: #202d38;
    font-family: inherit;
    box-shadow: 0 24px 90px #081b3a33;
    overflow: hidden;
}
.footer-development-dialog:not([open]) { display: none; }
.footer-development-dialog::backdrop { background: #10243599; backdrop-filter: blur(3px); }
.footer-development-content { display: flex; flex-direction: column; max-height: inherit; }
.footer-development-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-shrink: 0; padding: 22px 30px 12px; }
.footer-development-heading h2 { margin: 0; font-size: 20px; font-weight: 700; color: inherit; }
.footer-development-close { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #dfe5e9; border-radius: 50%; color: #314755; background: #f7f9fa; cursor: pointer; }
.footer-development-close:hover { background: #fceef0; color: #b91c32; border-color: #e8c8cf; }
.footer-development-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding: 0 30px 28px; }
.footer-development-body p { margin: 12px 0; font-size: 15px; line-height: 2.4; text-align: right; }
.footer-development-body .footer-development-emphasis { color: #bf080e; font-size: 16px; font-weight: 700; text-align: center; margin-top: 20px; }
.footer-standard-badges-large { gap: 38px; margin: 22px 0 34px; }
.footer-standard-badges-large img { width: 82px; height: 94px; }
.footer-development-links { display: flex; justify-content: space-between; align-items: center; gap: 18px; border: 1px solid #143b4a; border-radius: 10px; padding: 12px 16px; }
.footer-development-links a { display: flex; align-items: center; gap: 8px; color: #243747; font-size: 13px; line-height: 2; text-decoration: none; }
.footer-development-links a:hover { color: #243747; text-decoration: none; cursor: pointer; }
.footer-development-links img { width: 30px; height: 30px; object-fit: contain; flex-shrink: 0; }
.footer-development-links .footer-development-platform img { width: 28px; height: 28px; }
.footer-development-marks { display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 20px; direction: ltr; margin: 22px 0 26px; }
.footer-development-marks .footer-standard-badges-large { margin: 0; }
.footer-development-qr { width: 132px; height: 132px; }
.footer-development-qr img { display: block; width: 132px; height: 132px; object-fit: contain; }
.dark footer .footer-development-row { color: #e5e7eb; }
.dark footer .footer-development-copyright a { color: #fda4af; }
.dark footer .footer-development-trigger .footer-standard-badges img { mix-blend-mode: normal; }
@media (max-width: 1199px) {
    footer .footer-development-row { flex-wrap: wrap; }
    .footer-development-trigger { margin-right: auto; }
}
@media (max-width: 767px) {
    footer .footer-development-row { flex-direction: column-reverse; gap: 20px; padding: 14px 0 24px; }
    .footer-development-trigger { flex-direction: column; flex-shrink: 1; gap: 10px; margin: 0; width: 100%; text-align: center; }
    .footer-development-copyright { text-align: center; font-size: 11px; }
    .footer-standard-badges { gap: 10px; }
    .footer-standard-badges img { width: 40px; height: 46px; }
    .footer-development-dialog { width: calc(100vw - 24px); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); border-radius: 22px; }
    .footer-development-heading { padding: 16px 18px 8px; }
    .footer-development-heading h2 { font-size: 18px; }
    .footer-development-body { padding: 0 18px 20px; }
    .footer-development-body p { font-size: 13px; line-height: 2.2; }
    .footer-development-body .footer-development-emphasis { font-size: 14px; }
    .footer-standard-badges-large { gap: clamp(6px, 2vw, 16px); margin: 20px 0 24px; }
    .footer-standard-badges-large img { width: clamp(38px, 12vw, 66px); height: auto; aspect-ratio: 0.88; }
    .footer-development-marks { grid-template-columns: minmax(0, 1fr); gap: 18px; margin: 20px 0 24px; }
    .footer-development-marks .footer-standard-badges-large { grid-row: 1; }
    .footer-development-qr { grid-row: 2; justify-self: start; }
    .footer-development-links { flex-direction: column; align-items: stretch; padding: 12px; gap: 12px; }
    .footer-development-links a { justify-content: center; font-size: 12px; text-align: center; }
    .footer-development-links a + a { border-top: 1px solid #e4e9ed; padding-top: 12px; }
}
