@font-face {
    font-family: "Vazirmatn DNLA";
    src: url("../fonts/Vazirmatn.woff2") format("woff2");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

body.dnla-page-active {
    overflow-x: hidden;
}

.dnla,
.dnla * {
    box-sizing: border-box;
}

.dnla {
    --dnla-blue: #2868f7;
    --dnla-blue-dark: #1752dc;
    --dnla-ink: #071d45;
    --dnla-muted: #6f7f9b;
    --dnla-border: #cfdaec;
    position: relative;
    isolation: isolate;
    width: 100vw;
    max-width: 100vw;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-inline: calc(50% - 50vw);
    padding: 38px 20px;
    color: var(--dnla-ink);
    font-family: "Vazirmatn DNLA", Vazirmatn, Tahoma, Arial, sans-serif;
    background:
        radial-gradient(circle at 12% 20%, rgba(197, 248, 245, .9), transparent 34%),
        radial-gradient(circle at 88% 85%, rgba(213, 226, 255, .92), transparent 38%),
        linear-gradient(135deg, #eefbfb 0%, #f6f9ff 52%, #edf3ff 100%);
}

.dnla__glow {
    position: absolute;
    z-index: -1;
    border-radius: 999px;
    filter: blur(10px);
    pointer-events: none;
}

.dnla__glow--one {
    width: 310px;
    height: 310px;
    top: -110px;
    right: -90px;
    background: rgba(85, 221, 211, .16);
}

.dnla__glow--two {
    width: 380px;
    height: 380px;
    bottom: -180px;
    left: -130px;
    background: rgba(68, 112, 246, .13);
}

.dnla__card {
    width: min(100%, 680px);
    padding: 24px 28px 20px;
    border: 1px solid rgba(255, 255, 255, .92);
    border-radius: 24px;
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 30px 70px rgba(28, 60, 116, .14), inset 0 1px 0 rgba(255, 255, 255, .95);
    backdrop-filter: blur(20px) saturate(125%);
    -webkit-backdrop-filter: blur(20px) saturate(125%);
}

.dnla__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    margin: 0 0 8px auto;
    border-radius: 15px;
    color: var(--dnla-blue);
    background: linear-gradient(145deg, #f0f5ff, #e6edff);
}

.dnla__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dnla__eyebrow {
    margin: 0 0 2px;
    color: #2c69d9;
    font-size: 12px;
    font-weight: 600;
}

.dnla__title {
    margin: 0;
    color: var(--dnla-ink);
    font-family: inherit;
    font-size: clamp(22px, 4.2vw, 27px);
    font-weight: 800;
    line-height: 1.6;
}

.dnla__intro {
    margin: 2px 0 15px;
    color: var(--dnla-muted);
    font-size: 13px;
    line-height: 1.9;
}

.dnla__form {
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
}

.dnla__field {
    min-width: 0;
    margin: 0;
}

.dnla__field--wide,
.dnla__consent,
.dnla__submit,
.dnla__status,
.dnla__honey {
    grid-column: 1 / -1;
}

.dnla__field label {
    display: block;
    margin: 0 2px 5px;
    color: #20395f;
    font: 500 13px/1.8 "Vazirmatn DNLA", Vazirmatn, Tahoma, Arial, sans-serif;
}

.dnla__field label span {
    color: #8c9ab0;
    font-weight: 400;
}

.dnla__control {
    position: relative;
}

.dnla__control > svg {
    position: absolute;
    z-index: 2;
    top: 50%;
    right: 15px;
    width: 19px;
    height: 19px;
    transform: translateY(-50%);
    fill: none;
    stroke: #99a8be;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.dnla input[type="text"],
.dnla input[type="tel"],
.dnla select,
.dnla textarea {
    width: 100%;
    margin: 0;
    border: 1px solid var(--dnla-border);
    border-radius: 10px;
    outline: 0;
    color: #142d53;
    background: rgba(255, 255, 255, .62);
    box-shadow: inset 0 1px 2px rgba(31, 55, 94, .025);
    font: 400 13px/1.7 "Vazirmatn DNLA", Vazirmatn, Tahoma, Arial, sans-serif;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.dnla input[type="text"],
.dnla input[type="tel"],
.dnla select {
    height: 43px;
    padding: 8px 45px 8px 13px;
}

.dnla textarea {
    min-height: 66px;
    resize: vertical;
    padding: 12px 14px;
}

.dnla .dnla__control--select select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 50px !important;
    padding-left: 42px !important;
    text-align: right !important;
    background-image: none !important;
    cursor: pointer;
}

/* Enhanced course picker: its options are HTML, so the local font renders in Firefox too. */
.dnla .dnla__native-select {
    display: none;
}

.dnla__control--select.is-open {
    z-index: 10;
}

.dnla .dnla__course-trigger {
    width: 100%;
    height: 43px;
    display: flex;
    align-items: center;
    padding: 8px 50px 8px 42px;
    border: 1px solid var(--dnla-border);
    border-radius: 10px;
    color: #142d53;
    background: rgba(255, 255, 255, .62);
    font: 400 13px/1.7 "Vazirmatn DNLA", Vazirmatn, Tahoma, Arial, sans-serif;
    text-align: right;
    cursor: pointer;
}

.dnla .dnla__course-trigger:focus-visible {
    border-color: #6e98ff;
    outline: 3px solid rgba(40, 104, 247, .2);
    outline-offset: 1px;
}

.dnla__course-list {
    position: absolute;
    z-index: 20;
    inset-inline: 0;
    top: calc(100% + 5px);
    max-height: 220px;
    overflow-y: auto;
    padding: 5px;
    border: 1px solid var(--dnla-border);
    border-radius: 11px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(18, 44, 82, .18);
    font: 400 13px/1.8 "Vazirmatn DNLA", Vazirmatn, Tahoma, Arial, sans-serif;
}

.dnla__course-list[hidden] {
    display: none;
}

.dnla__course-option {
    padding: 7px 12px;
    border-radius: 7px;
    color: #142d53;
    text-align: right;
    cursor: pointer;
}

.dnla__course-option:hover,
.dnla__course-option.is-active,
.dnla__course-option[aria-selected="true"] {
    color: #1752dc;
    background: #eef3ff;
}

.dnla__control--select::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 7px;
    height: 7px;
    border-left: 1.5px solid #73829a;
    border-bottom: 1.5px solid #73829a;
    transform: translateY(-70%) rotate(-45deg);
    pointer-events: none;
}

.dnla input::placeholder,
.dnla textarea::placeholder {
    color: #a4afc0;
    opacity: 1;
}

.dnla input:focus,
.dnla select:focus,
.dnla textarea:focus {
    border-color: #6e98ff;
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 0 0 4px rgba(40, 104, 247, .1);
}

.dnla__consent {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 1px 1px;
    color: #60718c;
    cursor: pointer;
    font: 400 12px/1.8 "Vazirmatn DNLA", Vazirmatn, Tahoma, Arial, sans-serif;
}

.dnla__consent input {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
    margin: 3px 0 0;
    accent-color: var(--dnla-blue);
}

.dnla__submit {
    width: 100%;
    min-height: 47px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    border: 0;
    border-radius: 11px;
    color: #fff;
    background: linear-gradient(135deg, #3474ff, #2362ee);
    box-shadow: 0 13px 25px rgba(35, 98, 238, .25);
    cursor: pointer;
    font: 700 15px/1.6 "Vazirmatn DNLA", Vazirmatn, Tahoma, Arial, sans-serif;
    transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.dnla__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(35, 98, 238, .3);
}

.dnla__submit:focus-visible {
    outline: 3px solid rgba(35, 98, 238, .28);
    outline-offset: 3px;
}

.dnla__submit:disabled {
    cursor: wait;
    opacity: .75;
    transform: none;
}

.dnla__submit svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dnla__status {
    display: none;
    margin-top: 1px;
    padding: 10px 12px;
    border-radius: 9px;
    font-size: 13px;
    line-height: 1.8;
}

.dnla__status.is-visible {
    display: block;
}

.dnla__status.is-success {
    color: #086444;
    background: #e9fbf3;
    border: 1px solid #bcebd8;
}

.dnla__status.is-error {
    color: #9d2638;
    background: #fff0f2;
    border: 1px solid #f3cbd2;
}

.dnla__privacy {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin: 11px 0 0;
    color: #7a899f;
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
}

.dnla__privacy svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    fill: none;
    stroke: #20a779;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dnla__honey {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

@media (max-width: 767px) {
    .dnla {
        min-height: 0;
        padding: 22px 12px;
    }

    .dnla__card {
        padding: 21px 17px 18px;
        border-radius: 20px;
    }

    .dnla__icon {
        width: 49px;
        height: 49px;
        border-radius: 15px;
    }

    .dnla__intro {
        margin-bottom: 14px;
    }

    .dnla__form {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .dnla__field,
    .dnla__field--wide,
    .dnla__consent,
    .dnla__submit,
    .dnla__status,
    .dnla__honey {
        grid-column: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dnla *,
    .dnla *::before,
    .dnla *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

