﻿/* Global Styles */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scrolling globally */
}

main {
    margin-top: 60px; /* Offset fixed navbar height on other pages */
}

/* Shared Header Styles */
.navbar-qbe {
    background-color: #00205b;
    height: 60px;
}

.logo-img {
    width: 130px;
    height: 28px;
}

.user-icon {
    height: 28px;
}

.vr-line {
    width: 1px;
    height: 60px;
    background-color: #e1e4e8;
    margin: 0 24px;
}

/* Common Button Styles */
.cm-button-loading {
    background-color: #003da5 !important;
    border: 1px solid #003da5 !important;
    color: #fff !important;
    border-radius: 27px;
    height: 47px;
    padding: 2px 22px;
    cursor: pointer;
    font-size: 17px;
    margin: 0px 7px 0px 7px;
    font-family: 'Inter-SemiBold', sans-serif;
}

    .cm-button-loading:hover {
        background-color: #0350d5 !important;
    }

.cm-button-loading-disabled {
    background-color: #fff !important;
    border: 1px solid #aba5a5 !important;
    color: #bbb3b3 !important;
    border-radius: 27px;
    height: 47px;
    padding: 2px 22px;
    font-size: 17px;
    margin: 0px 7px 0px 7px;
    font-family: 'Inter-SemiBold', sans-serif;
    
}
.next-previous-button {
    width: 10%;
}







.cm-button-bg-white {
    margin-left: 20px;
    opacity: 1;
    background-color: #fff !important;
    border: 1px solid #003da5 !important;
    color: #003da5 !important;
    border-radius: 27px;
    height: 47px;
    padding: 2px 22px;
    cursor: pointer;
    font-size: 17px;
    font-family: 'Inter-SemiBold', sans-serif;
}

.btn-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Textbox Styles */
.textbox-div {
    display: block;
    margin: 10px auto;
    width: 100%;
    max-width: 400px;
    height: 58px;
    background-color: #f7f8f9;
}

.textbox {
    font-size: 14px;
    outline: none;
    display: block;
    padding: 4px;
    width: 97%;
    /*max-width: 400px;*/
    height: 45px;
    background-color: #f7f8f9;
    /*border: none;*/
    border: solid 1px #ded7d7;
    box-shadow: none;
}

