* {
    box-sizing: border-box;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

.zaz-body {
    margin: 0;
    background: #000;
    color: #fff;
    font-family: "Ubuntu", Arial, sans-serif;
}

.zaz-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 12%, rgba(215, 178, 113, 0.2), transparent 12%),
        radial-gradient(circle at 90% 28%, rgba(255, 224, 236, 0.22), transparent 14%),
        #000;
}

.zaz-shell {
    position: relative;
    z-index: 1;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
    padding: 100px 16px 80px;
    background: rgba(0, 0, 0, 0.43);
}

.zaz-hero {
    display: flex;
    justify-content: center;
    width: 100%;
}

.zaz-hero__logo {
    display: block;
    width: min(858px, 86vw, 78vh);
    height: auto;
}

.zaz-content {
    width: 100%;
    max-width: 480px;
    margin: 10px auto 0;
}

.zaz-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-bottom: 24px;
    text-align: center;
}

.zaz-intro h1,
.zaz-ended h1 {
    margin: 0;
    color: #fff;
    font-family: "Ubuntu", Arial, sans-serif;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: 0;
}

.zaz-intro h1 span {
    display: block;
}

.zaz-event {
    display: flex;
    justify-content: center;
    gap: 20px;
    width: 100%;
    color: #fff;
}

.zaz-event__item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 125px;
    font-size: 20px;
    line-height: 1;
    text-align: left;
}

.zaz-event__item:nth-child(2) {
    width: 91px;
}

.zaz-event__item:nth-child(3) {
    width: 106px;
}

.zaz-event__icon {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
}

.zaz-event__icon::before,
.zaz-event__icon::after {
    position: absolute;
    content: "";
    display: block;
}

.zaz-event__icon--date {
    width: 27px;
    border: 2px solid #d7b271;
    border-top-width: 6px;
}

.zaz-event__icon--date::before,
.zaz-event__icon--date::after {
    top: -8px;
    width: 3px;
    height: 7px;
    background: #d7b271;
}

.zaz-event__icon--date::before {
    left: 5px;
}

.zaz-event__icon--date::after {
    right: 5px;
}

.zaz-event__icon--time {
    border: 2px solid #d7b271;
    border-radius: 50%;
}

.zaz-event__icon--time::before {
    left: 13px;
    top: 6px;
    width: 2px;
    height: 9px;
    background: #d7b271;
}

.zaz-event__icon--time::after {
    left: 13px;
    top: 14px;
    width: 8px;
    height: 2px;
    background: #d7b271;
    transform: rotate(35deg);
    transform-origin: left center;
}

.zaz-event__icon--place {
    width: 25px;
}

.zaz-event__icon--place::before {
    left: 3px;
    top: 0;
    width: 19px;
    height: 19px;
    border: 2px solid #d7b271;
    border-radius: 50% 50% 50% 0;
    transform: rotate(-45deg);
}

.zaz-event__icon--place::after {
    left: 10px;
    top: 7px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #d7b271;
}

.zaz-campus-logo {
    display: block;
    width: 222px;
    max-width: 70%;
    height: auto;
}

.zaz-campus-logo--footer {
    margin: 67px auto 0;
}

.zaz-alert {
    margin-bottom: 20px;
    padding: 12px 14px;
    border: 1px solid currentColor;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.45;
}

.zaz-alert--success {
    color: #d7b271;
}

.zaz-alert--error,
.zaz-error {
    color: #ffdce7;
}

.zaz-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.zaz-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.zaz-field label {
    color: #fff;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
}

.zaz-field input,
.zaz-field select {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 12px;
    border: 1px solid #000;
    border-radius: 0;
    background: #fff;
    color: #000;
    font: 20px/1.2 "Ubuntu", Arial, sans-serif;
    letter-spacing: 0;
    outline: none;
}

.zaz-field input:focus,
.zaz-field select:focus {
    box-shadow: 0 0 0 2px #d7b271;
}

.zaz-date-wrap {
    position: relative;
}

.zaz-date-wrap::after {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 18px;
    height: 18px;
    content: "";
    border: 2px solid #0f0f0f;
    border-top-width: 5px;
    transform: translateY(-50%);
    pointer-events: none;
}

