/* styles.css — visual replica of the references */
:root {
    --bg: #f3fbfb;
    --card: #ffffff;
    --accent: #0b84a5;
    /* teal-ish */
    --primary: #00a98f;
    /* tag / buttons */
    --yellow: #f6c000;
    --muted: #6b7280;
    --soft: #e9f6f6;
    --radius: 12px;
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color-scheme: light;
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%;
    margin: 0;
    background: var(--bg);
    -webkit-font-smoothing: antialiased
}

.wrap {
    width: calc(100% - 40px);
    max-width: 1100px;
    margin: 0 auto;
    padding: 28px 0
}

.site-header {
    background: #0b84a5;
    box-shadow: 0 6px 20px rgba(2, 16, 33, 0.04);
    position: sticky;
    top: 0;
    z-index: 50
}

.site-header .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0
}

.brand {
    display: flex;
    gap: 10px;
    align-items: center;
    text-decoration: none;
    color: var(--accent);
    font-weight: 700
}

.brand img {
    width: 145px;
    height: 50px;
    border-radius: 8px
}

.nav {
    display: flex;
    gap: 14px;
    align-items: center
}

.nav a {
    color: var(--card);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600
}

.nav a:hover {
    background: rgba(11, 23, 32, 0.04);
    color: #000
}

.btn-primary {
    background: var(--primary);
    color: white;
    padding: 10px 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block
}

.btn-ghost {
    background: transparent;
    border: 2px solid rgba(11, 23, 32, 0.06);
    padding: 8px 14px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--accent);
    font-weight: 700
}

.menuBtn {
    display: none;
    background: transparent;
    border: 0;
    font-size: 22px
}

/* MOBILE NAV TOGGLE — ditambahkan supaya tombol hamburger berfungsi
   (di CSS asli #mobileNav hanya diatur lewat media query, tanpa state
   buka/tutup, jadi selalu tampil penuh di layar kecil) */
#mobileNav {
    display: none;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
    background: #fff;
}

#mobileNav.show {
    display: flex;
}

/* HERO */
.hero {
    padding: 36px 0;

}

.hero-inner {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap
}

.hero-text {
    flex: 1;
    min-width: 320px
}

.hero-text h1 {
    font-size: clamp(20px, 3.8vw, 36px);
    margin: 0 0 10px;
    color: #0b1720
}

.lead {
    color: var(--muted);
    margin-bottom: 12px
}

.hero-cta {
    display: flex;
    gap: 12px
}

.hero-figure {
    flex-grow: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-figure img {
    width: 100%;
    max-width: 300px;
}

/* SECTION TITLES */
.section-title {
    text-align: center;
    font-size: 22px;
    color: var(--accent);
    margin-bottom: 18px
}

/* JENJANG FILTER */
.jenjang-filter {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap
}

.jenjang {
    padding: 10px 16px;
    border-radius: 999px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 700;
    cursor: pointer
}

.jenjang.active,
.jenjang:hover {
    background: var(--primary);
    color: #fff
}

/* PROGRAM GRID & CARD */
.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px
}

.program-card {
    background: var(--card);
    border-radius: 16px;
    padding: 18px 18px 22px;
    box-shadow: 0 12px 30px rgba(2, 16, 33, 0.06);
    position: relative;
    overflow: visible
}

.program-card .tag {
    position: absolute;
    right: 0;
    top: 18px;
    background: var(--accent);
    color: #fff;
    padding: 8px 14px;
    border-radius: 12px 0 0 12px;
    font-weight: 700
}

.card-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 12px
}

.card-header img {
    width: 42px;
    height: 42px
}

.card-header h3 {
    margin: 0;
    font-size: 16px;
    color: #0b1720
}

.features {
    list-style: none;
    padding: 0;
    margin: 6px 0 14px
}

.features li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 10px;
    color: #123;
    font-size: 14px
}

.features li .ico {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(0, 169, 143, 0.08);
    color: var(--primary);
    font-size: 14px
}

.detail-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px
}

.detail-btn {
    background: #eafcf9;
    border-radius: 10px;
    padding: 10px 12px;
    border: 0;
    text-align: left;
    font-weight: 600;
    cursor: pointer;
    position: relative
}

.detail-btn::after {
    content: "›";
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    font-weight: 800
}

.detail-panel {
    display: none;
    background: #fefefc;
    border-left: 4px solid var(--primary);
    padding: 12px;
    border-radius: 8px;
    margin-top: 8px;
    font-size: 14px
}

.detail-panel.show {
    display: block
}

.accordion {
    width: 100%;
    border-radius: 8px;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 14px 18px;
    background: #f2f2f2;
    border: none;
    outline: none;
    cursor: pointer;
    font-weight: 600;
    border-bottom: 1px solid #ddd;
    transition: 0.3s;
}

