/* Playable Ad Styles */
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');

* {
    font-family: 'Rubik', sans-serif;
    /* border: 1px solid red;
    outline: 2px solid limegreen !important;
    background-color: rgb(0 100 0 / 0.1) !important; */
}

html,
body {
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    background: rgb(0, 0, 0);
}

body {
    overflow: hidden;
    display: block;
    justify-content: center;
    align-items: center;
}

.container {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    place-items: center;
    justify-content: center;
    align-items: center;
}

.top-bar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 40;
    pointer-events: none;
}

.progress-bar {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 40;
    pointer-events: none;
}

.final-video-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 50;
}

.visual-addons {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    pointer-events: none;
}

.lobby-video-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 10;
}

.full-background-fp {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    min-width: 100vw; /* Prevents extreme squishing */
    min-height: 100vh;
    object-fit: contain;
    position: relative;
    z-index: 20; /* Position above video but below buttons */
}

/*.laptop-device .full-background-fp {*/
/*    width: 100%;*/
/*    height: 100%;*/
/*    max-width: 100vw;*/
/*    max-height: 100vh;*/
/*    min-width: 50vw; !* Prevents extreme squishing *!*/
/*    min-height: 50vh;*/
/*    object-fit: fill;*/
/*    position: relative;*/
/*    z-index: 20; !* Position above video but below buttons *!*/
/*}*/

/* Add this class to control visibility with JS */
.ios-only {
    display: none; /* Hidden by default */
}


.question-video-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 40;
}

.trivia-background {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 30;
    pointer-events: none;
}

video,
img {
    width: 100%;
    height: 100%;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: fill;
}

.play-btn {
    position: absolute;
    border-radius: 100px;
    bottom: 3%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 67%;
    height: 9.5%;
    opacity: 0;
    z-index: 100;
    cursor: pointer;
}

.submit-btn {
    position: absolute;
    border-radius: 100px;
    bottom: 25.2%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 67%;
    height: 9.5%;
    opacity: 0;
    z-index: 100;
    cursor: pointer;
}

.submit5-btn {
    position: absolute;
    border-radius: 100px;
    bottom: 0.7%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48%;
    height: 5.5%;
    opacity: 0;
    z-index: 100;
    cursor: pointer;
}

.submit6-btn {
    position: absolute;
    border-radius: 100px;
    bottom: -0.8%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48%;
    height: 5.5%;
    opacity: 0;
    z-index: 100;
    cursor: pointer;
}
.submit7-btn {
    position: absolute;
    border-radius: 100px;
    bottom: 3.2%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48%;
    height: 5.5%;
    opacity: 0;
    z-index: 100;
    cursor: pointer;
}
.submit8-btn {
    position: absolute;
    border-radius: 100px;
    bottom: 2.7%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48.3%;
    height: 5.3%;
    opacity: 0;
    z-index: 100;
    cursor: pointer;
}

.privacy-btn {
    position: absolute;
    bottom: 46.6%;
    left: 50%;
    width: 18%;
    height: 1.5%;
    opacity: 0;
    z-index: 100;
    cursor: pointer;
}

.trivia-btn-wrapper {
    position: absolute;
    top: 67.5%;
    left: 50%;
    height: 37%;
    width: 80%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 2%;
}

.trivia-btn {
    width: 100%;
    height: 100%;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    opacity: 0;
    cursor: pointer;
    border: 1px solid red;
}

#inBtn {
    position: fixed;
    bottom: 25.2%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: auto;
    height: 9.5%;
    z-index: 100;
}


/* Base page container */
.page2-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 10;
}

/* Page 3 Wrapper */
.page3-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 10;
}

/* Page 4 Wrapper */
.page4-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 10;
}

/* Page 5 Wrapper */
.page5-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 10;
}

/* Page 6 Wrapper */
.page6-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 10;
}

/* Page 7 Wrapper */
.page7-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 10;
}

/* Page 8 Wrapper */
.page8-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: 100%;
    grid-area: 1/1;
    z-index: 10;
}

