/* Download / payment page — full-width responsive (body.site-download) */

body.site-download {
    --dl-primary: #0f766e;
    --dl-primary-dark: #0d5f59;
    --dl-accent: #ea580c;
    --dl-bg: #f1f5f9;
    --dl-surface: #ffffff;
    --dl-surface-2: #f8fafc;
    --dl-border: #e2e8f0;
    --dl-text: #0f172a;
    --dl-muted: #64748b;
    --dl-radius: 16px;
    --dl-radius-sm: 12px;
    --dl-shadow: 0 10px 36px rgba(15, 23, 42, 0.08);
    --dl-font: "Vazirmatn", Tahoma, sans-serif;
    font-family: var(--dl-font);
    background:
        radial-gradient(ellipse 80% 50% at 100% 0%, rgba(15, 118, 110, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 40% at 0% 20%, rgba(234, 88, 12, 0.08), transparent 50%),
        var(--dl-bg);
    overflow-x: hidden;
}

body.site-download *,
body.site-download *::before,
body.site-download *::after {
    box-sizing: border-box;
}

body.site-download #container {
    max-width: min(100%, 1280px) !important;
    width: 100% !important;
    margin-inline: auto !important;
    padding: 12px clamp(12px, 2.5vw, 28px) 40px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    float: none !important;
    clear: both !important;
    min-width: 0 !important;
}

body.site-download .dl-page {
    float: none !important;
    width: 100%;
    max-width: 100%;
    clear: both;
}

body.site-download .dl-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 0 0 18px;
    padding: 0;
    background: none;
    border: none;
    font-size: 13px;
    color: var(--dl-muted);
}

body.site-download .dl-breadcrumb a {
    color: var(--dl-primary);
    text-decoration: none;
}

body.site-download .dl-breadcrumb a:hover {
    text-decoration: underline;
}

body.site-download .dl-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 20px 24px;
    align-items: start;
}

body.site-download .dl-main,
body.site-download .dl-aside {
    min-width: 0;
}

body.site-download .dl-card {
    background: var(--dl-surface);
    border: 1px solid var(--dl-border);
    border-radius: var(--dl-radius);
    box-shadow: var(--dl-shadow);
    padding: clamp(16px, 2.5vw, 28px);
    margin-bottom: 18px;
}

body.site-download .dl-card:last-child {
    margin-bottom: 0;
}

body.site-download .dl-card__title {
    margin: 0 0 14px;
    padding: 0 0 12px;
    border-bottom: 1px solid var(--dl-border);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--dl-text);
    line-height: 1.4;
}

body.site-download .dl-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(135deg, #0f766e 0%, #134e4a 55%, #1e293b 100%);
    color: #fff;
    border: none;
}

body.site-download .dl-hero::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

@keyframes dl-fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

body.site-download .dl-hero,
body.site-download .dl-pay,
body.site-download .dl-help {
    animation: dl-fade-up 0.45s ease both;
}

body.site-download .dl-pay { animation-delay: 0.08s; }
body.site-download .dl-help { animation-delay: 0.14s; }

body.site-download .dl-hero__label {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 12px;
    opacity: 0.85;
    letter-spacing: 0.02em;
}

body.site-download .dl-hero__title {
    margin: 0 0 16px;
    font-size: clamp(1.15rem, 2.4vw, 1.55rem);
    font-weight: 800;
    line-height: 1.55;
    color: #fff;
}

body.site-download .dl-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.site-download .dl-meta__item {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
}

body.site-download .dl-meta__item b {
    font-weight: 700;
    margin-right: 4px;
}

body.site-download .dl-meta__item a {
    color: #fff;
    text-decoration: underline;
}

body.site-download .dl-field {
    margin-bottom: 14px;
}

body.site-download .dl-field label,
body.site-download .dl-field .dl-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--dl-text);
}

body.site-download .dl-field input[type="text"],
body.site-download .dl-field input[type="password"],
body.site-download .dl-field .req,
body.site-download .dl-field .ltr,
body.site-download .dl-field .CapchaInput,
body.site-download #txtName,
body.site-download #txtMob,
body.site-download #txtEmail,
body.site-download #txtValidate,
body.site-download #txtTrace,
body.site-download #txtMail,
body.site-download #txtPass,
body.site-download #TextBox1 {
    width: 100% !important;
    max-width: 100% !important;
    height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--dl-border);
    border-radius: var(--dl-radius-sm);
    background: var(--dl-surface-2);
    font-family: var(--dl-font);
    font-size: 14px;
    color: var(--dl-text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.site-download .dl-field input:focus,
body.site-download #txtName:focus,
body.site-download #txtMob:focus,
body.site-download #txtEmail:focus,
body.site-download #txtValidate:focus,
body.site-download #txtTrace:focus {
    outline: none;
    border-color: var(--dl-primary);
    box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
    background: #fff;
}

body.site-download .dl-hint {
    margin: 6px 0 0;
    font-size: 12px;
    color: var(--dl-muted);
    line-height: 1.5;
}

body.site-download .dl-captcha {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

body.site-download .dl-captcha .CapchaInput,
body.site-download .dl-captcha #txtValidate {
    width: 140px !important;
    flex: 0 0 auto;
    letter-spacing: 0.12em;
    text-align: center;
    font-weight: 700;
}