.zaz-date-wrap::before {
    position: absolute;
    top: calc(50% - 12px);
    right: 19px;
    width: 3px;
    height: 6px;
    content: "";
    background: #0f0f0f;
    box-shadow: 8px 0 0 #0f0f0f;
    pointer-events: none;
    z-index: 1;
}

.zaz-field--date input {
    padding-right: 46px;
}

.zaz-help {
    width: 380px;
    max-width: 100%;
    margin: 0;
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
}

.zaz-select-wrap {
    position: relative;
}

.zaz-select-wrap::before {
    position: absolute;
    left: 12px;
    top: 50%;
    z-index: 1;
    content: "X";
    width: 24px;
    height: 24px;
    color: #000;
    font: 700 18px/24px "Inter", Arial, sans-serif;
    text-align: center;
    transform: translateY(-50%) rotate(45deg);
    pointer-events: none;
}

.zaz-field select {
    appearance: none;
    padding-left: 48px;
    padding-right: 38px;
    background-image:
        linear-gradient(45deg, transparent 50%, #000 50%),
        linear-gradient(135deg, #000 50%, transparent 50%);
    background-position:
        calc(100% - 18px) 21px,
        calc(100% - 13px) 21px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.zaz-checks {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 0;
    margin-bottom: -10px;
}

.zaz-checks label {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #fff;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.35;
}

.zaz-checks span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.zaz-checks input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    border-radius: 0;
    accent-color: #d7b271;
}

.zaz-checks a {
    color: #fff;
    text-decoration: underline;
}

.zaz-error {
    margin-top: 2px;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 13px;
    line-height: 1.35;
}

.zaz-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: -14px;
}

.zaz-actions .zaz-error:empty {
    display: none;
}

.zaz-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 54px;
    margin: 0;
    padding: 12px 24px;
    border: 1px solid #000;
    border-radius: 0;
    background: #d7b271;
    color: #fff;
    cursor: pointer;
    font: 400 20px/1.5 "Ubuntu", Arial, sans-serif;
    letter-spacing: 0;
    text-transform: uppercase;
}

.zaz-submit:hover,
.zaz-submit:focus {
    background: #c79f5d;
}

.zaz-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.zaz-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    color: #fff;
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

.zaz-footer p {
    margin: 0;
}

.zaz-footer a {
    color: #fff;
    text-decoration: none;
}

.zaz-footer a span {
    color: #aa1f25;
}

.zaz-ended {
    max-width: 480px;
    margin: 0 auto;
    padding: 80px 0;
    text-align: center;
}

.zaz-ended p {
    margin: 18px 0 0;
    font-size: 20px;
    line-height: 1.5;
}

.zaz-bubbles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.zaz-bubbles span {
    position: absolute;
    display: block;
    width: var(--size);
    height: var(--size);
    left: var(--left);
    top: var(--top);
    border: var(--line, 5px) solid var(--color);
    border-radius: 50%;
    opacity: var(--opacity, 1);
}