/* Container for page 2 video elements */
.page2-video-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

/* Container for page 3 video elements */
.page3-video-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

/* Container for page 4 video elements */
.page4-video-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}


.page5-video-elements {
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}


.page6-video-elements {
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}



.page7-video-elements {
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}


.page8-video-elements {
    /*position: absolute;*/
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}


/* Video wrappers for positioning */
.video-wrapper {
    z-index: 20;
}

.video-wrapper video {
    /*width: 100%;*/
    /*height: 100%;*/
    /*object-fit: contain;*/
}

/* Button styles */
.answer-btn {
    background: transparent;
    cursor: pointer;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 100px;
    border-bottom-right-radius: 100px;
    opacity: 0;
    border: 1px solid red;
    z-index: 30;
}

.lifeline-btn {
    background: transparent;
    cursor: pointer;
    border-radius: 20px;
    opacity: 0;
    border: 1px solid red;
    z-index: 30;
}

/* Positioning classes based on !PAGE_2_static.png layout */
.score-position {
    top: -0.2%;
    right: 0.1%;
    width: 86%;
    height: 12%;
    position: absolute;
}

.top-bar-position {
    top: 11.3%;
    left: 2%;
    width: 96%;
    height: 5%;
    position: absolute;
}

.question-position {
    top: 17.5%;
    left: 9.7%;
    width: 80%;
    height: 32%;
    position: absolute;
}

.answer-a-position {
    top: -3.5%;
    left: -4.6%;
    width: 106%;
    height: 35%;
    position: absolute;
}

.answer-b-position {
    top: 21%;
    left: -4.6%;
    width: 106%;
    height: 35%;
    position: absolute;
}

.answer-c-position {
    top: 45%;
    left: -4.6%;
    width: 106%;
    height: 35%;
    position: absolute;
}

.answer-d-position {
    top: 70%;
    left: -4.6%;
    width: 106%;
    height: 35%;
    position: absolute;
}

.answer-a-bt-position {
    top: 2.5%;
    left: 4.4%;
    width: 88%;
    height: 23%;
    position: absolute;
}

.answer-b-bt-position {
    top: 27.3%;
    left: 4.4%;
    width: 88%;
    height: 23%;
    position: absolute;
}

.answer-c-bt-position {
    top: 51.7%;
    left: 4.4%;
    width: 88%;
    height: 23%;
    position: absolute;
}

.answer-d-bt-position {
    top: 76.5%;
    left: 4.4%;
    width: 88%;
    height: 23%;
    position: absolute;
}

.fifty-fifty-position {
    top: -0.2%;
    left: 0.5%;
    width: 50%;
    height: 105%;
    min-height: 44px;
    position: absolute;
}

.call-help-position {
    top: -0.2%;
    left: 50%;
    width: 50%;
    height: 105%;
    min-height: 44px;
    position: absolute;
}

.fifty-fifty-bt-position {
    top: 10.8%;
    left: 4.8%;
    width: 41%;
    height: 82%;
    position: absolute;
}

.call-help-bt-position {
    top: 10.8%;
    left: 54.3%;
    width: 41%;
    height: 82%;
    position: absolute;
}

/* interactive elements styles */
.lifelines {
    /* display: block; */
    position: absolute;
    top: 51%;
    left: 11.5%;
    height: 5.2%;
    width: 77%;
    /* transform: translate(-50%, -50%); */
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    /*gap: 3%;*/
    /*opacity: 0;*/
    /*border: 1px solid red;*/
}

.answers {
    position: absolute;
    top: 57%;
    left: 11.5%;
    height: 34.1%;
    width: 79%;
    /* transform: translate(-50%, -50%); */
    /*display: flex;*/
    /*justify-content: center;*/
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*gap: 3%;*/
    /*opacity: 0;*/
    /*border: 1px solid red;*/
}

/* For popup overlay */
.popup-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    z-index: 100;
    display: none;
}

/* Static elements for page 3 and 4 */
.page3-static-elements, .page4-static-elements, .page5-static-elements, .page6-static-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 20;
}

