﻿body {
    margin: 0px !important;
}

.icon {
    color: #00C30D;
    margin-right: 5px;
}

.features-list {
    list-style: none;
    margin-block-start: 0px !important;
    margin-bottom: 30px;
    padding-inline-start: 1.8em;
    padding-inline-end: 2.2em;
    text-align: left;
}

    .features-list li {
        margin-bottom: 10px;
        font-size: 0.9em;
        display: flex;
        align-items: flex-start;
        position: relative;
        padding-left: 2.2em;
        text-align: left;
    }

        .features-list li::before {
            content: '✅';
            display: inline-block;
            font-size: 1.1em;
            line-height: 1;
            position: absolute;
            left: 0;
            top: 0.1em;
            margin-right: 0.5em;
        }

.checkmark {
    color: #4CAF50;
    margin-right: 10px;
    font-size: 1.2em;
}

/* Subscription Options */
.subscription-options {
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.option-text {
    color: black;
    font-size: 1.3em;
}

.bi.bi-arrow-right {
    font-size: 1.3em;
    font-weight: 500;
}

.option-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: white; /* Translucent white */
    border: none;
    border-radius: 5px;
    padding: 15px 25px;
    margin-bottom: 15px;
    color: white;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .option-button .price-tag {
        background-color: #FE39AA; /* Red/pink price tag */
        border-radius: 20px;
        padding: 5px 15px;
        font-size: 0.85em;
        font-weight: 700;
    }

    .option-button .price-blue {
        background-color: #47B2F1; /* Green price tag */
    }

    .option-button .price-green {
        background-color: #65D382; /* Green price tag */
    }

    .option-button i.fa-arrow-right {
        font-size: 1.2em;
        color: black;
    }

.upgrade-banner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Align content to the top, then use padding */
    align-items: center;
    width: 100%;
    /* No fixed height here; let it grow with content within #evina-mount.
        It will get its height from the scrolled content. */
    min-height: 100%; /* Ensures it takes at least the full height of the viewport when content is short */
    box-sizing: border-box; /* Include padding in height calculation */
    /* Adjust padding to position content visually below the wave. */
    padding-top: 15px; /* Start with current, adjust as needed */
    padding-bottom: 50px; /* Ensure content isn't cut off at the very bottom */
    padding-left: 20px;
    padding-right: 20px;
    background-color: transparent; /* Essential for seeing the clipped #evina-mount background */
    position: relative; /* For z-index to work */
    z-index: 1; /* Ensures content is above the #evina-mount background (which is clipped) */
    color: white;
    font-family: 'Poppins', sans-serif;
    border: none !important;
}

#banner-description {
    font-size: 1.2em !important;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 25px !important;
    max-width: 300px;
    color: #ffffff !important;
}

#price-button {
    background-color: #ff3399; /* Bright pink color */
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 30px; /* Highly rounded corners */
    font-size: 1.2em;
    font-weight: 600;
    cursor: default;
    transition: background-color 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

    #price-button:hover {
        background-color: #e60073; /* Darker pink on hover */
    }

    #price-button.price-blue {
        background-color: #47B2F1 !important;
    }

        #price-button.price-blue:hover {
            background-color: #288cc7 !important;
        }

    #price-button.price-green {
        background-color: #65D382 !important;
    }

        #price-button.price-green:hover {
            background-color: #4ab566 !important;
        }

.upgrade-text {
    font-weight: 900;
    line-height: 1.5;
    font-size: 2.8em;
    margin: 0 auto;
    color: white;
    text-shadow: 2px 2px 0 #00000033; /* light drop shadow */
    font-family: 'Arial Black', sans-serif;
    padding: 20px 0px;
    display: block;
    border-radius: 8px;
}

footer, header {
    display: block;
}

h1 {
    font-size: 100%;
}

input, select, textarea {
    font: inherit;
}

html {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
}

.text {
    display: block;
    width: 90%;
    margin: 0 auto 0 auto;
    font-size: 1.25em;
}

    .text.charge {
        height: 1em;
    }

#header-image {
    position: relative;
    z-index: 2; /* Ensures it's above other elements within .upgrade-banner if needed */
    max-height: none; /* Ensure logo is not clipped by any old max-height */
    overflow: visible; /* Ensure logo isn't clipped if it overflows */
}

    #header-image img {
        width: 150px;
        height: auto;
        display: block;
        margin: 0 auto;
    }

#mentions .text a {
    color: white !important;
    margin-bottom: 0.3em;
    font-size: 1em;
    text-decoration: underline;
}

#mentions .text {
    margin-bottom: 0.3em;
    font-size: 1em;
    color: #ffffff;
}

#mentions {
    margin-top: 2.3em;
}

#header-image, #actions, #wording, #exit {
    margin-bottom: 1em;
    color: #ffffff !important;
}

    #wording .text {
        color: #ffffff !important;
        font-size: 1.24em;
    }

#upgradePage {
    height: auto;
    position: static;
    background-color: transparent;
    padding: 0;
    margin-top: 0 !important;
}

