/* Tay's House of Chats - Login Redesign */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background-image:
        linear-gradient(rgba(20, 0, 0, 0.10), rgba(20, 0, 0, 0.18)),
        url('images/tays_background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    font-family: Arial, Helvetica, sans-serif;
    color: #fff;
}

.out_page_container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: 40px 20px 90px;
}

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

.out_page_box {
    width: 560px;
    max-width: 92%;
    text-align: center;
    background: rgba(15, 0, 0, 0.62);
    border: 1px solid rgba(255, 207, 94, 0.55);
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
}

.out_page_data {
    padding: 34px 38px !important;
}

.tays_title {
    margin: 0;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffd36a;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.tays_subtitle {
    margin: 8px 0 20px;
    font-size: 18px;
    font-weight: 500;
    color: #fff;
}

.tays_features {
    margin: 0 0 24px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffd36a;
}

.tays_buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
}

.tays_buttons .theme_btn {
    min-width: 155px;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 7px;
    border: 1px solid #ffcf5e;
    background: #b40000;
    color: #fff;
    transition: transform .15s ease, background .15s ease;
}

.tays_buttons .theme_btn:hover {
    background: #d00000;
    transform: translateY(-1px);
}

.tays_description {
    max-width: 470px;
    margin: 0 auto 20px;
    font-size: 15px;
    line-height: 1.55;
    color: #f5f5f5;
}

.tays_adults {
    margin: 0 0 18px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffd36a;
}

.embed_lang {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: auto !important;
    margin: 0 auto;
    padding: 6px 11px;
    opacity: 0.85;
    font-size: 12px;
}

.embed_lang:hover {
    opacity: 1;
}

.embed_lang .intro_lang {
    width: 20px;
    height: auto;
}

.embed_lang p {
    margin: 0;
}

.login_not_member {
    padding-top: 0;
}

.intro_social_container {
    padding-top: 15px;
}

/* Tay's cookie notice */
.cookie_wrap {
    position: fixed !important;
    left: 50% !important;
    bottom: 20px !important;
    transform: translateX(-50%);
    width: calc(100% - 40px) !important;
    max-width: 720px;
    padding: 14px 16px !important;
    box-sizing: border-box;
    display: flex !important;
    align-items: center;
    gap: 16px;
    background: rgba(48, 0, 10, 0.96) !important;
    border: 1px solid #e7b94f;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    color: #fff !important;
    z-index: 9999;
}

.cookie_text {
    flex: 1;
    text-align: left;
}

.cookie_text p {
    margin: 0 !important;
    font-size: 14px;
    line-height: 1.45;
}

.cookie_text .link_like {
    color: #f4ce6a !important;
    text-decoration: underline;
    font-weight: 600;
}

.cookie_button {
    flex: 0 0 auto;
}

.cookie_button .theme_btn {
    min-width: 72px;
    padding: 10px 18px !important;
    margin: 0 !important;
    border: 1px solid #f4ce6a !important;
    border-radius: 8px !important;
    background: #c90000 !important;
    color: #fff !important;
    font-weight: 700;
    text-transform: uppercase;
}


@media screen and (max-width: 600px) {
    body {
        background-attachment: scroll;
    }

    .out_page_container {
        padding: 25px 12px 90px;
    }

    .out_page_data {
        padding: 28px 20px !important;
    }

    .tays_title {
        font-size: 27px;
        letter-spacing: 1px;
    }

    .tays_subtitle {
        font-size: 16px;
    }

    .tays_features {
        font-size: 12px;
        line-height: 1.7;
    }

    .tays_buttons {
        flex-direction: column;
    }

    .tays_buttons .theme_btn {
        width: 100%;
    }

    .cookie_wrap {
        bottom: 12px !important;
        width: calc(100% - 24px) !important;
        padding: 14px 16px !important;
        gap: 12px;
        border-radius: 12px;
        flex-direction: column;
        align-items: stretch;
    }

    .cookie_text {
        width: 100%;
        flex: none;
        text-align: center;
    }

    .cookie_button {
        width: 100%;
        flex: none;
        text-align: center;
    }

    .cookie_text p {
        font-size: 12px;
        line-height: 1.4;
    }

    .cookie_button .theme_btn {
        min-width: 58px;
        padding: 9px 12px !important;
        font-size: 12px;
    }

}

/* =========================================================
   TAY'S LOGIN + REGISTRATION MODALS
   ========================================================= */

#small_modal_in:has(#login_form_box),
#small_modal_in:has(#registration_form_box) {
    background: linear-gradient(145deg, rgba(55, 5, 12, 0.98), rgba(20, 3, 7, 0.99)) !important;
    border: 1px solid rgba(255, 211, 106, 0.75) !important;
    border-radius: 14px !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.75),
        0 0 25px rgba(180, 20, 30, 0.15);
    overflow: hidden;
}

/* Top bar / close area */
#small_modal_in:has(#login_form_box) .modal_top,
#small_modal_in:has(#registration_form_box) .modal_top {
    background: rgba(35, 3, 8, 0.96) !important;
    border-bottom: 1px solid rgba(255, 211, 106, 0.25);
    color: #ffd36a !important;
}

/* Close X */
#small_modal_in:has(#login_form_box) .close_modal,
#small_modal_in:has(#registration_form_box) .close_modal {
    color: #ffd36a !important;
}

/* Main form area */
#login_form_box,
#registration_form_box {
    padding: 24px !important;
}

/* Field labels */
#login_form_box .label,
#registration_form_box .label {
    color: #f7e7bd !important;
    font-weight: 600;
}

/* Inputs and dropdowns */
#login_form_box input,
#registration_form_box input,
#registration_form_box select {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 211, 106, 0.35) !important;
    color: #ffffff !important;
    border-radius: 7px !important;
}

/* Focus effect */
#login_form_box input:focus,
#registration_form_box input:focus,
#registration_form_box select:focus {
    border-color: #ffd36a !important;
    box-shadow: 0 0 0 2px rgba(255, 211, 106, 0.12);
    outline: none;
}

/* Dropdown options */
#registration_form_box select option {
    background: #2b070d;
    color: #ffffff;
}

/* Login + Register buttons */
#login_form_box .theme_btn,
#registration_form_box .theme_btn {
    background: linear-gradient(180deg, #d71920, #a90810) !important;
    border: 1px solid #ffcf63 !important;
    border-radius: 7px !important;
    color: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

#login_form_box .theme_btn:hover,
#registration_form_box .theme_btn:hover {
    background: #d00000 !important;
}

/* Forgot password */
#login_form_box .forgot_password {
    color: #d9c38c !important;
}

#login_form_box .forgot_password:hover {
    color: #ffd36a !important;
}

/* Registration terms */
#registration_form_box .rules_text {
    color: #cfc4c6 !important;
}

#registration_form_box .rules_click {
    color: #ffd36a !important;
}

/* Not yet a member footer */
#small_modal_in:has(#login_form_box) .not_member {
    background: rgba(20, 2, 5, 0.75) !important;
    border-top: 1px solid rgba(255, 211, 106, 0.18);
    color: #f1d998 !important;
    padding: 13px 15px !important;
    text-align: center;
}

/* Mobile */
@media screen and (max-width: 600px) {
    #small_modal_in:has(#login_form_box),
    #small_modal_in:has(#registration_form_box) {
        width: calc(100% - 24px) !important;
        margin: 30px auto !important;
        border-radius: 12px !important;
    }

    #login_form_box,
    #registration_form_box {
        padding: 20px !important;
    }
}