/* Interactive elements for page 3 and 4 */
.page3-interactive-elements, .page4-interactive-elements, .page5-interactive-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
}

/* Call help popup position for page 3 */
.call-help-popup-position {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    z-index: 40;
    display: none;
}

/* Add these styles for common animations */
.common-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50; /* Higher z-index to overlay other content */
}

.common-animations video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.result-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
}

/* Pulse animation for the call help feature */
.pulse-animation {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(66, 133, 244, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(66, 133, 244, 0);
    }
}



/* PREDICTION form styles */

.scores {
    position: absolute;
    top: 55.5%;
    left: 10.5%;
    height: 34.1%;
    width: 79%;
    /* transform: translate(-50%, -50%); */
    /*display: flex;*/
    /*justify-content: center;*/
    /*flex-direction: column;*/
    /*align-items: center;*/
    /*gap: 3%;*/
    opacity: 0;
    /*border: 1px solid red;*/
}

/* Transparent team prediction overlay for Page 5 */
.team-prediction-overlay {
    position: absolute;
    top: 53.05%;
    left: 9.9%;
    width: 81%;
    height: 26.5%;
    z-index: 60;
    display: flex;
    justify-content: space-around;
    gap: 1%;
    align-items: center;
    pointer-events: none; /* Let .team-option handle pointer events */
}

.team-option {
    top: 7.8%;
    width: 20%;
    height: 33%;
    background: transparent;
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    pointer-events: auto;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
}

/* Show border only when selected */
.team-option.selected-border {
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
    /*background: rgba(0,255,0,0.1); !* TEMP: Remove after testing *!*/
    border-width: 3px;
}

.score-btn {
    border-radius: 12px;
    cursor: pointer;
    z-index: 50;
    width: 10%;
    height: 12.4%;
}

.score-position-t1 {
    top: 43.1%;
    left: 5.5%;
    width: 88%;
    height: 50%;
    position: absolute;
}

.score-position-t2 {
    top: 43.1%;
    left: 5.9%;
    width: 88%;
    height: 50%;
    position: absolute;
}

#page5Score0LButton {
    top: 2.1%;
    left: 6.6%;
    position: absolute;
}

#page5Score1LButton {
    top: 2.1%;
    left: 18.8%;
    position: absolute;
}

#page5Score2LButton {
    top: 2.1%;
    left: 31.8%;
    position: absolute;
}

#page5Score3LButton {
    top: 18%;
    left: 6.6%;
    position: absolute;
}

#page5Score4LButton {
    top: 18%;
    left: 18.8%;
    position: absolute;
}

#page5Score5LButton {
    top: 18%;
    left: 31.8%;
    position: absolute;
}

#page5Score0RButton {
    top: 2.1%;
    left: 56.9%;
    position: absolute;
}

#page5Score1RButton {
    top: 2.1%;
    left: 69.4%;
    position: absolute;
}

#page5Score2RButton {
    top: 2.1%;
    left: 81.8%;
    position: absolute;
}

#page5Score3RButton {
    top: 18%;
    left: 56.9%;
    position: absolute;
}

#page5Score4RButton {
    top: 18%;
    left: 69.4%;
    position: absolute;
}

#page5Score5RButton {
    top: 18%;
    left: 81.8%;
    position: absolute;
}

#page5Score21Button {
    top: 86.7%;
    left: 9.7%;
    width: 23.6%;
    height: 8%;
    position: absolute;
}

#page5Score00Button {
    top: 86.7%;
    left: 37.7%;
    width: 23.6%;
    height: 8%;
    position: absolute;
}

#page5Score12Button {
    top: 86.7%;
    left: 65.6%;
    width: 23.6%;
    height: 8%;
    position: absolute;
}



/* Results P6 */
.score-position-t1-p6 {
    top: 11.1%;
    left: 15.5%;
    width: 88%;
    height: 50%;
    position: absolute;
}

.score-position-t2-p6 {
    top: 11.1%;
    left: -3.4%;
    width: 88%;
    height: 50%;
    position: absolute;
}