#actions {
    padding: 0;
    position: relative;
    z-index: 9;
}

.exit {
    color: #ffffff;
    font-size: 1em;
    text-decoration: none;
    margin-top: 15px;
}

    .exit:hover {
        color: white;
    }

#exit p a {
    color: white;
}

.premium-button:hover {
    background-color: #f0f0f0;
    box-shadow: 0 7px 20px rgba(0, 0, 0, 0.3);
}

#wording {
    z-index: 999;
    color: #ffffff !important;
}

#mentions {
    color: #ffffff;
    padding-bottom: 2em;
    position: relative;
    z-index: 999;
}

    #mentions a {
        margin: 0 1em;
    }

@media screen and (min-width: 426px) {
    body {
        font-size: 14px;
    }
}

@media screen and (max-width: 300px) {
    body {
        font-size: 12px;
    }
}

#mobileDiv {
    display: flex;
    justify-content: center;
    margin: 0;
    flex-direction: column;
}

#evinaLogo {
    margin-top: 20px;
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    #evinaLogo img {
        width: 150px;
        height: auto;
        margin-bottom: 5px;
    }

    #evinaLogo p {
        font-size: 1.2em;
        font-weight: 600;
        margin: 0;
        color: white;
    }

h1 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 700;
}

.terms-info {
    font-size: 0.95em;
    padding: 20px;
}

    .terms-info p {
        padding: 5px;
    }

        .terms-info p a {
            padding: 5px;
            color: white;
        }

#wording_input {
    color: black;
}

#help text {
    color: black;
}

#wording_description {
    margin: 20px auto;
    display: block;
    font-size: 0.9em;
}

footer, header {
    display: block;
}

h1 {
    font-size: 100%;
}

a, u, ins {
    text-decoration: none;
}

a {
    color: #ffffff;
    text-decoration: underline;
}

input, select, textarea {
    font: inherit;
}

html {
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
}

.text {
    display: block;
    width: 90%;
    margin: 0 !important;
    font-size: 1.25em;
}

    .text.charge {
        height: 1em;
    }

#header-image {
    max-height: 300px;
    position: relative;
    overflow: hidden;
}

#header-image, #actions, #wording, #input, #exit {
    margin-bottom: 1.5em;
}

#wording_header.header {
    margin: 0;
}

#wording .header {
    font-weight: 900;
    font-size: 29px;
    color: white;
    text-shadow: 2px 2px 0 #00000033;
    font-family: 'Arial Black', sans-serif;
    padding: 0 20px;
    display: inline-block;
    border-radius: 8px;
}

#wording .text, #footer {
    line-height: 1.35;
    font-size: 1em;
}

#input .text {
    font-size: 0.85em;
}

#input .help {
    display: block;
    text-align: left;
    margin-left: 5%;
    font-size: 1em;
    color: grey;
}

#input label {
    display: block;
    font-weight: bold;
    text-align: left;
    margin-left: 5%;
    font-size: 1.25em;
    margin-bottom: 10px;
}

#input {
    background-color: white;
    border: solid;
    border-radius: 25px;
    padding: 20px;
    position: center;
    justify-self: center;
}

.input {
    height: 50px;
    border-radius: 5px;
    font-size: 1.34em;
    color: black;
    text-indent: 10px;
    border: 1px solid #000000;
    text-align: left;
    margin-bottom: 10px;
    justify-self: start
}

#page {
    width: 100%;
    min-height: 600px;
    max-width: 450px;
    margin: 0 auto;
    position: relative;
}

#actions {
    padding: 0;
    position: relative;
    z-index: 9;
}

    #actions button {
        outline: none;
        position: relative;
        margin: 0 auto;
        border: none;
        width: 200px;
        background-color: white;
        color: black;
        border-radius: 1.5em;
        padding: 0.60em 0;
        font: 1.10em "Roboto", Arial, Helvetica, sans-serif;
        font-weight: bold;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

.resend {
    cursor: pointer;
    color: lightskyblue;
}

#terms {
    margin-top: 30px;
    margin-bottom: 30px;
}

    #terms > p > a {
        color: white;
    }

.clearfix:after {
    content: " ";
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

@media screen and (min-width: 426px) {
    body {
        font-size: 14px;
    }
}

@media screen and (max-width: 300px) {
    body {
        font-size: 12px;
    }
}

.upgrade-banner > #register > div > #actions > form > #input {
    text-align: left !important;
}

.popup-card {
    width: 320px;
    background-color: #8e67fd;
    font-family: 'Poppins', sans-serif;
    color: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: center;
    margin: 50px auto;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 20px;
    color: white;
    cursor: pointer;
}

.popLogo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

    .popLogo img {
        width: 100px;
    }

    .popLogo .text {
        margin-top: 8px;
    }

.evinaLogo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 12px;
}

    .evinaLogo img {
        width: 80px;
        height: 80px;
    }

    .evinaLogo .text {
        margin-top: 8px;
    }

