﻿:root {
    --hero-blue-950: #061946;
    --hero-blue-900: #08245f;
    --hero-blue-800: #0b3b91;
    --hero-blue-700: #0f57c7;
    --hero-teal-600: #0596a6;
    --hero-teal-500: #0bb3c7;
    --hero-cyan-100: #e7f8ff;
    --hero-cyan-50: #f5fcff;
    --hero-text: #344054;
    --hero-muted: #667085;
    --hero-border: rgba(181, 218, 232, .75);
}

.event-hero {
    position: relative;
    min-height: calc(100svh - 76px);
    overflow: hidden;
    background: radial-gradient(circle at 82% 16%, rgba(11, 179, 199, .20), transparent 28%), radial-gradient(circle at 8% 12%, rgba(15, 87, 199, .13), transparent 26%), linear-gradient(180deg, #ffffff 0%, #f7fcff 58%, #ffffff 100%);
    padding: clamp(48px, 6vw, 86px) 0 clamp(34px, 5vw, 64px);
}

.event-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(15, 87, 199, .045) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(0deg, rgba(15, 87, 199, .035) 1px, transparent 1px) 0 0 / 64px 64px;
    mask-image: radial-gradient(circle at 70% 35%, black, transparent 72%);
}

.event-hero__container {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .98fr);
    gap: clamp(32px, 5vw, 70px);
    align-items: center;
}

.event-hero__content {
    max-width: 720px;
}

.event-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(231, 248, 255, .82);
    border: 1px solid rgba(11, 179, 199, .20);
    color: var(--hero-teal-600);
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 22px;
}

    .event-hero__badge span {
        width: 9px;
        height: 9px;
        border-radius: 50%;
        background: var(--hero-teal-500);
        box-shadow: 0 0 0 6px rgba(11, 179, 199, .12);
    }

.event-hero__title {
    margin: 0;
    color: var(--hero-blue-950);
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.04;
    letter-spacing: -.055em;
    font-weight: 900;
}

    .event-hero__title span {
        display: block;
        color: var(--hero-blue-800);
    }

.event-hero__lead {
    margin: 24px 0 0;
    max-width: 640px;
    color: var(--hero-text);
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.65;
}

.event-hero__meta {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 28px;
}

.event-hero__meta-item {
    min-height: 86px;
    padding: 16px 17px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(208, 231, 239, .95);
    box-shadow: 0 12px 28px rgba(8, 36, 95, .07);
}

    .event-hero__meta-item strong {
        display: block;
        color: var(--hero-blue-900);
        font-size: 15px;
        line-height: 1.25;
        margin-bottom: 5px;
    }

    .event-hero__meta-item span {
        display: block;
        color: var(--hero-muted);
        font-size: 13px;
        line-height: 1.35;
    }

.event-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

.event-hero__btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 24px;
    border-radius: 14px;
    font-weight: 850;
    font-size: 15px;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.event-hero__btn--primary {
    color: #fff;
    background: linear-gradient(135deg, var(--hero-blue-800), var(--hero-blue-700));
    box-shadow: 0 16px 34px rgba(15, 87, 199, .27);
}

.event-hero__btn--secondary {
    color: var(--hero-blue-800);
    background: rgba(255, 255, 255, .8);
    border: 1px solid rgba(15, 87, 199, .26);
}

.event-hero__btn:hover {
    transform: translateY(-2px);
}

.event-hero__btn--primary:hover {
    box-shadow: 0 20px 40px rgba(15, 87, 199, .34);
}

.event-hero__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(208, 231, 239, .9);
}

    .event-hero__stats div {
        min-width: 116px;
    }

    .event-hero__stats b {
        display: block;
        color: var(--hero-blue-950);
        font-size: 28px;
        line-height: 1;
    }

    .event-hero__stats span {
        display: block;
        margin-top: 6px;
        color: var(--hero-muted);
        font-size: 13px;
        font-weight: 700;
    }

/* RIGHT ABSTRACT MEDICAL VISUAL */

.event-hero__visual {
    position: relative;
    min-height: 560px;
}

.medical-panel {
    position: absolute;
    inset: 0;
    border-radius: 38px;
    overflow: hidden;
    background: radial-gradient(circle at 70% 18%, rgba(255, 255, 255, .90), transparent 22%), radial-gradient(circle at 20% 82%, rgba(11, 179, 199, .16), transparent 22%), linear-gradient(145deg, rgba(255, 255, 255, .96), rgba(221, 245, 255, .88));
    border: 1px solid rgba(188, 227, 242, .9);
    box-shadow: 0 28px 70px rgba(8, 36, 95, .16), inset 0 0 70px rgba(15, 87, 199, .06);
}

    .medical-panel::before {
        content: "";
        position: absolute;
        width: 620px;
        height: 620px;
        right: -210px;
        top: -160px;
        border-radius: 50%;
        border: 1px solid rgba(15, 87, 199, .14);
        box-shadow: inset 0 0 0 24px rgba(255, 255, 255, .32), inset 0 0 0 58px rgba(11, 179, 199, .07);
    }

    .medical-panel::after {
        content: "";
        position: absolute;
        left: 48px;
        right: 48px;
        bottom: 58px;
        height: 92px;
        border-radius: 28px 28px 16px 16px;
        background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(201,237,255,.80));
        border: 1px solid rgba(255, 255, 255, .9);
        box-shadow: 0 22px 44px rgba(8, 36, 95, .12);
    }

.medical-panel__header {
    position: absolute;
    top: 30px;
    left: 34px;
    display: flex;
    gap: 8px;
    z-index: 3;
}

    .medical-panel__header span {
        width: 10px;
        height: 10px;
        border-radius: 999px;
        background: rgba(15, 87, 199, .24);
    }

        .medical-panel__header span:nth-child(2) {
            background: rgba(11, 179, 199, .34);
        }

        .medical-panel__header span:nth-child(3) {
            background: rgba(5, 150, 166, .22);
        }

.medical-panel__title {
    position: absolute;
    left: 34px;
    right: 34px;
    top: 70px;
    z-index: 3;
    color: var(--hero-blue-900);
    font-size: 18px;
    line-height: 1.35;
    font-weight: 900;
}

.medical-panel__ecg {
    position: absolute;
    left: 34px;
    right: 34px;
    top: 155px;
    z-index: 4;
    width: calc(100% - 68px);
    height: 120px;
    color: var(--hero-teal-500);
    filter: drop-shadow(0 10px 22px rgba(11, 179, 199, .22));
}

.medical-panel__grid {
    position: absolute;
    inset: 112px 34px 180px;
    z-index: 1;
    border-radius: 28px;
    background: linear-gradient(90deg, rgba(15, 87, 199, .055) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(0deg, rgba(15, 87, 199, .045) 1px, transparent 1px) 0 0 / 36px 36px, linear-gradient(145deg, rgba(255,255,255,.70), rgba(231,248,255,.56));
    border: 1px solid rgba(255, 255, 255, .75);
}

.medical-symbol {
    position: absolute;
    z-index: 5;
    display: grid;
    place-items: center;
    border-radius: 26px;
    color: #fff;
    font-weight: 950;
    box-shadow: 0 18px 42px rgba(11, 179, 199, .28);
}

.medical-symbol--cross {
    left: 46px;
    top: 305px;
    width: 92px;
    height: 92px;
    font-size: 44px;
    background: linear-gradient(135deg, var(--hero-teal-500), var(--hero-blue-700));
}

.medical-symbol--o2 {
    right: 52px;
    top: 305px;
    width: 86px;
    height: 86px;
    font-size: 27px;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, var(--hero-blue-800), var(--hero-teal-600));
}

.molecule {
    position: absolute;
    z-index: 4;
}

    .molecule i {
        position: absolute;
        display: block;
        width: 42px;
        height: 42px;
        border-radius: 14px;
        transform: rotate(45deg);
        background: rgba(255, 255, 255, .64);
        border: 1px solid rgba(15, 87, 199, .16);
        box-shadow: 0 10px 24px rgba(8, 36, 95, .08);
    }