/* Registration form styles */
.registration-form {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
}

.form-container {
    position: absolute;
    top: 28%;
    left: 10.5%;
    height: 52.1%;
    width: 79%;
    /* transform: translate(-50%, -50%); */
    /* display: flex; */
    /* justify-content: center; */
    /* flex-direction: column; */
    /* align-items: center; */
    /* gap: 3%; */
    /* opacity: 0; */
    /* border: 1px solid red; */
}

.form-container-p8 {
    position: absolute;
    top: 22%;
    left: 10.5%;
    height: 62.1%;
    width: 79%;
    /* transform: translate(-50%, -50%); */
    /* display: flex; */
    /* justify-content: center; */
    /* flex-direction: column; */
    /* align-items: center; */
    /* gap: 3%; */
    /* opacity: 0; */
    /* border: 1px solid red; */
}

.form-input {
    /* background: transparent; */
    /* cursor: pointer; */
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    opacity: 1;
    /* border: 1px solid red; */
    z-index: 30;
}

/* Full Name input */
#fullName {
    top: 10.8%;
    left: 4.4%;
    width: 90.7%;
    height: 7%;
    position: absolute;
    /* background: transparent; */
    border: none;
}

/* Email input */
#email {
    top: 29.1%;
    left: 4.4%;
    width: 90.7%;
    height: 7%;
    position: absolute;
    /* background: transparent; */
    border: none;
}

/* Phone input container */
.phone-input-container {
    position: absolute;
    top: 53.4%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 480px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.phone-code-dropdown {
    position: absolute;
    top: 48.5%;
    left: 13.3%;
    transform: translateX(-50%);
    width: 20%;
    /* height: 3%; */
    cursor: pointer;
    z-index: 101;
}

.selected-code {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 12% 3%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 8px;
}

.selected-code span {
    white-space: nowrap;
}

.selected-code .iconify {
    width: 24px;
    height: 18px;
}

.dropdown-content {
    position: absolute;
    width: 240px;
    max-height: 300px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    z-index: 101;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
}

.dropdown-item .iconify {
    width: 24px;
    height: 18px;
}

.dropdown-item span:nth-child(2) {
    flex: 1;
}

.phone-number-input {
    top: 48.6%;
    left: 28.4%;
    width: 66.7%;
    height: 7%;
    position: absolute;
    /* background: transparent; */
    border: none;
}

/* Date of birth container */
.dob-container {
    top: 29.1%;
    left: 4.4%;
    width: 90.7%;
    height: 7%;
    position: absolute;
    /* background: transparent; */
    border: none;
}

#dateOfBirth {
    -webkit-appearance: none; /* Removes iOS default styling */
    appearance: none;
    padding: 0 10px; /* Adds some padding */
    font-size: 1rem; /* Ensures text is visible */
    box-sizing: border-box; /* Prevents width inconsistencies */
        top: 68.1%;
        left: 4.4%;
        width: 91.3%;
        height: 7%;
        position: absolute;
        /* background: transparent; */
        border: none;
}

/* Gender dropdown */
#gender {
    top: 86.7%;
    left: 4.2%;
    width: 39.7%;
    height: 7%;
    position: absolute;
    /* background: transparent; */
    border: none;
}

/* Currency dropdown */
#currency {
    top: 86.7%;
    left: 53.3%;
    width: 42.7%;
    height: 7%;
    position: absolute;
    /* background: transparent; */
    border: none;
}



/* Page 8 Form elements absolute positioning */
/* Individual element positioning - adjust values as needed */
#country {
    top: 5.5%;
    left: 4.1%;
    width: 91.7%;
    height: 7%;
    position: absolute;
    /* background: transparent; */
    border: none;
}

#currency8 {
    top: 20.9%;
    left: 4.1%;
    width: 91.7%;
    height: 7%;
    position: absolute;
    /* background: transparent; */
    border: none;
}