.accordion-header:hover {
    background: #e8e8e8;
}

.accordion-content {
    display: none;
    padding: 14px 18px;
    background: #fff;
    border-bottom: 1px solid #ddd;
}


/* CTA within card */
.card-cta {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.btn-orange {
    background: linear-gradient(90deg, #f6a623, #ff7b00);
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    border: 0;
    font-weight: 900;
    cursor: pointer
}

.card-link {
    display: block;
    text-align: center;
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    margin-top: 6px
}

/* TIMELINE */
.bg-soft {
    background: linear-gradient(180deg, #f3fbfb 0, #fff 100%);
    border-radius: 14px;
    padding: 28px
}

.timeline-wrap {
    position: relative;
    padding: 20px 10px
}

.timeline-line {
    position: absolute;
    left: 60px;
    top: 20px;
    bottom: 20px;
    width: 4px;
    background: #cfecec;
    border-radius: 4px;
    transform: translateX(-50%)
}

.timeline-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 28px;
    position: relative
}

.timeline-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 4px solid #0b84a5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2
}

.timeline-card {
    flex: 1;
    padding: 18px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(2, 16, 33, 0.04);
    position: relative
}

.timeline-card.yellow {
    background: #ffd84d10;
    /* subtle */
    background: #f7c800;
    color: #0b1730
}

.timeline-card.light {
    background: #fff;
    color: #0b1730
}

.timeline-card h3 {
    margin-top: 0;
    margin-bottom: 8px
}

.timeline-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 14px
}

.timeline-bullets li {
    margin-bottom: 6px
}

/* INFO TABS */
.info-tabs {
    margin-top: 8px
}

.tab-list {
    display: flex;
    gap: 12px;
    border-bottom: 2px solid rgba(0, 0, 0, 0.04);
    padding-bottom: 10px;
    justify-content: center
}

.tab {
    background: transparent;
    border: 0;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    color: var(--muted)
}

.tab.active {
    color: var(--accent);
    border-bottom: 4px solid var(--accent);
    padding-bottom: 6px
}

.tab-panels {
    margin-top: 18px
}

.tab-panel {
    background: var(--card);
    padding: 18px;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(2, 16, 33, 0.03);
    display: none
}

.tab-panel.active {
    display: block
}

/* FAQ */
.faq-list details {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 8px 24px rgba(2, 16, 33, 0.03)
}

.faq-list summary {
    font-weight: 700;
    cursor: pointer
}

/* CTA */
.cta-section {
    text-align: center;
    padding: 30px 0
}

.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap
}

.large {
    padding: 14px 20px;
    font-size: 16px
}

/* Footer */
.site-footer {
    padding: 18px 0;
    text-align: center;
    color: var(--muted);
    margin-top: 20px
}

/* Responsiveness */
@media (max-width:900px) {
    .hero-inner {
        flex-direction: column
    }

    .hero-figure {
        order: -1
    }

    .nav {
        display: none
    }

    .menuBtn {
        display: block
    }

    .timeline-line {
        left: 40px
    }
}

@media (max-width:520px) {
    .wrap {
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 50px;
    }

    .timeline-line {
        left: 36px
    }

    .timeline-icon {
        width: 40px;
        height: 40px
    }

    .timeline-card {
        padding: 14px
    }
}

/* Timeline active animation */
.timeline-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.timeline-item.active {
    opacity: 1;
    transform: translateY(0);
}

.timeline-icon {
    transition: background 0.3s ease, transform 0.3s ease;
}

.timeline-item.active .timeline-icon {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.15);
}

.timeline-item.active .timeline-icon svg path {
    fill: #fff;
}

.timeline-card {
    transition: box-shadow 0.4s ease;
}

.timeline-item.active .timeline-card {
    box-shadow: 0 8px 20px rgba(11, 132, 165, 0.25);
}

/* --- MOBILE BOTTOM NAV --- */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    display: none;
    /* default hidden, show only on mobile */
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    z-index: 1000;
}

.mobile-bottom-nav .nav-item {
    text-decoration: none;
    color: #0b84a5;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: all 0.3s ease;
}

.mobile-bottom-nav .icon {
    font-size: 20px;
    margin-bottom: 3px;
}

/* Center highlight button */
.mobile-bottom-nav .center {
    background: #0b84a5;
    color: #fff;
    width: 60px;
    height: 60px;
    border-radius: 20%;
    position: relative;
    top: -10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 6px 16px rgba(11, 132, 165, 0.3);
}

.mobile-bottom-nav .center .icon {
    font-size: 22px;
}