.molecule--one {
    right: 120px;
    top: 92px;
}

    .molecule--one i:nth-child(1) {
        left: 0;
        top: 0;
    }

    .molecule--one i:nth-child(2) {
        left: 46px;
        top: 34px;
    }

    .molecule--one i:nth-child(3) {
        left: -28px;
        top: 68px;
    }

    .molecule--one i:nth-child(4) {
        left: 42px;
        top: 104px;
    }

.molecule--two {
    left: 92px;
    bottom: 150px;
}

    .molecule--two i:nth-child(1) {
        left: 0;
        top: 0;
    }

    .molecule--two i:nth-child(2) {
        left: 48px;
        top: 38px;
    }

    .molecule--two i:nth-child(3) {
        left: -38px;
        top: 52px;
    }

.vent-card {
    position: absolute;
    z-index: 6;
    left: 174px;
    right: 174px;
    bottom: 74px;
    padding: 18px 20px;
    border-radius: 20px;
    background: rgba(255,255,255,.86);
    border: 1px solid rgba(188, 227, 242, .95);
    box-shadow: 0 16px 32px rgba(8, 36, 95, .11);
}

.vent-card__label {
    color: var(--hero-blue-900);
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 12px;
}

.vent-card__wave {
    height: 42px;
    display: flex;
    align-items: end;
    gap: 8px;
}

    .vent-card__wave span {
        display: block;
        flex: 1;
        border-radius: 999px 999px 6px 6px;
        background: linear-gradient(180deg, var(--hero-teal-500), rgba(11, 179, 199, .22));
    }

        .vent-card__wave span:nth-child(1) {
            height: 48%;
        }

        .vent-card__wave span:nth-child(2) {
            height: 88%;
        }

        .vent-card__wave span:nth-child(3) {
            height: 62%;
        }

        .vent-card__wave span:nth-child(4) {
            height: 74%;
        }

.topic-card {
    position: absolute;
    z-index: 6;
    width: 156px;
    padding: 14px 15px;
    border-radius: 18px;
    background: rgba(255,255,255,.80);
    border: 1px solid rgba(188, 227, 242, .92);
    box-shadow: 0 14px 28px rgba(8, 36, 95, .09);
}

    .topic-card strong {
        display: block;
        color: var(--hero-blue-900);
        font-size: 18px;
        line-height: 1;
        margin-bottom: 7px;
    }

    .topic-card span {
        display: block;
        color: var(--hero-muted);
        font-size: 12px;
        line-height: 1.35;
        font-weight: 700;
    }

.topic-card--one {
    left: 48px;
    bottom: 178px;
}

.topic-card--two {
    right: 50px;
    bottom: 178px;
}

@media (max-width: 1100px) {
    .event-hero__container {
        grid-template-columns: 1fr;
    }

    .event-hero__content {
        max-width: 100%;
    }

    .event-hero__visual {
        min-height: 520px;
    }
}

@media (max-width: 760px) {
    .event-hero {
        min-height: auto;
        padding-top: 36px;
    }

    .event-hero__meta {
        grid-template-columns: 1fr;
    }

    .event-hero__visual {
        min-height: 430px;
    }

    .medical-panel {
        border-radius: 28px;
    }

    .medical-panel__title {
        font-size: 15px;
    }

    .medical-panel__ecg {
        top: 135px;
    }

    .medical-symbol--cross {
        width: 72px;
        height: 72px;
        font-size: 34px;
        left: 30px;
        top: 286px;
    }

    .medical-symbol--o2 {
        width: 70px;
        height: 70px;
        font-size: 22px;
        right: 32px;
        top: 286px;
    }

    .topic-card {
        display: none;
    }

    .vent-card {
        left: 34px;
        right: 34px;
        bottom: 56px;
    }

    .molecule--one {
        right: 78px;
        top: 80px;
    }

    .molecule--two {
        display: none;
    }
}

@media (max-width: 520px) {
    .event-hero__title {
        font-size: 33px;
    }

    .event-hero__badge {
        align-items: flex-start;
        border-radius: 18px;
    }

    .event-hero__actions {
        flex-direction: column;
    }

    .event-hero__btn {
        width: 100%;
    }

    .event-hero__stats {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .event-hero__visual {
        min-height: 380px;
    }
}

.df-place-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 12% 20%, rgba(11, 179, 199, .10), transparent 28%), radial-gradient(circle at 88% 10%, rgba(15, 87, 199, .12), transparent 30%), linear-gradient(180deg, #ffffff 0%, #f6fbff 52%, #ffffff 100%);
}

    .df-place-section::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(15, 87, 199, .035) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(0deg, rgba(15, 87, 199, .03) 1px, transparent 1px) 0 0 / 64px 64px;
        mask-image: radial-gradient(circle at 70% 35%, #000, transparent 68%);
    }

.df-place-shell {
    position: relative;
    z-index: 2;
}

.df-place-card,
.df-map-card {
    height: 100%;
    border-radius: 30px;
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(188, 227, 242, .85);
    box-shadow: 0 18px 55px rgba(8, 36, 95, .11);
    backdrop-filter: blur(12px);
}

.df-place-card {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 3vw, 38px);
}

    .df-place-card::after {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        right: -120px;
        bottom: -120px;
        border-radius: 50%;
        border: 1px solid rgba(11, 179, 199, .20);
        box-shadow: inset 0 0 0 18px rgba(11, 179, 199, .05), inset 0 0 0 42px rgba(15, 87, 199, .045);
    }

.df-section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px;
    padding: 8px 13px;
    border-radius: 999px;
    color: #0596a6;
    background: rgba(231, 248, 255, .86);
    border: 1px solid rgba(11, 179, 199, .22);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .02em;
    text-transform: uppercase;
}

    .df-section-label::before {
        content: "";
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #0bb3c7;
        box-shadow: 0 0 0 6px rgba(11, 179, 199, .12);
    }

.df-place-card h2 {
    margin: 0;
    color: #061946;
    font-size: clamp(30px, 3.5vw, 44px);
    line-height: 1.08;
    letter-spacing: -.04em;
    font-weight: 900;
}

.df-place-lead {
    max-width: 520px;
    margin: 18px 0 0;
    color: #475467;
    font-size: 16px;
    line-height: 1.65;
}

.df-place-info {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.df-place-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(245, 252, 255, .95), rgba(255, 255, 255, .92));
    border: 1px solid rgba(208, 231, 239, .95);
}

.df-place-icon {
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 auto !important;
    border-radius: 14px !important;
    color: #0b3b91 !important;
    background: linear-gradient(135deg, rgba(11, 179, 199, .14), rgba(15, 87, 199, .10)) !important;
    font-size: 20px !important;
}

.df-place-info-item strong {
    display: block;
    margin-bottom: 3px;
    color: #08245f;
    font-size: 15px;
    font-weight: 850;
}

.df-place-info-item span {
    display: block;
    color: #667085;
    font-size: 14px;
    line-height: 1.45;
}

.df-place-actions {
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.df-btn-primary {
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 14px;
    border: 0;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, #0b3b91, #0f57c7);
    box-shadow: 0 14px 30px rgba(15, 87, 199, .25);
}

    .df-btn-primary:hover {
        color: #fff;
        transform: translateY(-1px);
        box-shadow: 0 18px 38px rgba(15, 87, 199, .32);
    }

.df-btn-outline {
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 14px;
    color: #0b3b91;
    font-weight: 800;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(15, 87, 199, .28);
}

    .df-btn-outline:hover {
        color: #0b3b91;
        border-color: rgba(15, 87, 199, .55);
        background: #f5fcff;
    }

.df-map-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 14px;
}

.df-map-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 8px 8px 16px;
}

    .df-map-topbar strong {
        display: block;
        color: #061946;
        font-size: 17px;
        font-weight: 900;
    }

    .df-map-topbar span {
        display: block;
        margin-top: 3px;
        color: #667085;
        font-size: 14px;
    }