#city {
    top: 36.3%;
    left: 4.1%;
    width: 91.7%;
    height: 7%;
    position: absolute;
    /* background: transparent; */
    border: none;
}

#address {
    top: 51.7%;
    left: 4.1%;
    width: 91.7%;
    height: 7%;
    position: absolute;
    /* background: transparent; */
    border: none;
}

#postalCode {
    top: 67.2%;
    left: 4.1%;
    width: 91.7%;
    height: 7%;
    position: absolute;
    /* background: transparent; */
    border: none;
}

/* Checkbox containers */
#termsCheckbox {
    position: absolute;
    left: 3%;
    width: 9%;
    top: 80%;
    height: 5%;
    background: transparent;
}
#termsCheckboxButton {
    position: absolute;
    left: 40.7%;
    width: 52%;
    top: 82.7%;
    height: 5%;
    background: transparent;
}

/* Checkbox containers */
#privacyCheckbox {
    position: absolute;
    left: 3%;
    width: 9%;
    top: 89.2%;
    height: 5%;
    background: transparent;
}
#privacyCheckboxButton {
    position: absolute;
    left: 60.7%;
    width: 92%;
    top: 94.7%;
    height: 9%;
    background: transparent;
}

#watsAppCheckbox {
    position: absolute;
    left: 9%;
    width: 4%;
    top: 85.4%;
    height: 4%;
    background: transparent;
}
#watsAppLabel {
    position: absolute;
    left: 16%;
    width: 81%;
    top: 86.2%;
    height: 3%;
    background: transparent;
    z-index: 100;
    color: gray;
}

/* Position individual checkbox containers */
.terms-container {
    top: 65%;
}

.privacy-container {
    top: 75%;
}

/* Make sure the parent form has relative positioning */
.page8-form {
    position: relative;
    /* Set a minimum height to contain the absolute elements */
    min-height: 400px;
}






#achievementCode {
    position: absolute;
    top: 20.55%;
    left: 43.4%;
    transform: translateX(-50%);
    width: 43.5%;
    height: 4%;
    max-width: 400px;
    font-size: 18px;
}

#copyButton {
    position: absolute;
    top: 19.2%;
    left: 74.3%;
    transform: translateX(-50%);
    width: 8.3%;
    height: 4.4%;
    max-width: 400px;
    z-index: 50;
    background: transparent;
    border: none;
    cursor: pointer;
}