.zaz-bubbles span:nth-child(1) { --left: 4%; --top: 8%; --size: 34px; --color: #d7b271; }
.zaz-bubbles span:nth-child(2) { --left: 9%; --top: 15%; --size: 18px; --color: #d7b271; --line: 3px; }
.zaz-bubbles span:nth-child(3) { --left: 14%; --top: 24%; --size: 55px; --color: #d7b271; }
.zaz-bubbles span:nth-child(4) { --left: 7%; --top: 38%; --size: 48px; --color: #ffe0ec; }
.zaz-bubbles span:nth-child(5) { --left: 13%; --top: 50%; --size: 66px; --color: #ffe0ec; }
.zaz-bubbles span:nth-child(6) { --left: 3%; --top: 64%; --size: 16px; --color: #ffe0ec; --line: 2px; }
.zaz-bubbles span:nth-child(7) { --left: 10%; --top: 76%; --size: 42px; --color: #d7b271; }
.zaz-bubbles span:nth-child(8) { --left: 17%; --top: 88%; --size: 24px; --color: #d7b271; --line: 4px; }
.zaz-bubbles span:nth-child(9) { --left: 82%; --top: 12%; --size: 44px; --color: #ffe0ec; }
.zaz-bubbles span:nth-child(10) { --left: 90%; --top: 20%; --size: 62px; --color: #ffe0ec; }
.zaz-bubbles span:nth-child(11) { --left: 86%; --top: 34%; --size: 22px; --color: #d7b271; --line: 4px; }
.zaz-bubbles span:nth-child(12) { --left: 91%; --top: 48%; --size: 38px; --color: #d7b271; }
.zaz-bubbles span:nth-child(13) { --left: 84%; --top: 62%; --size: 18px; --color: #ffe0ec; --line: 3px; }
.zaz-bubbles span:nth-child(14) { --left: 88%; --top: 76%; --size: 50px; --color: #ffe0ec; }
.zaz-bubbles span:nth-child(15) { --left: 79%; --top: 88%; --size: 36px; --color: #ffe0ec; --line: 4px; }
.zaz-bubbles span:nth-child(16) { --left: 22%; --top: 18%; --size: 12px; --color: #d7b271; --line: 2px; }
.zaz-bubbles span:nth-child(17) { --left: 24%; --top: 42%; --size: 28px; --color: #ffe0ec; --line: 4px; }
.zaz-bubbles span:nth-child(18) { --left: 20%; --top: 69%; --size: 30px; --color: #d7b271; }
.zaz-bubbles span:nth-child(19) { --left: 75%; --top: 18%; --size: 15px; --color: #ffe0ec; --line: 3px; }
.zaz-bubbles span:nth-child(20) { --left: 78%; --top: 40%; --size: 44px; --color: #d7b271; }
.zaz-bubbles span:nth-child(21) { --left: 77%; --top: 70%; --size: 18px; --color: #d7b271; --line: 3px; }
.zaz-bubbles span:nth-child(22) { --left: 5%; --top: 22%; --size: 8px; --color: #d7b271; --line: 2px; }
.zaz-bubbles span:nth-child(23) { --left: 11%; --top: 32%; --size: 11px; --color: #ffe0ec; --line: 2px; }
.zaz-bubbles span:nth-child(24) { --left: 16%; --top: 58%; --size: 9px; --color: #d7b271; --line: 2px; }
.zaz-bubbles span:nth-child(25) { --left: 93%; --top: 9%; --size: 13px; --color: #ffe0ec; --line: 2px; }
.zaz-bubbles span:nth-child(26) { --left: 87%; --top: 27%; --size: 12px; --color: #ffe0ec; --line: 2px; }
.zaz-bubbles span:nth-child(27) { --left: 80%; --top: 56%; --size: 11px; --color: #d7b271; --line: 2px; }
.zaz-bubbles span:nth-child(28) { --left: 92%; --top: 86%; --size: 12px; --color: #ffe0ec; --line: 2px; }

#ui-datepicker-div.zaz-datepicker {
    z-index: 30 !important;
}

.ui-datepicker,
.ui-widget.ui-datepicker,
.ui-widget-content.ui-datepicker {
    width: min(320px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid rgba(215, 178, 113, 0.5) !important;
    border-radius: 18px !important;
    background: rgba(12, 12, 12, 0.98) !important;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45) !important;
    color: #fff !important;
    font-family: "Ubuntu", Arial, sans-serif !important;
    font-size: 14px !important;
}

.ui-datepicker .ui-datepicker-header,
.ui-widget-header.ui-datepicker-header {
    position: relative;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    column-gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    padding: 4px 0 10px;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    background: transparent !important;
    color: #fff !important;
}

.ui-datepicker .ui-datepicker-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 6px;
    margin: 0;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    flex: 0 0 auto;
    height: 32px;
    padding: 0 12px;
    border: 1px solid rgba(215, 178, 113, 0.55) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
    font: 500 13px/1 "Ubuntu", Arial, sans-serif !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
}

.ui-datepicker select.ui-datepicker-month {
    width: 84px;
}

.ui-datepicker select.ui-datepicker-year {
    width: 66px;
    text-align: center;
    text-align-last: center;
}

.ui-datepicker select.ui-datepicker-month:hover,
.ui-datepicker select.ui-datepicker-year:hover,
.ui-datepicker select.ui-datepicker-month:focus,
.ui-datepicker select.ui-datepicker-year:focus {
    border-color: #d7b271 !important;
    background: rgba(215, 178, 113, 0.16);
}

.ui-datepicker select.ui-datepicker-month option,
.ui-datepicker select.ui-datepicker-year option {
    background: #141414;
    color: #fff;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    position: static;
    top: auto;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(215, 178, 113, 0.45) !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.05) !important;
    cursor: pointer;
    position: relative;
    font-size: 0;
    line-height: 0;
    text-indent: -9999px;
    overflow: hidden;
}

.ui-datepicker .ui-datepicker-prev {
    grid-column: 1;
    grid-row: 1;
}

.ui-datepicker .ui-datepicker-next {
    grid-column: 3;
    grid-row: 1;
}

.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next,
.ui-datepicker .ui-datepicker-title {
    align-self: center;
}

.ui-datepicker .ui-datepicker-title {
    grid-column: 2;
    grid-row: 1;
}

.ui-datepicker .ui-datepicker-prev:hover,
.ui-datepicker .ui-datepicker-next:hover {
    border-color: #d7b271 !important;
    background: rgba(215, 178, 113, 0.15) !important;
}

.ui-datepicker .ui-datepicker-prev span,
.ui-datepicker .ui-datepicker-next span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    background: none !important;
    overflow: visible;
}

.ui-datepicker .ui-datepicker-prev span::before,
.ui-datepicker .ui-datepicker-next span::before {
    display: block;
    width: 10px;
    height: 10px;
    content: "";
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}

.ui-datepicker .ui-datepicker-prev span::before {
    transform: rotate(-135deg) translate(-1px, 1px);
}

.ui-datepicker .ui-datepicker-next span::before {
    transform: rotate(45deg) translate(-1px, 1px);
}

.ui-datepicker table {
    margin: 0;
}

.ui-datepicker th {
    padding: 8px 0 10px;
    color: rgba(255, 255, 255, 0.72);
    font: 700 12px/1 "Inter", Arial, sans-serif;
    text-transform: uppercase;
}

.ui-datepicker td {
    padding: 3px;
}

.ui-datepicker td span,
.ui-datepicker td a,
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 auto;
    border: 1px solid transparent !important;
    border-radius: 10px !important;
    background: transparent !important;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.ui-datepicker td a:hover,
.ui-state-hover,
.ui-widget-content .ui-state-hover,
.ui-widget-header .ui-state-hover,
.ui-state-focus,
.ui-widget-content .ui-state-focus,
.ui-widget-header .ui-state-focus {
    border-color: rgba(215, 178, 113, 0.7) !important;
    background: rgba(215, 178, 113, 0.14) !important;
    color: #fff !important;
}

.ui-datepicker .ui-state-default {
    border: 0;
    background: transparent;
}

.ui-datepicker .ui-state-active,
.ui-datepicker .ui-widget-content .ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
    border-color: #d7b271 !important;
    background: #d7b271 !important;
    color: #111 !important;
    font-weight: 700 !important;
}

.ui-datepicker .ui-state-highlight,
.ui-datepicker .ui-widget-content .ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
    border-color: rgba(255, 220, 236, 0.65) !important;
    background: rgba(255, 220, 236, 0.18) !important;
    color: #fff !important;
}

.ui-datepicker .ui-datepicker-today .ui-state-active {
    color: #111;
}

.ui-datepicker .ui-state-disabled span,
.ui-datepicker .ui-widget-content .ui-state-disabled span,
.ui-widget-content .ui-state-disabled span {
    color: rgba(255, 255, 255, 0.28) !important;
    opacity: 1 !important;
}

.ui-datepicker .ui-datepicker-other-month span,
.ui-datepicker .ui-datepicker-other-month a {
    color: rgba(255, 255, 255, 0.32) !important;
}

.ui-datepicker .ui-icon {
    background-image: none !important;
}

.ui-datepicker .ui-priority-secondary {
    opacity: 1 !important;
}

@media (max-width: 760px) {
    .ui-datepicker {
        width: min(320px, calc(100vw - 20px));
        padding: 10px;
        border-radius: 16px;
    }

    .ui-datepicker .ui-datepicker-title {
        gap: 6px;
    }

    .ui-datepicker select.ui-datepicker-month,
    .ui-datepicker select.ui-datepicker-year {
        height: 30px;
        font-size: 12px !important;
    }

    .ui-datepicker select.ui-datepicker-month {
        width: 78px;
    }

    .ui-datepicker select.ui-datepicker-year {
        width: 62px;
    }

    .ui-datepicker td span,
    .ui-datepicker td a {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 760px) {
    .zaz-shell {
        padding: 36px 18px 48px;
    }

    .zaz-hero__logo {
        width: min(320px, 94vw);
    }

    .zaz-content {
        width: calc(100vw - 36px);
        max-width: 320px;
        margin-top: 6px;
    }

    .zaz-intro {
        gap: 20px;
        margin-bottom: 26px;
    }

    .zaz-intro h1,
    .zaz-ended h1 {
        font-size: 22px;
    }

    .zaz-event {
        gap: 12px;
    }

    .zaz-event__item,
    .zaz-event__item:nth-child(2),
    .zaz-event__item:nth-child(3) {
        width: auto;
        font-size: 12px;
    }

    .zaz-event__icon {
        width: 20px;
        height: 20px;
    }

    .zaz-event__icon--date {
        width: 20px;
        border-width: 2px;
        border-top-width: 5px;
    }

    .zaz-event__icon--date::before,
    .zaz-event__icon--date::after {
        top: -7px;
        height: 6px;
    }

    .zaz-event__icon--date::before {
        left: 4px;
    }

    .zaz-event__icon--date::after {
        right: 4px;
    }

    .zaz-event__icon--time::before {
        left: 8px;
        top: 4px;
        height: 7px;
    }

    .zaz-event__icon--time::after {
        left: 8px;
        top: 10px;
        width: 6px;
    }

    .zaz-event__icon--place {
        width: 20px;
    }

    .zaz-event__icon--place::before {
        left: 2px;
        width: 16px;
        height: 16px;
    }

    .zaz-event__icon--place::after {
        left: 8px;
        top: 6px;
        width: 4px;
        height: 4px;
    }

    .zaz-campus-logo {
        width: 178px;
    }

    .zaz-campus-logo--footer {
        margin-top: 44px;
    }

    .zaz-form {
        gap: 22px;
    }

    .zaz-field label,
    .zaz-field input,
    .zaz-field select,
    .zaz-submit {
        font-size: 16px;
    }

    .zaz-checks {
        gap: 22px;
    }

    .zaz-checks label {
        font-size: 10px;
        line-height: 1.4;
    }

    .zaz-help,
    .zaz-error {
        font-size: 11px;
    }

    .zaz-footer {
        padding-top: 54px;
        font-size: 12px;
    }

    .zaz-bubbles span {
        opacity: 0.45;
    }
}

@media (max-width: 420px) {
    .zaz-shell {
        padding-left: 18px;
        padding-right: 18px;
    }

    .zaz-hero__logo {
        width: min(310px, 94vw);
    }

    .zaz-intro h1,
    .zaz-ended h1 {
        font-size: 20px;
    }

    .zaz-event {
        gap: 10px;
    }

    .zaz-field input,
    .zaz-field select {
        height: 46px;
    }
}

@media (min-width: 761px) and (max-width: 1100px) {
    .zaz-shell {
        padding-top: 72px;
    }

    .zaz-hero__logo {
        width: min(720px, 88vw, 72vh);
    }
}

@media (max-height: 620px) and (orientation: landscape) {
    .zaz-shell {
        padding-top: 28px;
    }

    .zaz-hero__logo {
        width: min(420px, 58vw, 78vh);
    }

    .zaz-content {
        margin-top: 0;
    }

    .zaz-intro {
        gap: 16px;
        margin-bottom: 22px;
    }

    .zaz-intro h1,
    .zaz-ended h1 {
        font-size: 22px;
    }

    .zaz-event__item,
    .zaz-event__item:nth-child(2),
    .zaz-event__item:nth-child(3) {
        width: auto;
        font-size: 12px;
    }

    .zaz-campus-logo {
        width: 170px;
    }
}