.df-map-pin {
    width: 46px;
    height: 46px;
    display: grid !important;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    color: #fff !important;
    margin-top: 0 !important;
    background: linear-gradient(135deg, #0bb3c7, #0f57c7);
    box-shadow: 0 14px 28px rgba(11, 179, 199, .25);
    font-size: 20px !important;
}

.df-map-placeholder {
    position: relative;
    flex: 1;
    min-height: 430px;
    overflow: hidden;
    border-radius: 24px;
    background: linear-gradient(90deg, rgba(15, 87, 199, .07) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(0deg, rgba(15, 87, 199, .06) 1px, transparent 1px) 0 0 / 48px 48px, linear-gradient(135deg, #f8fcff, #e7f8ff);
    border: 1px solid rgba(208, 231, 239, .95);
}

    .df-map-placeholder iframe {
        width: 100%;
        height: 100%;
        min-height: 430px;
        display: block;
        border: 0;
        filter: saturate(.9) contrast(.96);
    }

@media (max-width: 991.98px) {
    .df-place-card,
    .df-map-card {
        border-radius: 24px;
    }

    .df-map-placeholder {
        min-height: 360px;
    }

        .df-map-placeholder iframe {
            min-height: 360px;
        }
}

@media (max-width: 575.98px) {
    .df-place-card {
        padding: 24px;
    }

    .df-place-actions {
        flex-direction: column;
    }

        .df-place-actions .btn {
            width: 100%;
        }

    .df-map-topbar {
        align-items: flex-start;
    }

    .df-map-placeholder,
    .df-map-placeholder iframe {
        min-height: 320px;
    }
}

.df-registration-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 14% 18%, rgba(11, 179, 199, .10), transparent 28%), radial-gradient(circle at 88% 24%, rgba(15, 87, 199, .12), transparent 30%), linear-gradient(180deg, #ffffff 0%, #f6fbff 50%, #ffffff 100%);
}

    .df-registration-section::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(15, 87, 199, .035) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(0deg, rgba(15, 87, 199, .03) 1px, transparent 1px) 0 0 / 64px 64px;
        mask-image: radial-gradient(circle at 70% 38%, #000, transparent 70%);
    }

.df-registration-shell {
    position: relative;
    z-index: 2;
}

.df-registration-info,
.df-registration-form-card {
    height: 100%;
    border-radius: 30px;
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(188, 227, 242, .85);
    box-shadow: 0 18px 55px rgba(8, 36, 95, .11);
    backdrop-filter: blur(12px);
}

.df-registration-info {
    position: relative;
    overflow: hidden;
    padding: clamp(26px, 3vw, 38px);
}

    .df-registration-info::after {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        right: -135px;
        bottom: -135px;
        border-radius: 50%;
        border: 1px solid rgba(11, 179, 199, .20);
        box-shadow: inset 0 0 0 18px rgba(11, 179, 199, .05), inset 0 0 0 46px rgba(15, 87, 199, .045);
    }

    .df-registration-info h2 {
        position: relative;
        z-index: 2;
        margin: 0;
        color: #061946;
        font-size: clamp(30px, 3.3vw, 44px);
        line-height: 1.08;
        letter-spacing: -.04em;
        font-weight: 900;
    }

.df-registration-lead {
    position: relative;
    z-index: 2;
    margin: 18px 0 0;
    color: #475467;
    font-size: 16px;
    line-height: 1.65;
}

.df-registration-facts {
    position: relative;
    z-index: 2;
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.df-registration-fact {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 15px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(245, 252, 255, .96), rgba(255, 255, 255, .94));
    border: 1px solid rgba(208, 231, 239, .95);
}

.df-registration-icon {
    width: 42px !important;
    height: 42px !important;
    display: grid !important;
    place-items: center !important;
    flex: 0 0 auto !important;
    border-radius: 14px !important;
    color: #0b3b91 !important;
    background: linear-gradient(135deg, rgba(11, 179, 199, .14), rgba(15, 87, 199, .10)) !important;
    font-size: 20px !important;
}

.df-registration-fact strong {
    display: block;
    margin-bottom: 3px;
    color: #08245f;
    font-size: 15px;
    font-weight: 850;
}

.df-registration-fact span {
    display: block;
    color: #667085;
    font-size: 14px;
    line-height: 1.45;
}

.df-registration-login {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 16px;
    margin-top: 26px;
    padding: 18px;
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(255, 250, 235, .96), rgba(255, 255, 255, .94));
    border: 1px solid rgba(251, 191, 36, .28);
}

.df-registration-login-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    color: #b45309;
    background: rgba(251, 191, 36, .16);
    font-size: 22px;
}

.df-registration-login h3 {
    margin: 0 0 7px;
    color: #7c2d12;
    font-size: 17px;
    font-weight: 900;
}

.df-registration-login p {
    margin: 0 0 14px;
    color: #7c2d12;
    font-size: 14px;
    line-height: 1.5;
}