/* --- Telephone Input Styles --- */
.phone-input {
    position: absolute;
    box-sizing: border-box;
    border-radius: 100px;
    bottom: 47.4%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 7%;
    z-index: 100;
    --primary: #1e1e1e;
    --secondary: #fd0;
    overflow: visible;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.phone-input .select-box {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0 auto;
}

.phone-input .select-box input {
    height: 100%;
    padding: 0 1.5%;
    font-size: 100%;
    border: none;
    outline: none;
    box-sizing: border-box;
    border-radius: 0 100px 100px 0;
    flex: 1;
}

.phone-input input[type="tel"] {
    border-radius: 0 100px 100px 0;
    width: 100%;
    /* Fill the available space in its container */
}

.phone-input .select-box input:focus {
    border: none;
    outline: none;
}

.phone-input .selected-option {
    background-color: #fff;
    border-radius: 100px;
    overflow: hidden;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    width: 100%;
    border: none;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.phone-input .selected-option div {
    position: relative;
    width: auto;
    /* Fit content instead of fixed percentage */
    padding: 0 2%;
    text-align: center;
    cursor: pointer;
    height: 100%;
    display: flex;
    align-items: center;
}

.phone-input .select-box .options {
    position: absolute;
    top: 110%;
    width: 100%;
    background-color: #fff;
    border-radius: 8px;
    display: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 110;
    max-height: 300px;
}

.phone-input .select-box .options.active {
    display: block;
}

.phone-input .select-box .options::before {
    position: absolute;
    content: "";
    left: 5%;
    top: -10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-bottom-color: var(--primary);
}

.phone-input .select-box .search-box {
    background-color: var(--primary);
    color: #fff;
    border-radius: 8px 8px 0 0;
    padding: 4% 3%;
    width: 100%;
    box-sizing: border-box;
}

.phone-input .select-box ol {
    list-style: none;
    max-height: 200px;
    overflow: auto;
    margin: 0;
    padding: 0;
}

.phone-input .select-box ol::-webkit-scrollbar {
    width: 6px;
}

.phone-input .select-box ol li .iconify {
    border-radius: 50%;
    height: 1.5em;
    width: auto;
}

.phone-input .select-box ol li {
    /* Replace 'Arial' with your preferred font */
    font-size: 90%;
}

.phone-input .select-box ol li > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-input .select-box ol::-webkit-scrollbar-thumb {
    width: 4px;
    height: 30px;
    background-color: #ccc;
    border-radius: 4px;
}

.phone-input .select-box ol li {
    padding: 3%;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.phone-input .select-box ol li.hide {
    display: none;
}

.phone-input .select-box ol li:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.phone-input .select-box ol li:hover {
    background-color: lightcyan;
}

.phone-input .select-box ol li .country-name {
    margin-left: 2%;
}

.phone-input .flag-container {
    border-right: none;
    /* margin: 0; */
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-left: 1%;
}

.phone-input .flag-container .iconify {
    display: block;
    justify-content: center;
    border-radius: 50%;
    height: 65%;
    width: auto;
    /* border: 1px solid rgb(115, 239, 0); */
    box-sizing: border-box;
    object-fit: fill;
    margin-right: 8%;
}

.arrow-icon {
    display: block;
    width: 25%;
    height: 25%;
    transition: transform 0.2s ease;
}

.selected-option div.active .arrow-icon {
    transform: rotate(180deg);
}

.phone-input .flag-container::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border-radius: 10px;
    width: 2%;
    height: 70%;
    background-color: #444444;
}

.verification-input {
    position: absolute;
    border-radius: 100px;
    bottom: 47.4%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 75%;
    height: 7%;
    z-index: 100;
    overflow: hidden;
    /* Prevents content from overflowing */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

.verification-input input {
    width: 85%;
    height: 95%;
    box-sizing: border-box;
    border: none;
    outline: none;
    font-size: 100%;
    transition: all;
}

.verification-input input:focus {
    border: none;
    outline: none;
}

.show {
    opacity: 1;
    visibility: visible;
}

.hide {
    opacity: 0;
    visibility: visible;
    display: none;
}

.error {
    outline: 3px solid rgb(255, 73, 73);
}

.locked {
    background-color: rgba(100, 100, 100, 0.452);
    pointer-events: none;
}

/* Prevent text selection on buttons */
button {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    min-height: 44px;
}

/* Fix for mobile viewport issues */
:root {
    --vh: 1vh;
}

@media only screen and (max-width: 768px) {
    .container {
        height: 100vh;
        height: calc(var(--vh) * 100);
    }

    /* Adjust button sizes for mobile */
    .play-btn {
        height: 12%;
        /* Slightly larger for mobile */
    }
}


/* Mute button styles */
.mobile-device .mute-button-wrapper {
    position: absolute;
    top: -5px;
    right: 2px;
    z-index: 1000; /* Make sure it appears above all other elements */
    pointer-events: none; /* Allow clicks to pass through the wrapper */
}

.laptop-device .mute-button-wrapper {
    position: absolute;
    top: 0.6%;
    right: 12.5%;
    z-index: 1000; /* Make sure it appears above all other elements */
    pointer-events: none; /* Allow clicks to pass through the wrapper */
}

.desktop-device .mute-button-wrapper {
    position: absolute;
    top: 0.6%;
    right: 36.5%;
    z-index: 1000; /* Make sure it appears above all other elements */
    pointer-events: none; /* Allow clicks to pass through the wrapper */
}

.mute-button {
    background: transparent;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
    pointer-events: auto; /* Make sure the button itself is clickable */
}

.mute-button:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Utility class to hide elements */
.hidden {
    display: none !important; /* Use !important to override potential inline styles initially */
}