.welcome-msg, .quiz-congratulations {
    font-size: 25px;
    color: #009AE4;
    font-weight: bold;
    margin-left: 0;
    margin-bottom: 10px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Additional Text Content */
.cm-font-family p {
    font-size: 16px;
    margin-bottom: 1rem;
}

/* Dashboard Container */
.dashboard-container {
    min-height: calc(100vh - 60px);
    padding-top: 20px;
    padding-bottom: 20px;
}

.min-vh-80 {
    min-height: 80vh;
}

/* Video Page Specific Styles */
.video-page {
    margin-top: 5px; /* Adjust if there's a fixed navbar */
    height: calc(96vh - 60px); /* Fills viewport minus navbar height */
    padding: 0 20px;
    box-sizing: border-box;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.video-container {
    width: 100%;
    margin: 0 auto;
}

.video-header {
    /* margin-bottom: 1rem;*/
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.video-greeting {
    color: #191919;
    font-size: 25px;
    font-weight: 500;
    line-height: 36px;
    letter-spacing: 1px;
    margin: 0;
}

/* Video Wrapper: Centers the video */
.video-wrapper {
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-element {
    width: 80%;
    height: 100%;
    background: #000;
    object-fit: contain;
    max-width: 100%;
}

/* Quiz Page Specific Styles */
.quiz-page {
    padding-top: 10px;
}

.next-btn-container {
    display: flex;
    justify-content: end;
    padding-right: 10%; /* Aligns with card width */
    margin-bottom: 0.5rem; /* Minimal space below button container */
}
.previous-btn-container {
    display: flex;
    justify-content: end;
    padding-left: 10%; /* Aligns with card width */
    margin-bottom: 0.5rem; /* Minimal space below button container */
}


/* Adds spacing between Next button and quiz form */
#quizForm {
    padding-top: 1rem;
}

/* Quiz Question Cards */
.quiz-card {
    margin-bottom: 1rem;
    padding: 20px;
    max-width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Question Header */
.quiz-question-header {
    color: #009AE4;
    font-size: 25px;
    font-weight: bold;
}

/* Question Count */
.quiz-question-count {
    color: #009AE4;
    font-size: 25px;
}

/* Question Text */
.quiz-question-text {
    font-size: 25px;
    margin-bottom: 1rem;
}

/* Quiz Options */
.quiz-options {
    margin-top: 10px;
}

.quiz-option {
    font-size: 20px;
    display: block;
}
.quiz-option-radiobutton {
    cursor: pointer;
}


/* Error Message */
.error-message {
    font-size: 20px;
    display: none;
}

.congrats-page {
    padding-top: 0;
    margin-top: 0;
}

.quiz-completion-container {
    text-align: left;
    padding-top: 0;
}

/* Make Congratulations Text Consistent */
.quiz-congratulations {
    font-size: 30px;
    color: #009AE4;
    font-weight: bold;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: break-spaces !important;
}

/* Ensure Multi-Line Text is Also Left-Aligned */
.quiz-completion-text {
    font-size: 25px;
    margin-bottom: 1rem;
    text-align: left;
    white-space: normal;
}

/* Image Styling: Ensure It Stays on the Right Half */
.quiz-completion-img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Ensures text alignment is consistent */
.quiz-page .row {
    justify-content: center;
    text-align: center;
    padding: 2rem 0;
}

.header-text-container {
    max-width: 400px;
    margin: 0 auto;
    text-align: left;
    padding-left: 0;
}

.form-container {
    float: left;
    height: 100vh;
    max-width: 50%;
    width: 50%;
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.login-page-qbe-logo-container {
    align-items: center;
    display: flex;
}

.vr-line-login-page {
    background-color: #000;
    border: none;
    display: block;
    height: 30px !important;
    margin-left: 24px;
    margin-right: 24px;
    opacity: 40%;
    width: 1px;
}

.portal-name-header {
    color: #191919;
    font-family: Stag-Medium;
    font-size: 28px;
    /*font-style: Medium;*/
    font-weight: 500;
    letter-spacing: 1.4px;
    line-height: 28px;
    margin-bottom: 0;
    opacity: 1;
    text-align: center;
}

.hr-line-login-page {
    background-color: #dce1e7;
    border: none;
    height: 1px;
    margin-bottom: 30px;
    opacity: 100%;
    width: 50% !important;
    margin: 1rem 0;
    color: inherit;
}

.login-page-welcome-msg {
    color: #191919;
    font-family: Inter-Regular;
    font-size: 16px;
    /* font-style: Regular;*/
    font-weight: 400;
    width: 45% !important;
    letter-spacing: 0;
    line-height: 24px;
    opacity: 1;
    text-align: center;
}

.sign-in-sign-up-btn {
    margin-top: 56px;
}

.loading-spinner-container {
    display: flex;
    justify-content: center;
}

.browser-usage {
    bottom: 25px;
    color: #191919;
    font-family: Inter-Regular;
    font-size: 14px;
    /* font-style: Regular;*/
    font-weight: 400;
    line-height: 21px;
    position: fixed;
    width: 48% !important;
}

.image-container {
    background-image: url(/images/signin_page.jpg);
    background-size: cover;
    float: left;
    height: 100vh;
    background-position: center;
    background-repeat: no-repeat;
}

.wel-text-p {
    width: 95%;
    font-size: 18px;
    /*padding-top: 10px;*/
}

.padding-row {
    padding-bottom: 10px;
}

.lable-center {
    /*align-items: center;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.welcome-msg1 {
    font-size: 20px;
    color: #009AE4;
    /*font-weight: bold;*/
    margin-left: 0;
    margin-bottom: 10px;
    /*text-align: center;*/
    /* white-space: nowrap; */
    overflow: hidden;
    width: 100%;
    padding-top: 14px;
    /* text-overflow: ellipsis;*/
}


.spacer {
    height: 50px;
}

.maincontent {
    padding-left: 30px;
}

.isRequired {
    color: red;
    margin-left: 5px;
    display: contents !important;
}

.social-media-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

    .social-media-list .badge {
        background-color: #007bff;
        font-size: 0.9rem;
        color: #fff;
        padding: 0.4rem 0.6rem;
        border-radius: 0.25rem;
    }

.video-btn-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 1rem;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.removelink-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-decoration: none;
}
.menu-extra {
    flex-direction: unset !important;
    cursor:pointer;
}
.quiz-note-header {
    padding-top:1%;
    padding-left: 12%;
}
.quiz-note {
    padding-left: 12%;
}

.quiz-Ul {
    list-style: none outside none;
}

.video-instructions {
    /*font-size: 1.1em;*/
    color: #555;
    padding-left: 13%;
    /*margin-top: 15px;
    font-weight: bold;*/
}

    .video-instructions .arrow {
        width: 2%;
        /*font-size: 1.5em;
color: green;
margin: 0 5px;*/
    }

    .video-instructions .note {
        font-size: 0.9em;
        color: #888;
        /*margin-top: 10px;*/
    }



.user-popup {
    position: fixed;
    top: 55px;
    right: 2px;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 140px;
    z-index: 999;
    /* min-width: 293px;*/
    display: none;
    flex-direction: column;
}


.nav-btn {
    padding: 10px 20px !important;
    border-radius: 4px;
    margin: 0;
    cursor: pointer;
    opacity: 1;
    color: rgba(25, 25, 25, 1);
    font-family: "Inter-Medium";
    /* font-size: 14px; */
    font-weight: 500;
    font-style: Medium;
    letter-spacing: 0px;
    text-align: left;
    /* line-height: 20px; */
}

    .nav-btn:hover {
        background-color: #f0f0f0;
    }
.social-error {
    font-size: 14px;
    display: none;
}
.social-error-img {
    width: 2%;
}

.general-inquiries-support {
   /* background-color: #f7f8f9;*/
    padding-left: 149px;
    padding-right: 149px;
}
.general-inquiries-header-support {
    color: #191919;
   /* font-family: Stag-Medium;*/
    font-size: 28px;
    font-style: Medium;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 36px;
    opacity: 1;
    padding-top: 65px;
    text-align: left;
    padding-left: 2rem;
}
.general-inquiries-content-support {
    color: #191919;
    /*font-family: Inter-Regular;*/
    font-size: 18px;
    font-style: Regular;
    font-weight: 400;
    height: 428px;
    letter-spacing: 0;
    line-height: 24px;
    opacity: 1;
    text-align: left;
}


/*Media query*/
/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 1050px ) {
    .browser-usage {
        bottom: 25px;
        color: #191919;
        font-family: Inter-Regular;
        font-size: 14px;
        /* font-style: Regular;*/
        font-weight: 400;
        line-height: 21px;
        position: revert;
        width: 60% !important;
        padding-top: 10px;
    }
}
@media only screen and  (max-height: 450px ) {
    .browser-usage {
        bottom: 25px;
        color: #191919;
        font-family: Inter-Regular;
        font-size: 14px;
        /* font-style: Regular;*/
        font-weight: 400;
        line-height: 21px;
        position: revert;
        width: 60% !important;
    }
}

@media only screen and (max-width: 698px) {
    .next-previous-button {
        width: 45%;
    }
}

@media only screen and (min-width: 700px) {
    .next-previous-button {
        width: 18%;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 1100px) {
    .next-previous-button {
        width: 12%;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 1524px) {
    .next-previous-button {
        width: 9%;
    }
}