.df-registration-form-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.df-registration-form-header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: clamp(22px, 3vw, 30px);
    background: radial-gradient(circle at 90% 20%, rgba(11, 179, 199, .16), transparent 26%), linear-gradient(135deg, rgba(245, 252, 255, .96), rgba(255, 255, 255, .94));
    border-bottom: 1px solid rgba(208, 231, 239, .95);
}

    .df-registration-form-header span {
        display: inline-flex;
        margin-bottom: 6px;
        color: #0596a6;
        font-size: 13px;
        font-weight: 850;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .df-registration-form-header h3 {
        margin: 0;
        color: #061946;
        font-size: clamp(23px, 2.4vw, 32px);
        line-height: 1.12;
        letter-spacing: -.03em;
        font-weight: 900;
    }

.df-registration-badge {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 20px;
    color: #fff;
    background: linear-gradient(135deg, #0bb3c7, #0f57c7);
    box-shadow: 0 14px 28px rgba(11, 179, 199, .25);
    font-size: 26px;
}

.df-registration-form-body {
    flex: 1;
    padding: clamp(22px, 3vw, 30px);
}

    /* Чтобы поля внутри _Registration выглядели в общем стиле */
    .df-registration-form-body .form-control,
    .df-registration-form-body .form-select,
    .df-registration-form-body input[type="text"],
    .df-registration-form-body input[type="email"],
    .df-registration-form-body input[type="tel"],
    .df-registration-form-body input[type="number"],
    .df-registration-form-body select,
    .df-registration-form-body textarea {
        min-height: 48px;
        border-radius: 14px;
        border: 1px solid rgba(208, 213, 221, .95);
        background-color: #fff;
        color: #101828;
        box-shadow: none;
    }

    .df-registration-form-body textarea {
        min-height: 110px;
    }

        .df-registration-form-body .form-control:focus,
        .df-registration-form-body .form-select:focus,
        .df-registration-form-body input:focus,
        .df-registration-form-body select:focus,
        .df-registration-form-body textarea:focus {
            border-color: #0bb3c7;
            box-shadow: 0 0 0 4px rgba(11, 179, 199, .12);
        }

    .df-registration-form-body label,
    .df-registration-form-body .form-label {
        color: #08245f;
        font-weight: 750;
        margin-bottom: 7px;
    }

    .df-registration-form-body .btn,
    .df-registration-form-body button[type="submit"],
    .df-registration-form-body input[type="submit"] {
        min-height: 50px;
        padding: 12px 22px;
        border-radius: 14px;
        font-weight: 850;
    }

    .df-registration-form-body .df-btn-primary,
    .df-registration-form-body .btn-primary,
    .df-registration-form-body button[type="submit"],
    .df-registration-form-body input[type="submit"] {
        border: 0;
        color: #fff;
        background: linear-gradient(135deg, #0b3b91, #0f57c7);
        box-shadow: 0 14px 30px rgba(15, 87, 199, .25);
    }

        .df-registration-form-body .df-btn-primary:hover,
        .df-registration-form-body .btn-primary:hover,
        .df-registration-form-body button[type="submit"]:hover,
        .df-registration-form-body input[type="submit"]:hover {
            color: #fff;
            transform: translateY(-1px);
            box-shadow: 0 18px 38px rgba(15, 87, 199, .32);
        }

    .df-registration-form-body .alert {
        border-radius: 18px;
        border: 1px solid rgba(208, 231, 239, .95);
        box-shadow: none;
    }

    /* Если _Registered выводит карточку/alert, она тоже станет аккуратнее */
    .df-registration-form-body .card {
        border-radius: 22px;
        border: 1px solid rgba(208, 231, 239, .95);
        box-shadow: 0 12px 28px rgba(8, 36, 95, .07);
    }

@media (max-width: 991.98px) {
    .df-registration-info,
    .df-registration-form-card {
        border-radius: 24px;
    }
}

@media (max-width: 575.98px) {
    .df-registration-info,
    .df-registration-form-body,
    .df-registration-form-header {
        padding: 24px;
    }

    .df-registration-login {
        flex-direction: column;
    }

    .df-registration-form-header {
        align-items: flex-start;
    }

    .df-registration-badge {
        width: 50px;
        height: 50px;
        border-radius: 17px;
        font-size: 22px;
    }
}

.df-footer {
    position: relative;
    overflow: hidden;
    padding: 0;
    color: rgba(255, 255, 255, .9);
    background: radial-gradient(circle at 12% 12%, rgba(11, 179, 199, .22), transparent 26%), radial-gradient(circle at 88% 4%, rgba(15, 87, 199, .28), transparent 30%), linear-gradient(135deg, #061946 0%, #08245f 46%, #0b3b91 100%);
}

    .df-footer::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(0deg, rgba(255, 255, 255, .035) 1px, transparent 1px) 0 0 / 64px 64px;
        mask-image: radial-gradient(circle at 68% 30%, #000, transparent 72%);
    }

.df-footer-main {
    position: relative;
    z-index: 2;
    padding: clamp(42px, 5vw, 68px) 0 34px;
}

.df-footer-brand {
    max-width: 390px;
}

.df-footer-logo {
    display: inline-flex;
    align-items: center;
    max-width: 150px;
    margin-bottom: 22px;
    padding: 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .16);
}

    .df-footer-logo img {
        width: 100%;
        height: auto;
    }

.df-footer-brand p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: 15px;
    line-height: 1.65;
}

.df-footer-event-meta {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

    .df-footer-event-meta span {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: rgba(255, 255, 255, .88);
        font-size: 14px;
        font-weight: 700;
    }

    .df-footer-event-meta i {
        color: #0bb3c7;
        font-size: 18px;
    }

.df-footer-card {
    height: 100%;
    padding: 24px;
    border-radius: 24px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
    backdrop-filter: blur(12px);
}

    .df-footer-card h4 {
        margin: 0 0 18px;
        color: #ffffff;
        font-size: 18px;
        font-weight: 900;
        letter-spacing: -.02em;
    }

.df-footer-link {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: rgba(255, 255, 255, .84);
    font-size: 15px;
    line-height: 1.45;
    text-decoration: none;
    transition: color .2s ease, transform .2s ease;
}

    .df-footer-link + .df-footer-link {
        margin-top: 14px;
    }

    .df-footer-link:hover {
        color: #ffffff;
        transform: translateX(2px);
    }

    .df-footer-link span {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        border-radius: 13px;
        color: #ffffff;
        background: linear-gradient(135deg, #0bb3c7, #0f57c7);
        box-shadow: 0 12px 26px rgba(11, 179, 199, .22);
    }

.df-footer-nav {
    display: grid;
    align-content: start;
}

    .df-footer-nav a {
        display: inline-flex;
        color: rgba(255, 255, 255, .78);
        font-size: 14px;
        font-weight: 700;
        text-decoration: none;
        transition: color .2s ease, transform .2s ease;
    }

        .df-footer-nav a + a {
            margin-top: 10px;
        }

        .df-footer-nav a:hover {
            color: #ffffff;
            transform: translateX(2px);
        }

.df-footer-bottom {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 0;
    border-top: 1px solid rgba(255, 255, 255, .14);
    color: rgba(255, 255, 255, .72);
    font-size: 13px;
    line-height: 1.45;
}

@media (max-width: 991.98px) {
    .df-footer-main {
        padding-top: 42px;
    }

    .df-footer-brand {
        max-width: none;
    }

    .df-footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 575.98px) {
    .df-footer-card {
        padding: 22px;
        border-radius: 22px;
    }

    .df-footer-logo {
        max-width: 130px;
    }
}

.df-footer-person {
    margin-bottom: 16px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .12);
}

    .df-footer-person strong {
        display: block;
        color: #ffffff;
        font-size: 15px;
        font-weight: 900;
        line-height: 1.35;
    }

    .df-footer-person span {
        display: block;
        margin-top: 3px;
        color: rgba(255, 255, 255, .72);
        font-size: 14px;
        line-height: 1.4;
    }

html {
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--df-dark);
    background: var(--df-white);
}


.df-btn-light {
    background: var(--df-white);
    color: var(--df-dark);
    font-weight: 700;
    border-radius: 999px;
    padding: 10px 22px;
}

    .df-btn-light:hover {
        background: var(--df-accent);
        color: var(--df-dark);
    }

.df-hero {
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    color: var(--df-white);
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 30%), linear-gradient(135deg, #0f172a, #164e63);
    /*background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.28), transparent 32%), radial-gradient(circle at bottom left, rgba(15, 118, 110, 0.45), transparent 38%), linear-gradient(135deg, #0f172a 0%, #134e4a 55%, #0f172a 100%);*/
}

    .df-hero::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
        background-size: 42px 42px;
        mask-image: linear-gradient(to bottom, black, transparent 90%);
    }

    .df-hero .container {
        position: relative;
        z-index: 1;
    }

.df-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: var(--df-white);
    border-radius: 999px;
    padding: 10px 18px;
    font-weight: 700;
    margin-bottom: 26px;
}

.df-hero h1 {
    font-size: clamp(3rem, 7vw, 6.4rem);
    line-height: 0.95;
    font-weight: 900;
    letter-spacing: -0.07em;
    margin-bottom: 24px;
}

.df-hero-subtitle {
    font-size: clamp(1.45rem, 3vw, 2.4rem);
    color: var(--df-accent);
    font-weight: 800;
    margin-bottom: 16px;
}

.df-hero-text {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.84);
    margin-bottom: 34px;
}

.df-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.df-btn-primary {
    background: var(--df-primary);
    border: 1px solid var(--df-primary);
    color: var(--df-white);
    border-radius: 999px;
    padding: 12px 28px;
    font-weight: 800;
    box-shadow: 0 18px 40px rgba(15, 118, 110, 0.28);
}

    .df-btn-primary:hover {
        background: var(--df-primary-dark);
        border-color: var(--df-primary-dark);
        color: var(--df-white);
        transform: translateY(-1px);
    }

.df-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.42);
    color: var(--df-white);
    border-radius: 999px;
    padding: 12px 28px;
    font-weight: 800;
}

    .df-btn-outline:hover {
        background: var(--df-white);
        color: var(--df-dark);
    }

.df-info-card {
    padding: 34px;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
}

    .df-info-card div {
        padding: 20px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

        .df-info-card div:last-child {
            border-bottom: 0;
        }

    .df-info-card span {
        display: block;
        color: rgba(255, 255, 255, 0.62);
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .df-info-card strong {
        display: block;
        font-size: 1.15rem;
    }

.df-section {
    padding: 50px 0;
}

.df-section-soft {
    background: var(--df-light);
}

.df-section-dark {
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.14), transparent 30%), linear-gradient(135deg, #0f172a, #164e63);
    color: var(--df-white);
}

.df-section-label {
    display: inline-block;
    color: var(--df-primary);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    margin-bottom: 14px;
}

.df-section-dark .df-section-label {
    color: var(--df-accent);
}

.df-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.045em;
    margin-bottom: 22px;
}

.df-lead {
    font-size: 1.25rem;
    color: var(--df-dark-soft);
    font-weight: 500;
}

.df-title-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 54px;
}

.df-topic-card,
.df-place-card,
.df-form {
    height: 100%;
    background: var(--df-white);
    border: 1px solid var(--df-border);
    border-radius: 28px;
    padding: 30px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    transition: 0.25s ease;
}

.df-speaker-card {
    height: 100%;
    background: #fff;
    border-radius: 28px;
    padding: 30px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
    transition: .25s ease;
    display: flex;
    flex-direction: column;
}

    .df-speaker-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 28px 70px rgba(15, 23, 42, 0.10);
    }