/* Active state */
.mobile-bottom-nav .nav-item.active,
.mobile-bottom-nav .nav-item:hover {
    color: #007f6f;
}

/* Show only on small screen */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
}

/* ========= CONTACT (DESKTOP DEFAULT) ========= */
.contact-section {
    padding: 36px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.contact-card .social-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.contact-card .social-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.contact-card .social-links a:hover {
    transform: translateY(-3px);
}

/* Brand colors */
.contact-card .fb {
    background-color: #1877f2;
}

.contact-card .ig {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.contact-card .yt {
    background-color: #ff0000;
}

.contact-card .tt {
    background-color: #FE2C55;
}

.map-card iframe {
    width: 100%;
    border-radius: 10px;
    height: 225px;
}

/* ========= RESPONSIVE: MOBILE MODE ========= */
@media (max-width: 520px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-card {
        order: 2;
    }

    .map-card {
        order: 1;
        margin-top: 12px;
    }

    /* Ubah social link jadi hanya ikon sejajar */
    .contact-card .social-links {
        display: flex;
        flex-direction: row;
        justify-content: space-evenly;
        align-items: center;
        margin-top: 10px;
        gap: 15px;
    }

    /* Warna masing-masing platform */
    .contact-card .fb {
        background-color: #1877f2;
    }

    .contact-card .ig {
        background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
    }

    .contact-card .yt {
        background-color: #ff0000;
    }

    .contact-card .tt {
        background-color: #FE2C55;
    }

    .map-card iframe {
        height: 180px;
        border-radius: 10px;
    }
}

/* ==========================================================
   TAMBAHAN — elemen yang dipakai app tapi belum ada di CSS
   referensi (tabel pembayaran, daftar unduhan, dsb). Tetap
   pakai token warna & radius yang sama dengan style di atas.
========================================================== */

.summary {
    font-weight: 600;
    margin-bottom: 8px;
}

.empty {
    text-align: center;
    padding: 24px;
    color: var(--muted);
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(2, 16, 33, 0.03);
}

/* table (tab "Pembayaran") */
.table-wrap {
    overflow-x: auto;
    background: var(--card);
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(2, 16, 33, 0.03);
}

.info-table {
    width: 100%;
    border-collapse: collapse;
}

.info-table th,
.info-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.info-table th {
    background: var(--soft);
    color: var(--accent);
    font-weight: 700;
}

.info-table tr:last-child td {
    border-bottom: none;
}

/* download list (tab "Panduan") */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--card);
    padding: 14px 16px;
    border-radius: var(--radius);
    box-shadow: 0 8px 24px rgba(2, 16, 33, 0.03);
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.download-item:hover {
    transform: translateY(-2px);
}

.download-item i {
    font-size: 20px;
    color: var(--primary);
}

.download-item h4 {
    margin: 0 0 2px;
    font-size: 15px;
    color: #0b1720;
}

.download-item p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
}

/* timeline date label */
.timeline-date {
    display: block;
    font-weight: 700;
    font-size: 12px;
    color: var(--accent);
    margin-bottom: 6px;
}

/* contact info list */
.contact-card {
    background: var(--card);
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(2, 16, 33, 0.06);
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0 0 4px;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.contact-list i {
    color: var(--primary);
    margin-top: 3px;
}

/* ============================================================
   REGISTRATION MODAL
============================================================ */

body.registration-open {
    overflow: hidden;
}

.registration-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.registration-modal.show {
    display: block;
}

.registration-overlay {
    position: absolute;
    inset: 0;
    background: rgba(7, 20, 29, .68);
    backdrop-filter: blur(4px);
}

.registration-dialog {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 24px));
    max-height: 92vh;
    overflow-y: auto;
    margin: 4vh auto;
    padding: 28px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 30px 80px rgba(0,0,0,.28);
}

.registration-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: #f2f4f5;
    color: #17232b;
    cursor: pointer;
    font-size: 18px;
}

.registration-header {
    display: flex;
    gap: 14px;
    align-items: center;
    padding-right: 48px;
    margin-bottom: 24px;
}

.registration-icon {
    flex: 0 0 54px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eafcf9;
    color: var(--primary);
    font-size: 22px;
}

.registration-kicker {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
}

.registration-header h2 {
    margin: 0;
    font-size: 22px;
}

.registration-header p {
    margin: 5px 0 0;
    color: #65727a;
    font-size: 13px;
}

.registration-field {
    margin-bottom: 16px;
}

.registration-field label {
    display: block;
    margin-bottom: 7px;
    font-size: 13px;
    font-weight: 700;
    color: #17232b;
}

.registration-required {
    color: #dc2626;
}

.registration-input {
    width: 100%;
    min-height: 44px;
    padding: 11px 13px;
    border: 1px solid #dce3e7;
    border-radius: 10px;
    outline: none;
    background: #fff;
    color: #17232b;
    font: inherit;
}

