/**
 * Dating Kit — guest onboarding page (public index)
 * Neutralizes Oxwall desktop layout so the mobile template can center correctly.
 */

html {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
}

html body.base_index_page.ow {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    overflow: hidden !important;
    height: 100%;
    background: #fff !important;
    font-family: "Nunito Sans", "Poppins", sans-serif;
}

/* Oxwall Opera float hack — breaks flex centering on mobile */
body.base_index_page:before {
    display: none !important;
    content: none !important;
    float: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}

body.base_index_page .page-wrapper,
body.base_index_page .content-body,
body.base_index_page .welcome-area,
body.base_index_page .welcome-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    float: none !important;
}

body.base_index_page .page-wrapper {
    overflow: hidden;
    background: #fff;
    min-height: 100dvh;
    max-height: 100dvh;
}

body.base_index_page .page-wrapper.dk-guest-index {
    display: flex;
    flex-direction: column;
}

body.base_index_page .content-body {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

body.base_index_page .welcome-area {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

body.base_index_page .welcome-area,
body.base_index_page .welcome-area * {
    box-sizing: border-box;
}

body.base_index_page .welcome-area h2,
body.base_index_page .welcome-area h2.title,
body.base_index_page .welcome-area p {
    float: none !important;
    width: auto;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    text-align: center;
    text-transform: none !important;
    font-family: var(--font-family-title, "Poppins", sans-serif);
}

body.base_index_page .welcome-area img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
    float: none !important;
}

body.base_index_page .welcome-area .dz-media {
    width: 100%;
    max-width: 360px;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 28px;
    padding-right: 28px;
    float: none !important;
    flex-shrink: 0;
}

body.base_index_page .welcome-inner {
    height: auto !important;
    min-height: 0 !important;
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Swiper — full-width slides, centered like the DatingKit template */
body.base_index_page .welcome-area .get-started {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: auto !important;
    text-align: center;
    flex: 1;
    min-height: 0;
    padding-bottom: 0 !important;
}

body.base_index_page .welcome-area .get-started .swiper-wrapper {
    float: none !important;
}

body.base_index_page .welcome-area .get-started .swiper-slide {
    width: 100% !important;
    flex-shrink: 0;
    float: none !important;
}

body.base_index_page .welcome-area .slide-info,
body.base_index_page .welcome-area .slide-info .started {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center;
    float: none !important;
}

body.base_index_page .welcome-area .swiper-btn {
    justify-content: center;
    padding-left: 0;
    padding-right: 0;
}

body.base_index_page .welcome-area .swiper-pagination.style-1 {
    width: 100%;
    text-align: center;
}

/* Sign In / Sign Up */
body.base_index_page .dk-guest-auth {
    position: fixed;
    top: 16px;
    right: 16px;
    left: auto;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 20px;
    padding-right: env(safe-area-inset-right, 0);
}

body.base_index_page .dk-auth-link {
    font-family: "Poppins", "Nunito Sans", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #232d3c;
    text-decoration: none;
    line-height: 1.2;
    transition: color 0.2s ease;
}

body.base_index_page .dk-auth-link:hover,
body.base_index_page .dk-auth-link:focus {
    color: #fe3d96;
    text-decoration: none;
}

body.base_index_page #preloader {
    z-index: 99999;
}

body.base_index_page .bottom-btn.container {
    max-width: 480px;
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0));
}