.df-speaker-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 22px;
    border-radius: 24px;
    overflow: hidden;
    background: #f1f5f9;
    flex-shrink: 0;
}

    .df-speaker-photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

/* ФИО */
.df-speaker-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    margin-bottom: 14px;
    color: #0f172a;
}

/* Должность */
.df-speaker-card > p,
.df-speaker-card > div,
.df-speaker-card > strong {
    color: #475569;
    font-size: .95rem;
    line-height: 1.55;
    text-align: center;
}

/* Тема выступления */
.df-speaker-card span {
    display: block;
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
    color: #0f766e;
    font-size: .95rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.5;
}

/* если title содержит ul/li */
.df-speaker-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 14px;
}

.df-speaker-card li {
    margin-bottom: 6px;
}

/* мобильная версия */
@media (max-width: 768px) {
    .df-speaker-card {
        padding: 24px;
    }

    .df-speaker-photo {
        width: 96px;
        height: 96px;
        border-radius: 20px;
    }

    .df-speaker-card h3 {
        font-size: 1.08rem;
    }
}

.df-speaker-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    color: #0f766e;
    background: #ecfdf5;
}

.df-section-dark p {
    color: rgba(255, 255, 255, 0.72);
}

.df-timeline {
    display: grid;
    gap: 20px;
}

.df-time-item {
    display: grid;
    grid-template-columns: 170px 1fr;
    gap: 24px;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    margin-bottom: 10px;
}

    .df-time-item time {
        color: var(--df-accent);
        font-weight: 900;
        font-size: 1.1rem;
    }

    .df-time-item h3 {
        font-size: 1.35rem;
        font-weight: 850;
        margin-bottom: 8px;
    }

    .df-time-item p {
        margin: 0;
    }

.df-lecture-speakers {
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.df-lecture-speaker {
    padding-left: 16px;
    border-left: 3px solid rgba(15,118,110,.25);
}

.df-lecture-speaker-name {
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
    line-height: 1.35;
}

.df-lecture-speaker-title {
    margin-top: 4px;
    font-size: .92rem;
    line-height: 1.5;
    color: var(--df-primary);
}

.df-topic-block {
    margin-bottom: 28px;
}

.df-topic-header {
    margin-bottom: 14px;
    padding: 28px;
    border-radius: 24px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.df-topic-time {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--df-accent);
    margin-bottom: 10px;
}

.df-topic-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.25;
    color: #0f172a;
}

.df-topic-subtitle {
    font-size: 1rem;
    color: #64748b;
}

.df-topic-moderators {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #e2e8f0;
}

    .df-topic-moderators span {
        display: block;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 12px;
    }

.df-topic-moderator {
    margin-bottom: 3px;
}

    .df-topic-moderator strong {
        display: block;
        font-size: 1rem;
        color: #0f172a;
    }

.df-topic-moderator-title {
    font-size: .92rem;
    color: var(--df-dark) !important;
    line-height: 1.5;
}

.df-place-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .df-place-card p {
        color: var(--df-muted);
        font-size: 1.2rem;
        margin-bottom: 28px;
    }

.df-map-placeholder {
    min-height: 360px;
    height: 100%;
    border-radius: 28px;
    overflow: hidden; /* важно */
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--df-border);
}

    .df-map-placeholder iframe {
        width: 100%;
        height: 100%;
        min-height: 360px;
        border: 0;
        display: block;
    }


.df-form-modern {
    width: 100%;
}

.df-validation-summary {
    margin-bottom: 18px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(254, 242, 242, .9);
    border: 1px solid rgba(248, 113, 113, .24);
    font-size: 14px;
}

.df-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.df-field {
    min-width: 0;
}

.df-field--wide {
    grid-column: 1 / -1;
}

.df-field-label {
    display: block;
    margin-bottom: 8px;
    color: #08245f;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.df-field-control {
    position: relative;
}

    .df-field-control > i {
        position: absolute;
        left: 16px;
        top: 50%;
        z-index: 2;
        transform: translateY(-50%);
        color: #0596a6;
        font-size: 18px;
        pointer-events: none;
    }

.df-field-control--textarea > i {
    top: 18px;
    transform: none;
}

.df-form-modern .form-control,
.df-form-modern .form-select {
    width: 100%;
    min-height: 52px;
    padding: 13px 16px 13px 46px;
    border-radius: 16px;
    border: 1px solid rgba(208, 213, 221, .95);
    background-color: #ffffff;
    color: #101828;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(8, 36, 95, .04);
    transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.df-form-modern textarea.form-control {
    min-height: 112px;
    resize: vertical;
    line-height: 1.5;
}

.df-form-modern .form-control:focus,
.df-form-modern .form-select:focus {
    border-color: #0bb3c7;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(11, 179, 199, .12);
    outline: none;
}

.df-form-modern .form-control::placeholder {
    color: #98a2b3;
}

.df-validation {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    font-weight: 600;
}

.df-form-options {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.df-option-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px;
    border-radius: 22px;
    border: 1px solid rgba(208, 231, 239, .95);
    box-shadow: 0 10px 24px rgba(8, 36, 95, .05);
}

.df-option-card--info {
    background: radial-gradient(circle at 90% 15%, rgba(11, 179, 199, .12), transparent 28%), linear-gradient(135deg, rgba(245, 252, 255, .96), rgba(255, 255, 255, .94));
}

.df-option-card--warning {
    background: radial-gradient(circle at 90% 15%, rgba(251, 191, 36, .14), transparent 28%), linear-gradient(135deg, rgba(255, 250, 235, .96), rgba(255, 255, 255, .94));
    border-color: rgba(251, 191, 36, .28);
}

.df-option-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    font-size: 22px;
}

.df-option-card--info .df-option-icon {
    color: #0b3b91;
    background: linear-gradient(135deg, rgba(11, 179, 199, .15), rgba(15, 87, 199, .10));
}

.df-option-card--warning .df-option-icon {
    color: #b45309;
    background: rgba(251, 191, 36, .16);
}

.df-option-content {
    min-width: 0;
}

    .df-option-content p {
        margin: 0 0 12px;
        color: #475467;
        font-size: 14px;
        line-height: 1.55;
    }

.df-option-card--warning .df-option-content p {
    color: #7c2d12;
}

.df-check {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #08245f;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

    .df-check .form-check-input {
        width: 20px;
        height: 20px;
        margin: 0;
        border-radius: 6px;
        border-color: rgba(11, 179, 199, .55);
        cursor: pointer;
    }

        .df-check .form-check-input:checked {
            background-color: #0bb3c7;
            border-color: #0bb3c7;
        }

        .df-check .form-check-input:focus {
            box-shadow: 0 0 0 4px rgba(11, 179, 199, .14);
        }

.df-form-submit {
    display: flex;
    justify-content: center;
    margin-top: 26px;
}

.df-submit-btn {
    min-width: 260px;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 900;
}

@media (max-width: 767.98px) {
    .df-form-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .df-option-card {
        padding: 16px;
        border-radius: 20px;
    }

    .df-form-submit {
        justify-content: stretch;
    }

    .df-submit-btn {
        width: 100%;
        min-width: 0;
    }
}

@media (max-width: 575.98px) {
    .df-option-card {
        flex-direction: column;
    }

    .df-form-modern .form-control,
    .df-form-modern .form-select {
        min-height: 50px;
        border-radius: 14px;
    }
}

    

.df-footer {
    background: #0f172a;
    color: var(--df-white);
    padding: 70px 0 30px;
}

    .df-footer h3 {
        font-weight: 900;
        letter-spacing: -0.03em;
    }

    .df-footer h4 {
        font-size: 1rem;
        color: var(--df-accent);
        font-weight: 850;
        margin-bottom: 16px;
    }

    .df-footer p {
        color: rgba(255, 255, 255, 0.72);
        margin-bottom: 8px;
    }

.df-footer-bottom {
    margin-top: 46px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 14px;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.92rem;
}

@media (max-width: 991px) {
    .df-hero {
        min-height: auto;
        padding: 90px 0;
    }

    .df-info-card {
        margin-top: 20px;
    }

    .df-section {
        padding: 72px 0;
    }

    .df-time-item {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .df-hero-actions .btn {
        width: 100%;
    }

    .df-info-card,
    .df-topic-card,
    .df-speaker-card,
    .df-place-card,
    .df-form {
        border-radius: 22px;
        padding: 24px;
    }

    .df-footer-bottom {
        display: block;
    }

        .df-footer-bottom span {
            display: block;
            margin-bottom: 10px;
        }
}


/* backdrop */
.modal-backdrop.show {
    opacity: .65;
    backdrop-filter: blur(4px);
}


/* Login modal */

#loginModal .modal-dialog {
    max-width: 480px;
}

#loginModal .modal-content {
    overflow: hidden;
    border: 1px solid rgba(188, 227, 242, .9);
    border-radius: 28px;
    background: radial-gradient(circle at 88% 8%, rgba(11, 179, 199, .16), transparent 28%), linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 251, 255, .96));
    box-shadow: 0 28px 80px rgba(8, 36, 95, .22);
    backdrop-filter: blur(14px);
}

    #loginModal .modal-content::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        right: -120px;
        top: -120px;
        border-radius: 50%;
        border: 1px solid rgba(11, 179, 199, .20);
        box-shadow: inset 0 0 0 18px rgba(11, 179, 199, .05), inset 0 0 0 46px rgba(15, 87, 199, .045);
        pointer-events: none;
    }

