#countdownDisplay {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin: 10px 0;
}

div#wpvrp-test-container {
    max-width: 768px;
    border-radius: 30px;
    overflow: hidden;
    /* padding: 30px; */
    box-shadow: 0px 14px 20px 2px #0000003d;
}

.question-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background: rgb(131, 19, 193);
    background: linear-gradient(90deg, rgba(131, 19, 193, 1) 0%, rgba(150, 14, 203, 1) 38%, rgba(195, 5, 227, 1) 69%, rgba(210, 1, 235, 1) 100%);
}

.question-header h3 {
    margin: 0;
    color: #fff;
    font-weight: bold;
    font-size: 40px;
}

#timer {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    /* Adjust size as needed */
    color: #fff;
    /* Timer text color */
    text-align: center;
    /* Center the timer */
    margin: 10px 0;
}

div#question-container {
    padding: 20px;
    font-size: 30px;
    text-align: center;
}

div#options-container {
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.button-form {
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-top: 1px solid #767676;
    margin-top: 20px;
    background: rgb(131, 19, 193);
    background: linear-gradient(90deg, rgba(131, 19, 193, 1) 0%, rgba(150, 14, 203, 1) 38%, rgba(195, 5, 227, 1) 69%, rgba(210, 1, 235, 1) 100%);
}

.audio-recording-container {
    display: flex;
    gap: 20px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

button#nextStep {
    border: 1px solid #000;
    background-color: transparent;
    font-size: 20px;
    height: 45px;
    width: 100px;
    border-radius: 25px;
    color: #fff;
    border-color: #fff;
}

.question-wrapper {
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}


div#options-container div {
    background-color: #ededed;
    padding: 15px 10px;
    border-radius: 30px;
}

div#options-container div label {
    font-size: 20px;
}

.audio-recording-container button {
    border: 1px solid #000;
    background: rgb(131, 19, 193);
    background: linear-gradient(90deg, rgba(131, 19, 193, 1) 0%, rgba(150, 14, 203, 1) 38%, rgba(195, 5, 227, 1) 69%, rgba(210, 1, 235, 1) 100%);
    font-size: 20px;
    height: 50px;
    width: auto;
    border-radius: 25px;
    color: #fff;
    border-color: #fff;
    padding: 0 25px;
}

.record-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 15px;
}

.record-button button:disabled {
    background: #ccc !important;
    /* Change the background color */
    color: #666;
    /* Change the text color */
    cursor: not-allowed;
    /* Show not-allowed cursor */
    opacity: 0.5;
    /* Make it slightly transparent */
}

.recording-animation {
    color: red;
    font-weight: bold;
    font-size: 16px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.recording-active {
    border: 2px solid red;
    padding: 10px;
}


/*  */
form#wpvrp-registration-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: auto;
}

.field-groub {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.password-field {
    display: flex;
    flex-direction: row;
    gap: 10px;
}

span.toggle-password {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    border: 1px solid #7811b0;
    background-color: #7811b02b;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px;
    padding-top: 11px;
}

body .field-groub input {
    border-radius: 30px;
    box-shadow: 0 4px 8px 3px #7811b02b;
    padding-left: 45px;
}

.field-groub img {
    width: 35px;
    height: 35px;
}

.password-field button {
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid #7811b0;
    background-color: #7811b02b;
    border-radius: 100%;
}

.password-field button img {
    width: 35px !important;
    height: auto;
}

.field-groub input {
    border-radius: 30px;
    height: 40px;
    border-color: #7811b02b;
    width: calc(100% - 100px);
    box-shadow: 0px 4px 20px 0px #7811b02b;
}


.input-wrap-with-image {
    position: relative;
    width: -webkit-fill-available;
}

.input-wrap-with-image img {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 25px !important;
    height: auto !important;
}

.input-wrap-with-image input {
    width: 100%;
}

form#wpvrp-registration-form>button {
    background-color: #fff;
    border-color: #7811b0;
    border-radius: 30px;
    box-shadow: 5px 5px 0 #7811b0;
    /* Default box shadow without blur */
    transition: all 0.2s ease;
    /* Smooth transition for hover effects */
}

form#wpvrp-registration-form>button:hover {
    box-shadow: 2px 2px 0 #7811b0;
    /* Apply stronger shadow on hover without blur */
    transform: translateY(2px);
    /* Slightly move the button down to create a click effect */
}

form#wpvrp-login-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form#wpvrp-login-form>button {
    background-color: #fff;
    border-color: #7811b0;
    border-radius: 30px;
    box-shadow: 5px 5px 0 #7811b0;
    /* Default box shadow without blur */
    transition: all 0.2s ease;
    /* Smooth transition for hover effects */
}

form#wpvrp-login-form>button:hover {
    box-shadow: 2px 2px 0 #7811b0;
    /* Apply stronger shadow on hover without blur */
    transform: translateY(2px);
    /* Slightly move the button down to create a click effect */
}

a#enroll-button {
    width: 100%;
}

.edublink-course-review-wrapper {
    display: none;
}

.course-price {
    display: none;
}

a.edu-btn.btn-secondary.btn-small {
    display: none;
}


/* Toast */
#wpvrp-toast {
    position: fixed;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 10px 14px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
    font: 500 18px/1.2 system-ui, -apple-system, Segoe UI, Roboto, Arial;
    z-index: 9999;
    transform-origin: center bottom;
}

#wpvrp-toast.show {
    opacity: 1;
}

/* Recording UI */
.wpvrp-rec-ui {
    display: grid;
    gap: 8px;
    align-items: center;
}

.rec-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e11d48;
    box-shadow: 0 0 0 0 rgba(225, 29, 72, .7);
    animation: pulse 1.6s infinite;
    display: inline-block;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, .7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(225, 29, 72, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(225, 29, 72, 0);
    }
}

.rec-label {
    font-weight: 600;
}

.wpvrp-progress {
    width: 100%;
    height: 6px;
    background: #eee;
    border-radius: 999px;
    overflow: hidden;
}

.wpvrp-progress>div {
    height: 100%;
    width: 0%;
    background: #0a7d34;
    transition: width .3s;
}

.rec-min {
    font-size: 12px;
    color: #666;
}

/* Stop button nudge */
#stopRecording.shake {
    animation: shake .35s;
}

@keyframes shake {

    10%,
    90% {
        transform: translateX(-1px);
    }

    20%,
    80% {
        transform: translateX(2px);
    }

    30%,
    50%,
    70% {
        transform: translateX(-4px);
    }

    40%,
    60% {
        transform: translateX(4px);
    }
}

div#question-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

div#question-container p {
    margin: 0;
}

.q-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 9999px;
    background: #8513c2;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-right: 8px;
    vertical-align: middle;
}

div#options-container div label {
    width: 100%;
    display: inline-block;
    cursor: pointer;
}

div#options-container div {
    display: flex;
    gap: 5px;
}