textarea.registration-input {
    min-height: 100px;
    resize: vertical;
}

.registration-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0,169,143,.10);
}

.registration-file {
    padding: 18px;
    border: 2px dashed #cfd9de;
    border-radius: 12px;
    background: #f9fbfb;
    text-align: center;
}

.registration-file > i {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-size: 28px;
}

.registration-file input {
    width: 100%;
}

.registration-file small {
    display: block;
    margin-top: 7px;
    color: #71808a;
    font-size: 11px;
}

.registration-notice {
    display: flex;
    gap: 9px;
    margin: 18px 0;
    padding: 12px 13px;
    border-radius: 10px;
    background: #f0fbf9;
    color: #126b60;
    font-size: 12px;
    line-height: 1.5;
}

.registration-status {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.5;
}

.registration-status.error {
    background: #fff1f1;
    color: #a31d1d;
}

.registration-status.success {
    background: #effaf2;
    color: #166534;
}

.registration-success-panel {
    text-align: center;
    padding: 12px 6px 6px;
}

.registration-success-icon {
    width: 72px;
    height: 72px;
    margin: 4px auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eaf8ef;
    color: #16834b;
    font-size: 42px;
}

.registration-success-title {
    font-size: 24px;
    font-weight: 900;
    color: #166534;
}

.registration-success-panel p {
    margin: 8px auto;
    max-width: 520px;
    color: #5f6b66;
    line-height: 1.6;
    font-size: 13px;
}

.registration-success-number-label {
    margin-top: 18px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 700;
}

.registration-success-number {
    margin: 6px auto 10px;
    padding: 12px 16px;
    border: 1px dashed #16834b;
    border-radius: 10px;
    background: #f5fcf7;
    color: #126b60;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .4px;
}

.registration-success-program {
    font-size: 13px;
    font-weight: 800;
    color: #374151;
}

.registration-success-help {
    margin-top: 14px !important;
}

.registration-success-panel .registration-whatsapp {
    margin-top: 10px;
    min-width: 230px;
}

.registration-new-button {
    display: block;
    margin: 14px auto 4px;
    border: 0;
    background: transparent;
    color: #126b60;
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
}

.registration-new-button:hover {
    text-decoration: underline;
}

.registration-whatsapp-note {
    margin-top: 8px;
    margin-bottom: 10px;
    font-size: 12px;
    color: #166534;
}

.registration-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    padding: 10px 14px;
    border-radius: 9px;
    background: #25d366;
    color: #fff !important;
    text-decoration: none;
    font-weight: 800;
    font-size: 12px;
    transition: transform .2s ease, opacity .2s ease;
}

.registration-whatsapp:hover {
    transform: translateY(-1px);
    opacity: .92;
}

.registration-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 11px;
    background: linear-gradient(90deg, #f6a623, #ff7b00);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.registration-submit:disabled {
    opacity: .65;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .registration-dialog {
        width: calc(100% - 12px);
        max-height: 96vh;
        margin: 2vh auto;
        padding: 22px 17px;
        border-radius: 16px;
    }

    .registration-header h2 {
        font-size: 18px;
    }

    .registration-header p {
        font-size: 12px;
    }
}


/* ============================================================
   REGISTRATION MODAL - FINAL OVERRIDE 20260814-02
   Ensures the modal cannot fall back into normal page flow.
============================================================ */
.registration-modal {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 2147483000 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
    margin: 0 !important;
    overflow: hidden !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.registration-modal.show {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.registration-overlay {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(7,20,29,.68) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
}

.registration-dialog {
    position: relative !important;
    z-index: 2 !important;
    width: min(760px, calc(100vw - 32px)) !important;
    max-width: 760px !important;
    max-height: calc(100vh - 48px) !important;
    margin: 0 !important;
    padding: 28px !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    background: #fff !important;
    border-radius: 20px !important;
    box-shadow: 0 30px 80px rgba(0,0,0,.28) !important;
}

.registration-close {
    position: absolute !important;
    top: 15px !important;
    right: 15px !important;
    z-index: 5 !important;
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #f2f4f5 !important;
    color: #17232b !important;
    cursor: pointer !important;
    font-size: 18px !important;
    line-height: 40px !important;
}

.registration-dialog [hidden] {
    display: none !important;
}

body.registration-open {
    overflow: hidden !important;
}

@media (max-width: 600px) {
    .registration-modal {
        padding: 10px !important;
    }
    .registration-dialog {
        width: calc(100vw - 20px) !important;
        max-height: calc(100vh - 20px) !important;
        padding: 22px 17px !important;
        border-radius: 16px !important;
    }
}