#loginModal .modal-header {
    position: relative;
    z-index: 2;
    padding: 26px 28px 18px;
    border-bottom: 1px solid rgba(208, 231, 239, .95);
    background: linear-gradient(135deg, rgba(245, 252, 255, .96), rgba(255, 255, 255, .94));
}

#loginModal .modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    color: #061946;
    font-size: 26px;
    line-height: 1.15;
    letter-spacing: -.03em;
    font-weight: 900;
}

    #loginModal .modal-title::before {
        content: "\F4D7";
        font-family: "bootstrap-icons";
        width: 42px;
        height: 42px;
        display: grid;
        place-items: center;
        flex: 0 0 auto;
        border-radius: 15px;
        color: #ffffff;
        background: linear-gradient(135deg, #0bb3c7, #0f57c7);
        box-shadow: 0 12px 26px rgba(11, 179, 199, .25);
        font-size: 20px;
        font-weight: normal;
    }

#loginModal .btn-close {
    width: 38px;
    height: 38px;
    margin: 0;
    border-radius: 13px;
    background-color: rgba(245, 252, 255, .95);
    border: 1px solid rgba(208, 231, 239, .95);
    opacity: 1;
    box-shadow: none;
}

    #loginModal .btn-close:focus {
        box-shadow: 0 0 0 4px rgba(11, 179, 199, .14);
    }

#loginModal .modal-body {
    position: relative;
    z-index: 2;
    padding: 24px 28px 10px;
}

    #loginModal .modal-body .text-muted {
        margin-bottom: 22px !important;
        padding: 16px 18px;
        border-radius: 18px;
        color: #475467 !important;
        background: radial-gradient(circle at 90% 14%, rgba(11, 179, 199, .10), transparent 30%), linear-gradient(135deg, rgba(245, 252, 255, .96), rgba(255, 255, 255, .94));
        border: 1px solid rgba(208, 231, 239, .95);
        font-size: 14px !important;
        line-height: 1.55;
    }

#loginModal .mb-3 {
    margin-bottom: 18px !important;
}

#loginModal .form-label {
    display: block;
    margin-bottom: 8px;
    color: #08245f;
    font-size: 14px;
    font-weight: 800;
}

#loginModal .form-control {
    min-height: 52px;
    padding: 13px 16px;
    border-radius: 16px;
    border: 1px solid rgba(208, 213, 221, .95);
    background-color: #ffffff;
    color: #101828;
    font-size: 15px;
    box-shadow: 0 8px 20px rgba(8, 36, 95, .04);
    transition: border-color .2s ease, box-shadow .2s ease;
}

    #loginModal .form-control:focus {
        border-color: #0bb3c7;
        box-shadow: 0 0 0 4px rgba(11, 179, 199, .12);
    }

#loginModal .modal-footer {
    position: relative;
    z-index: 2;
    padding: 12px 28px 28px;
    border-top: 0;
}

#loginModal .registration-btn {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border: 0;
    border-radius: 16px;
    color: #ffffff;
    background: linear-gradient(135deg, #0b3b91, #0f57c7);
    box-shadow: 0 14px 30px rgba(15, 87, 199, .25);
    font-size: 16px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease;
}

    #loginModal .registration-btn::before {
        content: "\F26A";
        font-family: "bootstrap-icons";
        font-weight: normal;
        font-size: 19px;
    }

    #loginModal .registration-btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 38px rgba(15, 87, 199, .32);
    }

    #loginModal .registration-btn:focus {
        outline: none;
        box-shadow: 0 18px 38px rgba(15, 87, 199, .32), 0 0 0 4px rgba(11, 179, 199, .14);
    }

.modal-backdrop.show {
    opacity: .58;
    background: radial-gradient(circle at 70% 20%, rgba(11, 179, 199, .18), transparent 28%), #061946;
}

@media (max-width: 575.98px) {
    #loginModal .modal-dialog {
        margin: 14px;
    }

    #loginModal .modal-content {
        border-radius: 24px;
    }

    #loginModal .modal-header,
    #loginModal .modal-body,
    #loginModal .modal-footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    #loginModal .modal-title {
        font-size: 23px;
    }
}

.sponsor-group {
    margin-bottom: 70px;
}

    .sponsor-group:last-child {
        margin-bottom: 0;
    }

    .sponsor-group h3 {
        text-align: center;
        font-weight: 800;
        margin-bottom: 32px;
        font-size: 1.6rem;
    }

.sponsor-grid {
    display: grid;
    gap: 24px;
    align-items: center;
}

.gold-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.silver-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.bronze-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.sponsor-card {
    background: #fff;
    border-radius: 24px;
    min-height: 140px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 14px 40px rgba(15,23,42,.05);
    transition: .25s ease;
}

    .sponsor-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 50px rgba(15,23,42,.08);
    }

    .sponsor-card img {
        max-width: 100%;
        max-height: 72px;
        object-fit: contain;
        filter: grayscale(100%);
        opacity: .9;
        transition: .25s ease;
    }

    .sponsor-card:hover img {
        filter: grayscale(0);
        opacity: 1;
    }

/* Цвета заголовков */
.sponsor-gold h3 {
    color: #c59b08;
}

.sponsor-silver h3 {
    color: #94a3b8;
}

.sponsor-bronze h3 {
    color: #b56a2d;
}

/* mobile */
@media (max-width: 768px) {
    .sponsor-card {
        min-height: 110px;
        padding: 18px;
    }

        .sponsor-card img {
            max-height: 56px;
        }
}


.countdown {
    display: block;
    height: 66px;
    margin-bottom: 30px;
}

    .countdown .countdown-seconds,
    .countdown .countdown-minutes,
    .countdown .countdown-hours,
    .countdown .countdown-days {
        position: relative;
        display: inline-block;
        color: white;
        font-size: 34px;
        font-weight: 700;
        height: 70px;
        width: 70px;
        background-color: var(--primary);
        vertical-align: middle;
        text-align: center;
        margin: 3px;
        line-height: 55px;
        border: 2px solid var(--primary);
        border-radius: 10px;
    }

        .countdown .countdown-seconds::after,
        .countdown .countdown-minutes::after,
        .countdown .countdown-hours::after,
        .countdown .countdown-days::after {
            position: absolute;
            font-size: 9px;
            bottom: -10px;
            left: 0;
            width: 100%;
            text-align: center;
        }

.df-about-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 10% 18%, rgba(11, 179, 199, .10), transparent 28%), radial-gradient(circle at 90% 12%, rgba(15, 87, 199, .12), transparent 30%), linear-gradient(180deg, #ffffff 0%, #f6fbff 52%, #ffffff 100%);
}

    .df-about-section::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, rgba(15, 87, 199, .035) 1px, transparent 1px) 0 0 / 64px 64px, linear-gradient(0deg, rgba(15, 87, 199, .03) 1px, transparent 1px) 0 0 / 64px 64px;
        mask-image: radial-gradient(circle at 70% 35%, #000, transparent 70%);
    }