.brand {
    font-weight: bold;
    font-size: 22px;
    letter-spacing: 1px;
}

.sub {
    display: block;
    font-size: 14px;
    margin-top: -4px;
}

.message {
    font-size: 15px;
    margin: 16px 0 8px;
    color: white;
}

.welcome {
    font-size: 15px;
    margin-bottom: 24px;
    color: white;
}

.cta {
    background-color: white;
    color: #333;
    font-weight: bold;
    border: none;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

    .cta:hover {
        background-color: #eaeaea;
    }

.resend {
    color: #8257fd;
}

html, body {
    overscroll-behavior-y: contain;
    margin: 0 !important;
}

/* --- #evina-mount: The Full-Viewport Overlay --- */
#evina-mount:not(:empty) {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 9999;
    background: linear-gradient(180deg, rgba(234, 222, 252, 1) 0%, rgba(165, 131, 253, 1) 0%, rgba(142, 77, 246, 1) 100%);
    overflow-y: auto;
    overflow-x: hidden;
    clip-path: url(#evinaWaveClipPath);
    pointer-events: auto;
}

#evina-mount.evina-popup-active {
    background-color: transparent;
    clip-path: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-scroll-body {
    overflow: hidden;
}

.purple-body {
    background-color: #8e67fd;
}

.top-padded-cptpl {
    padding-top: 38dvh;
}

/*@media (max-height: 1400px) {
    .top-padded-cptpl {
        padding-top: 35vh;
    }
}

@media (max-height: 1250px) {
    .top-padded-cptpl {
        padding-top: 29vh;
    }
}

@media (max-height: 1000px) {
    .top-padded-cptpl {
        padding-top: 38vh;
    }
}

@media (max-height: 750px) {
    .top-padded-cptpl {
        padding-top: 38vh;
    }
}

@media (max-height: 670px) {
    .top-padded-cptpl {
        padding-top: 38vh;
    }
}

@media (max-height: 590px) {
    .top-padded-cptpl {
        padding-top: 14vh;
    }
}*/

/* Styling for the exit container (span with class="exit") and its child button */
.exit button {
    /* Button base styles */
    outline: none !important;
    position: relative !important;
    margin: 0 auto !important;
    border: 2px solid white !important;
    width: 200px !important;
    background-color: transparent !important;
    color: white !important;
    border-radius: 1.5em !important;
    padding: 0.60em 0 !important;
    font: 1.10em "Roboto", Arial, Helvetica, sans-serif;
    font-weight: bold !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
    transition: background-color 0.5s ease;
    transition: color 0.3s ease;
}

    /* Hover effect for the button */
    .exit button:hover {
        color: black !important;
        background-color: white !important;
    }

/* Optional: Style for the outer div to center if needed */
#exit {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.links {
    color: white;
    text-decoration: underline;
}

#submit_pin_btn {
    border: 3px solid #FFFFFF !important;
}

#subscribe_button, #accept_button, #submit_pin_btn {
    background-color: #ffffff;
    color: #51585e;
    border: 2px solid white !important;
    padding: 40px;
    border-radius: 30px;
    margin: 0em 1.3em 1.3em 1.3em;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    width: 200px;
    max-width: 280px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

    #subscribe_button:disabled, #submit_pin_btn:disabled, #accept_button:disabled {
        cursor: not-allowed;
        background-color: #6c7177;
        border: 2px solid #6c7177 !important;
        color: #FFFFFF;
    }

@media (min-width: 700px) {
    .upgrade-banner {
        text-align: center;
    }

    .upgrade-text {
        padding: 20px;
    }

    .text {
        margin: 0 auto !important;
    }
}

@media (max-width: 450px) {
    .top-padded-cptpl {
        padding-left: 1.5em;
        padding-right: 1.5em;
    }
}

@media (max-width: 430px) {
    .upgrade-text {
        font-size: 2.3em !important;
        margin: 0 auto !important;
    }
}

#subscription {
    text-align: center;
}

.swal-actions {
    display: flex;
    flex-direction: column;
}

    .swal-actions button {
        margin: 5px auto !important;
        width: 100% !important;
    }

.btn-swal-confirm {
    color: #fff !important;
    background-color: #8e67fd !important;
    border: 3px solid #8e67fd !important;
    border-radius: 0.4em !important;
    font-weight: 800 !important;
}

    .btn-swal-confirm:hover {
        color: #fff;
        background-color: #8a6ce0;
    }


.btn-swal-cancel {
    color: #8e67fd !important;
    background-color: transparent !important;
    border: 3px solid #8e67fd !important;
    border-radius: 0.4em !important;
    font-weight: 800 !important;
}

    .btn-swal-cancel:hover {
        color: #fff;
        background-color: #8a6ce0;
    }

.swal-popup-font {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    z-index: 1;
    display: none;
    z-index: 800;
}

.spinner-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background-color: rgba(128, 128, 128, 0.45);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    pointer-events: none;
    display: none;
    z-index: 900;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #ff69b4;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 1000;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}