body.site-download .captchalogin,
body.site-download .captchalogin img {
    display: block;
    border-radius: 8px;
    max-width: 100%;
}

body.site-download .dl-section-title {
    margin: 22px 0 10px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--dl-text);
}

body.site-download .dl-pay-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

body.site-download .dl-pay-actions .dlbtn,
body.site-download a.dlbtn {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    width: 100%;
    margin: 0 !important;
    padding: 14px 18px !important;
    border: none !important;
    border-radius: var(--dl-radius-sm) !important;
    background: linear-gradient(135deg, var(--dl-primary), var(--dl-primary-dark)) !important;
    color: #fff !important;
    text-decoration: none !important;
    font-family: var(--dl-font);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    box-shadow: 0 8px 20px rgba(15, 118, 110, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

body.site-download .dl-pay-actions .dlbtn:hover,
body.site-download a.dlbtn:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
    box-shadow: 0 12px 28px rgba(15, 118, 110, 0.35);
    color: #fff !important;
}

body.site-download .dl-pay-actions .dlbtn img {
    display: none;
}

body.site-download .dl-pay-actions .dlbtn span {
    display: block;
    font-size: 12px;
    font-weight: 500;
    opacity: 0.9;
}

body.site-download .dl-offline {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px dashed var(--dl-border);
}

body.site-download .dl-offline p {
    margin: 0 0 12px;
    font-size: 13px;
    color: var(--dl-muted);
    line-height: 1.7;
}

body.site-download .dl-offline-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

body.site-download .dl-offline-row .dl-field {
    flex: 1 1 160px;
    margin-bottom: 0;
}

body.site-download .dl-offline-row input[type="submit"],
body.site-download #offPlay {
    height: 44px;
    padding: 0 18px;
    border: none;
    border-radius: var(--dl-radius-sm);
    background: #1e293b;
    color: #fff;
    font-family: var(--dl-font);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

body.site-download .dl-help-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

body.site-download .dl-help-list li {
    position: relative;
    padding: 8px 0 8px 0;
    padding-right: 18px;
    font-size: 13px;
    color: var(--dl-muted);
    line-height: 1.7;
    border-bottom: 1px solid #f1f5f9;
}

body.site-download .dl-help-list li:last-child {
    border-bottom: none;
}

body.site-download .dl-help-list li::before {
    content: "";
    position: absolute;
    right: 0;
    top: 15px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--dl-primary);
}

body.site-download .dl-help-list a {
    color: var(--dl-primary);
}

body.site-download .dl-banks {
    display: block;
    margin: 16px auto 0;
    max-width: 100%;
    height: auto;
}

body.site-download .dl-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--dl-primary);
    font-size: 13px;
    text-decoration: none;
}

body.site-download .dl-aside .dl-card {
    padding: 16px;
}

body.site-download .dl-login .lft {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

body.site-download .dl-login a {
    display: inline-block;
    margin: 4px 0;
    font-size: 12px;
    color: var(--dl-primary);
}

body.site-download .dl-login input[type="submit"],
body.site-download .dl-login #Button1 {
    height: 40px;
    padding: 0 16px;
    border: none;
    border-radius: 10px;
    background: var(--dl-primary);
    color: #fff;
    font-family: var(--dl-font);
    cursor: pointer;
}

body.site-download .dl-aside .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.site-download .dl-aside .sub-menu li {
    margin: 0;
    border-bottom: 1px solid var(--dl-border);
}

body.site-download .dl-aside .sub-menu a {
    display: block;
    padding: 10px 4px;
    color: var(--dl-text);
    text-decoration: none;
    font-size: 13px;
}

body.site-download .dl-aside .sub-menu a:hover {
    color: var(--dl-primary);
}

body.site-download .dl-filelist a {
    color: var(--dl-text);
    text-decoration: none;
    font-size: 12px;
    line-height: 1.5;
}

body.site-download .dl-filelist a:hover {
    color: var(--dl-primary);
}

body.site-download .dl-filelist img {
    float: right;
    margin-left: 8px;
    margin-bottom: 4px;
    border-radius: 8px;
}

body.site-download .dl-filelist span {
    display: block;
    clear: both;
    margin: 4px 0 12px;
    font-size: 12px;
    color: var(--dl-muted);
}

body.site-download .dl-filelist hr {
    border: none;
    border-top: 1px solid var(--dl-border);
    margin: 10px 0;
}

body.site-download .dl-redirect {
    text-align: center;
    padding: 48px 20px;
}

body.site-download .dl-redirect h1 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    color: var(--dl-text);
}

body.site-download .warning {
    margin-bottom: 14px;
    padding: 12px 14px;
    border-radius: var(--dl-radius-sm);
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-size: 13px;
    line-height: 1.6;
}

body.site-download .graybg {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

@media (max-width: 960px) {
    body.site-download .dl-layout {
        grid-template-columns: 1fr;
    }

    body.site-download .dl-aside {
        order: 2;
    }
}

@media (max-width: 640px) {
    body.site-download #container {
        padding: 8px 10px 28px !important;
    }

    body.site-download .dl-card {
        padding: 14px;
        border-radius: 14px;
    }

    body.site-download .dl-meta__item {
        width: 100%;
        border-radius: 12px;
    }

    body.site-download .dl-captcha .CapchaInput,
    body.site-download .dl-captcha #txtValidate {
        width: 100% !important;
    }
}