.df-about-shell {
    position: relative;
    z-index: 2;
}

.df-about-main-card,
.df-about-content-card,
.df-about-organizers {
    border-radius: 30px;
    background: rgba(255, 255, 255, .90);
    border: 1px solid rgba(188, 227, 242, .85);
    box-shadow: 0 18px 55px rgba(8, 36, 95, .11);
    backdrop-filter: blur(12px);
}

.df-about-main-card {
    position: relative;
    overflow: hidden;
    height: 100%;
    padding: clamp(26px, 3vw, 38px);
}

    .df-about-main-card::after {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        right: -130px;
        bottom: -130px;
        border-radius: 50%;
        border: 1px solid rgba(11, 179, 199, .20);
        box-shadow: inset 0 0 0 18px rgba(11, 179, 199, .05), inset 0 0 0 46px rgba(15, 87, 199, .045);
    }

    .df-about-main-card h2 {
        position: relative;
        z-index: 2;
        margin: 0;
        color: #061946;
        font-size: clamp(30px, 3.4vw, 44px);
        line-height: 1.08;
        letter-spacing: -.04em;
        font-weight: 900;
    }

.df-about-lead {
    position: relative;
    z-index: 2;
    margin: 18px 0 0;
    color: #475467;
    font-size: 16px;
    line-height: 1.7;
}

.df-about-highlight {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-top: 26px;
    padding: 18px;
    border-radius: 22px;
    background: radial-gradient(circle at 90% 12%, rgba(11, 179, 199, .12), transparent 26%), linear-gradient(135deg, rgba(245, 252, 255, .96), rgba(255, 255, 255, .94));
    border: 1px solid rgba(208, 231, 239, .95);
}

.df-about-highlight-icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 16px;
    color: #0b3b91;
    background: linear-gradient(135deg, rgba(11, 179, 199, .15), rgba(15, 87, 199, .10));
    font-size: 22px;
}

.df-about-highlight strong {
    display: block;
    margin-bottom: 5px;
    color: #08245f;
    font-size: 15px;
    font-weight: 900;
}

.df-about-highlight span {
    display: block;
    color: #667085;
    font-size: 14px;
    line-height: 1.5;
}

.df-about-meta {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 24px;
}

    .df-about-meta div {
        padding: 16px 14px;
        border-radius: 18px;
        background: rgba(255, 255, 255, .78);
        border: 1px solid rgba(208, 231, 239, .95);
        text-align: center;
    }

    .df-about-meta b {
        display: block;
        color: #061946;
        font-size: 26px;
        line-height: 1;
        font-weight: 950;
    }

    .df-about-meta span {
        display: block;
        margin-top: 7px;
        color: #667085;
        font-size: 13px;
        font-weight: 700;
        line-height: 1.3;
    }

.df-about-content-card {
    height: 100%;
    overflow: hidden;
    padding: clamp(24px, 3vw, 34px);
}

.df-about-visual {
    position: relative;
    min-height: 230px;
    margin-bottom: 26px;
    border-radius: 26px;
    overflow: hidden;
    background: radial-gradient(circle at 18% 25%, rgba(11, 179, 199, .16), transparent 22%), radial-gradient(circle at 82% 20%, rgba(15, 87, 199, .14), transparent 26%), linear-gradient(135deg, #f8fcff, #e6f8ff);
    border: 1px solid rgba(208, 231, 239, .95);
}

    .df-about-visual::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, rgba(15, 87, 199, .055) 1px, transparent 1px) 0 0 / 42px 42px, linear-gradient(0deg, rgba(15, 87, 199, .045) 1px, transparent 1px) 0 0 / 42px 42px;
        opacity: .85;
    }

.df-about-visual-screen {
    position: absolute;
    left: 32px;
    right: 32px;
    top: 42px;
    height: 132px;
    border-radius: 22px;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(188, 227, 242, .9);
    box-shadow: 0 18px 40px rgba(8, 36, 95, .09);
    overflow: hidden;
}

    .df-about-visual-screen span {
        position: absolute;
        left: 20px;
        top: 15px;
        color: #08245f;
        font-size: 13px;
        font-weight: 900;
        letter-spacing: .08em;
    }

    .df-about-visual-screen svg {
        position: absolute;
        left: 20px;
        right: 20px;
        bottom: 18px;
        width: calc(100% - 40px);
        height: 90px;
        color: #0bb3c7;
        filter: drop-shadow(0 8px 18px rgba(11, 179, 199, .20));
    }

.df-about-visual-orb {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    font-weight: 950;
    box-shadow: 0 16px 34px rgba(11, 179, 199, .25);
}

