/* Reset margins and padding */
html,
body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
    background: linear-gradient(to bottom, #000000, #E5E5E5);
    overflow-y: auto;
    overflow-x: hidden;
    font-family: "Tangerine";
    border: none !important;

    display: flex;
    flex-direction: column;
    justify-content: center;

}

.iframe-container {
    flex: 1;
    overflow: hidden;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.button-container {
    text-align: center;
    background-color: transparent !important;
    position: absolute;
    /* bottom: 3.1vh;
    left: 26.5%; */
    height: 86px !important;
}

.finish-button {
    background-color: rgba(23, 23, 23, 0.71);
    width: 100%;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    font-size: 1.5rem;
    padding-left: 30px;
    padding-right: 30px;
    color: white;
}

@media (max-width: 1024px) {}

.button-container {
    left: 8.5% !important;
    bottom: 3vh;
}

.finish-button {
    font-size: 1.5rem;
}

.finish-button:hover,
.finish-button:focus {
    cursor: pointer;
    background-color: white;
    color: black !important;
    transform: scale(1.05);
}

.finish-button svg {
    width: 80px;
    height: 50px;
    color: white;
    margin-left: 5px;
}

.button-container.hidden {
    display: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.overlay.active {
    pointer-events: auto;
    cursor: default;
}


.disclaimer-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.checkbox-container {
    margin: 20px 0;
}

.accept-button {
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    border: 2px solid #fe7b6f;
    color: #fe7b6f;
    border-radius: 15px;
}

.accept-button:hover:not(:disabled) {
    opacity: 1;
    background-color: #fe7b6f !important;
    color: white !important;
}

.accept-button:disabled {
    opacity: .6;
    cursor: not-allowed;
}


.form-check-input:checked {
    background-color: #fe7b6f;
    border-color: #fe7b6f;
}

.form-check-input:focus {
    background-color: #fe7b6f;
    border-color: #fe7b6f;
    box-shadow: none;
}

a {
    color: #fe7b6f;
}

a:hover {
    color: #769EA3;
}

h1 {
    font-weight: 900;
    font-size: 2.6rem;
    font-variant-ligatures: none;
    color: #fe7b6f;
    font-family: "Rubik", sans-serif;
    margin: 0px;
}

h2 {
    font-size: 1rem;
    font-weight: 500;
    font-variant-ligatures: none;
    color: #fe7b6f;
    font-family: "Rubik", sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 20px;
    border-radius: 5px;
    margin: 0px !important;
}

p {
    margin: 0px;
    font-family: "Rubik", sans-serif;
    font-size: 14px;
}

ul,
li {
    border: none !important;
    margin: 0;
}

.form-check-label {
    cursor: pointer;
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 15px;
    cursor: pointer;
}

.modal-close svg {
    height: 30px;
    width: 30px;
    color: #fe7b6f;
}


.title {
    color: #fe7b6f;
    font-size: 1.3rem;
    margin-bottom: 15px !important;
}

h2 span svg {
    color: #fe7b6f;
    height: 30px;
    width: 30px;
}


h2:hover {
    background: rgba(198, 209, 219, .4);
}

.list-group-item {
    padding: 0px;
}


/* Add these to your existing style.css */
.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background-color: #e20074;
    border-color: #e20074;
}

.btn-primary:hover {
    background-color: #c40063;
    border-color: #c40063;
}

.tx {
    font-family: "Rubik", sans-serif !important;
}

.logo {
    display: block;
    margin: 0 auto 2rem;
    width: 90px;
    border-radius: 50%;
}

footer {
    text-align: center;
    padding: 1rem;
    color: #000000;
    font-size: 0.875rem;
    position: absolute;
    bottom: 15px;
    width: 100%;
}

footer a {
    color: #000000;
    text-decoration: none;
    margin: 0 0.5rem;
}

footer a:hover {
    text-decoration: underline;
}

.h-100 {
    height: 100vh;
}

.form-label {
    font-size: 0.9rem;
    color: #fe7b6f;
}


.auth-btn {
    border: 2px solid #fe7b6f;
    background: #fe7b6f;
    border-radius: 15px;
    color: white;
    padding: 15px 30px;
}

.auth-btn:hover {
    border: 2px solid #f76d60;
    background: #f76d60;
    border-radius: 15px;
    color: white;
    padding: 15px 30px;
}

.alert-danger {
    color: #961c27;
    background-color: #ff00173b;
    border-color: #ff00173b;
    padding: 10px 15px !important;
    border-radius: 3px;
    font-size: 13px;
}

.px {
    font-size: 1.5rem !important;
}

.form-control:focus {
    color: #212529;
    border: 1px solid #ced4da !important;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 109, 253, 0) !important;
}


.form-control {
    font-family: "Rubik", sans-serif !important;
    font-size: 15px !important;
    height: 50px !important;
}

.password-container {
    position: relative;
}

.password-container .form-control {
    padding-right: 40px;
    font-size: 15px !important;
}

.password-toggle {
    position: absolute;
    right: 13px;
    top: 52%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #f76d60;
    /* Bootstrap's secondary color */
}

.password-toggle:hover {
    color: #dd594d;
    font-weight: bolder;
    /* Darker shade on hover */
}



@media only screen and (min-width: 480px) and (orientation: portrait) {
    .button-container {
        left: 2vh !important;
        /* Consistent with your existing rules */
        bottom: 0px !important;
        /* As per requirement */
    }

    .finish-button {
        font-size: clamp(0.10rem, 2vw, 1.2rem) !important;
        /* Smaller for mobile */
        padding: 0 15px !important;
        min-width: 100px !important;
        height: 3rem !important;
    }
}

/* Tablet: min-width 768px, portrait */
@media only screen and (min-width: 768px) and (orientation: portrait) {
    .button-container {
        left: 2vh !important;
        bottom: 85px !important;
        /* As per requirement */
    }

    .finish-button {
        font-size: 2rem !important;
        height: 8rem !important;
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }
}

/* Desktop: min-width 992px, portrait */
@media only screen and (min-width: 992px) and (orientation: portrait) {
    .button-container {
        left: 2vh !important;
        bottom: 5.3rem !important;
        /* As per requirement */
    }

    .finish-button {
        font-size: 2rem !important;
        height: 8rem !important;
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }
}

/* Huge: min-width 1280px, portrait */
@media only screen and (min-width: 1280px) and (orientation: portrait) {
    .button-container {
        left: 2vh !important;
        bottom: 1.3rem !important;
        /* As per requirement */
    }

    .finish-button {
        font-size: 2rem !important;
        height: 8rem !important;
        display: flex;
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }
}

/* Existing landscape media queries (unchanged) */

/* Devices between 800px and 1024px in landscape mode */
@media (min-width: 800px) and (max-width: 1024px) and (orientation: landscape) {
    .button-container {
        left: 2vh !important;
        bottom: 1.3rem !important;
        /* Keeping your existing rule */
    }

    .finish-button {
        font-size: 1.5rem !important;
        height: 100% !important;
    }
}

/* Devices under 800px in landscape mode */
@media (max-width: 800px) and (orientation: landscape) {
    .button-container {
        left: 2vh !important;
        bottom: -0.7vh !important;
        /* Keeping your existing rule */
    }

    .finish-button {
        font-size: clamp(0.9rem, 2vw, 1.2rem) !important;
        padding: 0 15px !important;
        min-width: 100px !important;
        height: 100% !important;
    }
}


@media only screen and (min-width: 480px) and (orientation: landscape) {
    .button-container {
        left: 2vh !important;
        bottom: -0.7vh !important;
        /* Consistent with your existing rule for <800px */
    }

    .finish-button {
        font-size: clamp(0.9rem, 2vw, 1.2rem) !important;
        padding: 0 15px !important;
        min-width: 100px !important;
        height: 100% !important;
    }
}

/* Tablet: min-width 768px, landscape */
@media only screen and (min-width: 768px) and (orientation: landscape) {
    .button-container {
        left: 23vh !important;
        bottom: -1.6rem !important;
        /* Consistent with your existing rule for 800px-1024px */
    }

    .finish-button {
        font-size: 1rem !important;
        height: 50px !important;
    }
}

/* Desktop: min-width 992px, landscape */
@media only screen and (min-width: 992px) and (orientation: landscape) {
    .button-container {
        left: 2vh !important;
        bottom: 1.3rem !important;
        /* Same as tablet for consistency */
    }

    .finish-button {
        font-size: 1.5rem !important;
        height: 100% !important;
    }
}

/* Huge: min-width 1280px, landscape */
@media only screen and (min-width: 1280px) and (orientation: landscape) {
    .button-container {
        left: 25vh !important;
        bottom: 1.3rem !important;
        /* Same as desktop for consistency */
    }

    .finish-button {
        font-size: 1.5rem !important;
        height: 100% !important;
    }
}