.df-about-visual-orb--one {
    left: 28px;
    bottom: 26px;
    width: 62px;
    height: 62px;
    font-size: 31px;
    background: linear-gradient(135deg, #0bb3c7, #0f57c7);
}

.df-about-visual-orb--two {
    right: 28px;
    bottom: 26px;
    width: 62px;
    height: 62px;
    font-size: 19px;
    background: linear-gradient(135deg, #0b3b91, #0596a6);
}

.df-about-text h3 {
    margin: 0 0 12px;
    color: #061946;
    font-size: 26px;
    line-height: 1.18;
    letter-spacing: -.03em;
    font-weight: 900;
}

.df-about-text p {
    margin: 0;
    color: #475467;
    font-size: 15px;
    line-height: 1.7;
}

.df-about-topics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.df-about-topic {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 13px 14px;
    border-radius: 17px;
    background: linear-gradient(135deg, rgba(245, 252, 255, .96), rgba(255, 255, 255, .94));
    border: 1px solid rgba(208, 231, 239, .95);
}

    .df-about-topic i {
        margin-top: 2px;
        color: #0bb3c7;
        font-size: 18px;
        flex: 0 0 auto;
    }

    .df-about-topic span {
        color: #344054;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.45;
    }

.df-about-organizers {
    margin-top: 24px;
    padding: 24px;
}

.df-about-organizers-label {
    margin-bottom: 14px;
    color: #0596a6;
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.df-about-organizers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

    .df-about-organizers-grid div {
        min-height: 82px;
        display: flex;
        align-items: center;
        padding: 16px;
        border-radius: 18px;
        color: #08245f;
        background: linear-gradient(135deg, rgba(245, 252, 255, .96), rgba(255, 255, 255, .94));
        border: 1px solid rgba(208, 231, 239, .95);
        font-size: 14px;
        font-weight: 800;
        line-height: 1.4;
    }

@media (max-width: 991.98px) {
    .df-about-main-card,
    .df-about-content-card,
    .df-about-organizers {
        border-radius: 24px;
    }

    .df-about-organizers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .df-about-meta,
    .df-about-topics {
        grid-template-columns: 1fr;
    }

    .df-about-visual {
        min-height: 210px;
    }
}

@media (max-width: 575.98px) {
    .df-about-main-card,
    .df-about-content-card,
    .df-about-organizers {
        padding: 24px;
    }

    .df-about-highlight {
        flex-direction: column;
    }

    .df-about-visual-screen {
        left: 18px;
        right: 18px;
    }
}

.df-navbar {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(208, 231, 239, .85);
    box-shadow: 0 10px 30px rgba(8, 36, 95, .06);
    backdrop-filter: blur(14px);
}

    .df-navbar .navbar {
        min-height: 78px;
        padding: 0;
    }

.df-brand {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    min-width: 0;
    padding: 10px 0;
    text-decoration: none;
}

.df-brand-logo {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex: 0 0 auto;
    padding: 6px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(188, 227, 242, .95);
    box-shadow: 0 10px 24px rgba(8, 36, 95, .08);
}

.df-brand-text {
    display: grid;
    line-height: 1.2;
}

    .df-brand-text strong {
        color: #061946;
        font-size: 15px;
        font-weight: 950;
        letter-spacing: .04em;
    }

    .df-brand-text small {
        max-width: 230px;
        color: #667085;
        font-size: 12px;
        font-weight: 700;
    }

.df-navbar .navbar-nav {
    gap: 4px;
}

.df-navbar .nav-link {
    position: relative;
    padding: 12px 13px !important;
    color: #08245f;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    opacity: .86;
    transition: color .2s ease, opacity .2s ease;
}

    .df-navbar .nav-link:hover,
    .df-navbar .nav-link:focus {
        color: #0596a6;
        opacity: 1;
    }

    .df-navbar .nav-link::after {
        content: "";
        position: absolute;
        left: 13px;
        right: 13px;
        bottom: 6px;
        height: 2px;
        border-radius: 999px;
        background: linear-gradient(90deg, #0bb3c7, #0f57c7);
        transform: scaleX(0);
        transform-origin: left center;
        transition: transform .2s ease;
    }

    .df-navbar .nav-link:hover::after,
    .df-navbar .nav-link:focus::after {
        transform: scaleX(1);
    }

.df-navbar-btn {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 20px;
    border: 0;
    border-radius: 14px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #0b3b91, #0f57c7);
    box-shadow: 0 14px 30px rgba(15, 87, 199, .24);
    font-size: 14px;
    font-weight: 900;
    transition: transform .2s ease, box-shadow .2s ease;
}

    .df-navbar-btn:hover {
        color: #ffffff !important;
        transform: translateY(-1px);
        box-shadow: 0 18px 38px rgba(15, 87, 199, .32);
    }

.df-navbar-toggler {
    width: 46px;
    height: 46px;
    display: none;
    padding: 0;
    border: 1px solid rgba(188, 227, 242, .95);
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(245, 252, 255, .98), rgba(255, 255, 255, .96));
    box-shadow: 0 10px 24px rgba(8, 36, 95, .08);
}

    .df-navbar-toggler:focus {
        box-shadow: 0 0 0 4px rgba(11, 179, 199, .14);
    }

    .df-navbar-toggler span {
        display: block;
        width: 20px;
        height: 2px;
        margin: 5px auto;
        border-radius: 999px;
        background: #08245f;
    }

/* Mobile */

@media (max-width: 991.98px) {
    .df-navbar .navbar {
        min-height: 70px;
        padding: 8px 0;
    }

    .df-navbar-toggler {
        display: block;
    }

    .df-navbar .navbar-collapse {
        margin-top: 10px;
        padding: 14px;
        border-radius: 22px;
        background: radial-gradient(circle at 90% 12%, rgba(11, 179, 199, .12), transparent 28%), linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 251, 255, .96));
        border: 1px solid rgba(188, 227, 242, .9);
        box-shadow: 0 18px 45px rgba(8, 36, 95, .13);
    }

    .df-navbar .navbar-nav {
        gap: 2px;
    }

    .df-navbar .nav-link {
        padding: 13px 14px !important;
        border-radius: 14px;
    }

        .df-navbar .nav-link:hover,
        .df-navbar .nav-link:focus {
            background: rgba(231, 248, 255, .72);
        }

        .df-navbar .nav-link::after {
            display: none;
        }

    .df-navbar-btn {
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .df-brand-logo {
        width: 46px;
        height: 46px;
    }

    .df-brand-text strong {
        font-size: 13px;
    }

    .df-brand-text small {
        max-width: 190px;
        font-size: 11px;
    }
}

/* Document / healthcare worker modal */

.df-doc-modal .modal-dialog {
    max-width: 560px;
}

.df-doc-modal .modal-content {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(188, 227, 242, .9);
    border-radius: 30px;
    background: radial-gradient(circle at 88% 8%, rgba(11, 179, 199, .16), transparent 28%), radial-gradient(circle at 12% 90%, rgba(15, 87, 199, .10), transparent 30%), linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 251, 255, .96));
    box-shadow: 0 28px 80px rgba(8, 36, 95, .22);
    backdrop-filter: blur(14px);
}

    .df-doc-modal .modal-content::before {
        content: "";
        position: absolute;
        width: 280px;
        height: 280px;
        right: -135px;
        top: -135px;
        border-radius: 50%;
        border: 1px solid rgba(11, 179, 199, .20);
        box-shadow: inset 0 0 0 18px rgba(11, 179, 199, .05), inset 0 0 0 46px rgba(15, 87, 199, .045);
        pointer-events: none;
    }

.df-doc-modal .modal-header {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 26px 28px 12px;
    border-bottom: 0;
    background: transparent;
}

.df-doc-modal-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #ffffff;
    background: linear-gradient(135deg, #0bb3c7, #0f57c7);
    box-shadow: 0 14px 30px rgba(11, 179, 199, .26);
    font-size: 27px;
}

.df-doc-modal .btn-close {
    width: 40px;
    height: 40px;
    margin: 0;
    border-radius: 14px;
    background-color: rgba(245, 252, 255, .95);
    border: 1px solid rgba(208, 231, 239, .95);
    opacity: 1;
    box-shadow: none;
}

    .df-doc-modal .btn-close:focus {
        box-shadow: 0 0 0 4px rgba(11, 179, 199, .14);
    }

.df-doc-modal .modal-body {
    position: relative;
    z-index: 2;
    padding: 10px 28px 24px;
}

.df-doc-modal .modal-title {
    margin: 0;
    color: #061946;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.12;
    letter-spacing: -.035em;
    font-weight: 950;
}

    .df-doc-modal .modal-title strong {
        display: block;
        margin-top: 8px;
        color: #0b3b91;
        font-size: .78em;
        line-height: 1.25;
        font-weight: 850;
    }

.df-doc-modal-text {
    margin: 22px 0 0;
    padding: 18px 20px;
    border-radius: 22px;
    color: #344054;
    background: radial-gradient(circle at 90% 14%, rgba(11, 179, 199, .10), transparent 30%), linear-gradient(135deg, rgba(245, 252, 255, .96), rgba(255, 255, 255, .94));
    border: 1px solid rgba(208, 231, 239, .95);
    font-size: 16px;
    line-height: 1.65;
}

.df-doc-modal .modal-footer {
    position: relative;
    z-index: 2;
    padding: 0 28px 28px;
    border-top: 0;
    background: transparent;
}

.df-doc-modal-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.df-doc-btn {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.df-doc-btn-primary {
    color: #ffffff !important;
    border: 0;
    background: linear-gradient(135deg, #0b3b91, #0f57c7);
    box-shadow: 0 14px 30px rgba(15, 87, 199, .25);
}

    .df-doc-btn-primary::before {
        content: "\F26A";
        font-family: "bootstrap-icons";
        margin-right: 9px;
        font-weight: normal;
        font-size: 19px;
    }

.df-doc-btn-outline {
    color: #0b3b91 !important;
    background: rgba(255, 255, 255, .82);
    border: 1px solid rgba(15, 87, 199, .28);
}

    .df-doc-btn-outline::before {
        content: "\F62A";
        font-family: "bootstrap-icons";
        margin-right: 9px;
        font-weight: normal;
        font-size: 18px;
    }

.df-doc-btn:hover {
    transform: translateY(-1px);
}

.df-doc-btn-primary:hover {
    color: #ffffff !important;
    box-shadow: 0 18px 38px rgba(15, 87, 199, .32);
}

.df-doc-btn-outline:hover {
    color: #0b3b91 !important;
    border-color: rgba(15, 87, 199, .55);
    background: #f5fcff;
}

/* Общий фон модалок */
.modal-backdrop.show {
    opacity: .58;
    background: radial-gradient(circle at 70% 20%, rgba(11, 179, 199, .18), transparent 28%), #061946;
}

@media (max-width: 575.98px) {
    .df-doc-modal .modal-dialog {
        margin: 14px;
    }

    .df-doc-modal .modal-content {
        border-radius: 24px;
    }

    .df-doc-modal .modal-header,
    .df-doc-modal .modal-body,
    .df-doc-modal .modal-footer {
        padding-left: 22px;
        padding-right: 22px;
    }

    .df-doc-modal-actions {
        grid-template-columns: 1fr;
    }

    .df-doc-modal-icon {
        width: 52px;
        height: 52px;
        border-radius: 18px;
        font-size: 24px;
    }
}