@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600;700&display=swap');

:root {
    --font-family: 'Roboto', sans-serif;
    --color-base: #00215C;
    --color-body: #343536;
    --color-body-l: #5A5A5A;
    --color-grey: hsl(0, 0%, 35%);
    --color-yellow: #F1C819;
    --color-light-blue: rgb(154, 203, 253, 0.5);
    --color-light-blue-2: #9ACBFD;
    --color-light-blue-3: #E3EEFF;
    --color-yellow-light: #FFF0AE;
    --color-grey-2: #d8d8d8;
}

body {
    font-family: 'Poppins', sans-serif;
}

/*Header*/
header.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 1px 5px #00000029;
    z-index: 999;
}

header.header .navbar-brand {
    width: 150px;
}

@media (max-width: 991px) {
    .mobile-menu {
        height: 100%;
        width: 0;
        opacity: 0;
        position: fixed;
        z-index: 1111111;
        top: 45px;
        left: 0;
        width: 0;
        overflow-x: hidden;
        transition: .2s;
        transition-timing-function: ease-in-out;
        align-items: flex-start;
        /* padding: 0 15px 15px; */
    }

    .mobile-menu.show {
        width: 100%;
        opacity: 1;
        z-index: 9999;
    }

    .mobile-menu ul.active {
        height: 70vh;
        overflow-y: auto;
    }

    .mobile-menu .overlay-mobile-menu {
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background: rgb(0, 0, 0, 0.4);
        z-index: 0;
    }

    .mobile-menu .navbar-nav {
        margin-left: 0 !important;
    }

    .menu-desktop {
        display: none;
    }

    .menu-mobile {
        display: block;
        min-height: 90% !important;
        background: #fff !important;
    }

    .menu-mobile ul {
        max-height: 100%;
        margin-left: 0;
        padding-left: 0;
    }

    .menu-mobile ul li a {
        color: #00215C;
        font-size: 14px;
        line-height: 17px;
        font-weight: 500;
        letter-spacing: 0px;
        opacity: 1;
        text-transform: capitalize;
    }

    .menu-mobile ul li a:hover {
        border-radius: 12px;
        background: #E3EEFF !important;
    }

    .menu-mobile span {
        color: rgba(0, 33, 92, 0.80);
        font-size: 14px;
        font-weight: 500;
        line-height: 100%;
        letter-spacing: -0.24px;
    }

    .user-card {
        padding: 1rem;
        background-color: #00215C;
    }

    .user-card .user-img {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #fff;
        margin-right: 10px;
        overflow: hidden;
    }

    .user-card .user-img img {
        width: 100%;
        border-radius: 50%;
    }

    .user-card .user-info p,
    .user-card .user-info a {
        color: #fff;
        padding: 0;
        margin-bottom: 0;
    }

    .user-card .user-info a {
        color: #F1C819;
        font-size: 14px;
        line-height: 18px;
    }
}

/*Header*/
.interview-title {
    border: 1px solid #50D7FD66;
    border-radius: 122px;
    width: fit-content;
    padding: 12px 16px;
    margin: 0 auto;

}

.ai-container .title {
    background: linear-gradient(90deg, #FFFFFF 0%, #46D5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin: 0;
}

.ai-container .description-h1 {
    color: #FFFFFFCC;
    line-height: 130%;
    margin-bottom: 12px;
}

.window-left {
    position: absolute;
    top: 6px;
    left: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.window-right {
    position: absolute;
    right: 6px;
    top: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.window-white {
    width: 9px;
    height: 9px;
    background: #FFFFFF;
    border-radius: 1.5px;
}

.window-transparent {
    background: transparent;
    width: 9px;
    height: 9px;
    border-radius: 1.5px;
    border: 0.75px solid #FFFFFF;
}


/* .background {
     background: radial-gradient(50% 50% at 50% 50%, #001946 0%, #000F2B 100%);
     height: 100vh;
     overflow: hidden;
     position: fixed;
     top: 0;
     bottom: 0;
     right: 0;
     left: 0;
     padding: 0;
     margin: 0;
     display: flex;
     align-items: center;
     justify-content: center;
     font-family: "Poppins", sans-serif;
 }

 .ai-container {
     max-width: 1180px;
     width: 100%;
     padding: 40px;
     backdrop-filter: blur(24px);
     background: #255CC11A;
     text-align: center;
     position: absolute;
     top: 20px;
     bottom: 20px;
     border-radius: 20px;
     z-index: 1;
     color: #fff;
 } */

.moving-circle1,
.moving-circle2 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle,
            #000D24,
            #00215C,
            #255CC1,
            #fff, transparent 90%);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.5;
}

.moving-circle1 {
    top: 20%;
    left: -200px;
    animation: moveCircle1 20s linear infinite;
}

.moving-circle2 {
    top: 20%;
    right: -200px;
    animation: moveCircle2 20s linear infinite;
}

@keyframes moveCircle1 {
    0% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(20vw) translateY(30vh);
    }

    100% {
        transform: translateX(0) translateY(60vh);
    }
}

@keyframes moveCircle2 {
    0% {
        transform: translateX(0) translateY(0);
    }

    50% {
        transform: translateX(-30vw) translateY(-30vh);
    }

    100% {
        transform: translateX(0) translateY(-90vh);
    }
}

body {
    /* font-family: Arial, sans-serif; */
    max-width: 600px;
    margin: 2rem auto;
    padding: 1rem;
}


.chat-box {
    border: 1px solid #ccc;
    padding: 1rem;
    margin-top: 1rem;
    background-color: #f9f9f9;
    white-space: pre-wrap;
}

body {
    margin: 0;
    background: #0a0a0a;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    /* font-family: Arial, sans-serif; */
}

.mic-wrapper {
    display: flex;
    justify-content: center;
}

.mic-icon {
    border-radius: 50%;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(79, 195, 247, 0.6);
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
}

.mic-icon.listening img {
    animation: pulse 1.2s infinite ease-in-out;
}

.mic-icon img {
    width: 80px;
    color: white;
}

/* .mic-icon.loading {
    width: 100px;
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
} */

@keyframes pulse {
    0% {
        transform: scale(1);
        /* box-shadow: 0 0 20px rgba(79, 195, 247, 0.6); */
    }

    50% {
        transform: scale(1.1);
        /* box-shadow: 0 0 30px rgba(79, 195, 247, 0.9); */
    }

    100% {
        transform: scale(1);
        /* box-shadow: 0 0 20px rgba(79, 195, 247, 0.6); */
    }
}

#interview-body {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    height: 100%;
}

.ai-footer #subtitle {
    margin-top: 20px;
    /* background: #FFFFFF1A; */
    border-radius: 8px;
    padding: 8px 12px;
    text-align: left;
}

#timer {
    font-size: 20px;
    font-weight: 500;
    padding: 8px 12px;
    border: 1px solid #FFFFFF66;
    /* width: 40px; */
    margin: 0 auto;
    border-radius: 12px;
    width: fit-content;
    box-shadow: 0px 2px 0px 0px #FFFFFF, 0px 4px 12px 0px #74C4EF40;
}

#timer::before {
    content: '';
    margin: 0 10px;
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(circle at center, #CCB761, #FEE579);
}

@keyframes slideUpIn {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDownOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(100%);
    }
}

.custom-bottom-modal .modal-dialog {
    animation-fill-mode: forwards;
}

.custom-bottom-modal.show .modal-dialog {
    animation: slideUpIn 0.5s ease forwards;
}

.custom-bottom-modal:not(.show) .modal-dialog {
    animation: slideDownOut 0.5s ease forwards;
}


.title-h1 {
    background: linear-gradient(90deg, #FFFFFF 0%, #46D5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-size: 40px;
    font-weight: 600;

}

.background {
    background: radial-gradient(50% 50% at 50% 50%, #001946 0%, #000F2B 100%);
    height: 100vh;
    overflow: hidden;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* font-family: "Poppins", sans-serif; */
}

.ai-container {
    max-width: 1180px;
    width: 100%;
    padding: 40px;
    backdrop-filter: blur(24px);
    background: #255CC11A;
    text-align: center;
    position: absolute;
    top: 72px;
    bottom: 20px;
    border-radius: 20px;
    z-index: 1;
    color: #fff;
    margin: 0 auto;
    /* display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; */
}

.ai-mocktest-card-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}


.ai-mocktest-list {
    /* display: flex; */
    gap: 20px;
}

.ai-mocktest-detail {
    text-align: left;
    width: 400px;
    position: absolute;
    left: 20px;
    opacity: 0;
    transform: scale(0.7);
    transition: opacity 3s ease, transform 2s ease;
}

.ai-mocktest-detail.show {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.ai-mocktest-card {
    background: linear-gradient(180deg, #255CC1 0%, #00215C 100%);
    border: 0.75px solid;
    border-image-source: linear-gradient(222.78deg, #C6F3FF 10.62%, rgba(198, 243, 255, 0.8) 99.38%),
        linear-gradient(36.5deg, rgba(0, 255, 242, 0) 44.98%, #00FFF2 96.78%);
    border-radius: 12px;
    width: 230px;
    padding: 6px;
    box-shadow: 4px 4px 36.5px 0px #3559B4;
    position: relative;
    z-index: 2;
    /* height: fit-content; */
}

.ai-mocktest-card.focused {
    animation: slideRight 2s forwards;
    z-index: 10;
}

.slick-slide {
    margin: 0 16px;
}

@keyframes slideRight {
    from {
        transform: translateX(0);
        position: relative;
    }

    to {
        transform: translateX(var(--move-x));
        /* position: absolute; */
        /* right: 0; */
    }
}

.ai-mocktest-card.hidden {
    opacity: 0;
    pointer-events: none;
}

.ai-mocktest-card-header {
    display: flex;
    justify-content: center;
    margin-bottom: 9px;
    padding-top: 9px;
}

.ai-mocktest-card-header img {
    width: 45px;
    height: 24px;
}

.icon {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

.icon-wrapper {
    padding: 4px;
    background-color: #255CC1;
    border-radius: 8px;
}

.icon img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: linear-gradient(167.95deg, rgba(219, 217, 255, 0.5) 8.8%, rgba(171, 166, 255, 0.5) 89.51%);
    padding: 0.5rem;
    border: 3px solid #00215C;
}

.ai-mocktest-card .title {
    text-align: center;
    font-size: 14px;
    font-weight: 500;
}

.ai-mocktest-info {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    /* border-top: 1px solid #3366cc; */
    padding: 10px;
}

.ai-mocktest-info .item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    border-bottom: 1px solid #3366cc;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #EDFFF6CC;
}

.ai-mocktest-info .item .value {
    color: #EDFFF6;
}

.ai-mocktest-info .item .label {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ai-mocktest-info .item .label img {
    width: 20px;
    height: 20px;
}

.ai-mocktest-info:first-of-type {
    border-top: none;
}

.info .label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.info .label::before {
    content: "⏱️";
    font-size: 1rem;
}

.info .value {
    font-weight: bold;
}

.ai-mocktest-detail .detail-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ai-mocktest-detail .list-item {
    background: #255CC133;
    border: 2px solid #397dff;
    border-radius: 8px;
    padding: 4px 12px;
}

.square {
    width: 220px;
    height: 220px;
    background-color: #00215C;
    /* border: 4px solid #fff; */
    border-radius: 8px;
    transform: translateX(120px);
    transform: rotateX(70deg) rotateZ(45deg);
    transform-style: preserve-3d;
    box-shadow: 10px 10px 10px #000;
    position: absolute;
    right: 116px;
    margin-top: -100px;
    z-index: -1;
    display: none;
    animation: slideUp 2s;
}

.ai-mocktest-footer {
    padding-bottom: 10px;
}

.ai-mocktest-footer button {
    font-size: 14px;
    color: #FFF;
    font-weight: 500;
    padding: 4px 16px;
    border-radius: 8px;
    background: linear-gradient(90deg, #9F42F3 0%, #2568C1 51.44%, #8AE1FD 97.12%);
    border: 1px solid #FFFFFF66;
    margin-top: 2px;
}

#ai-footer-notes {
    color: #FFFFFFCC;
}

@keyframes slideUp {
    from {
        margin-top: 300px;
        opacity: 0;
    }

    to {
        margin-top: -100px;
        opacity: .5;
    }
}

.slick-prev,
.slick-next {
    background: #255CC1B2;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    border-radius: 50%;
    transform: translateY(-50%);
    z-index: 10;
    cursor: pointer;
    font-size: 18px;
    opacity: 0.7;
}

.slick-prev {
    left: -36px;
}

.slick-next {
    right: -36px;
}

.slick-prev:hover,
.slick-next:hover {
    opacity: 1;
}

#popup-modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 0;
    overflow: auto;
    display: none;
    z-index: 999 !important;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
    font-size: 1.3rem;
    line-height: 24px;
    overflow: hidden;
    position: relative;
    outline: none;
    text-transform: capitalize;
    font-weight: 500;
    border: solid 2px transparent;
    border-radius: 5px;
    opacity: 1;
    height: 44px;
}

.btn-main:hover {
    background: #fff !important;
    color: var(--color-base) !important;
    border-color: var(--color-yellow) !important;
}

.btn-main.yellow-btn {
    background: var(--color-yellow);
    color: var(--color-base);
    border-color: var(--color-yellow);
}

/* .btn-main.yellow-btn:hover{
    background: transparent;
    color: var(--color-yellow) !important;
} */
.btn-main.blue-btn {
    background: var(--color-base);
    color: #fff;
    border-color: var(--color-base);
}

/* .btn-main.blue-btn:hover{
    background: transparent;
    color: var(--color-base) !important;
} */
.btn-main.sm-btn {
    height: 30px;
    font-size: 13px;
    line-height: 1px;

}

@media(max-width:768px) {
    .title-h1 {
        font-size: 24px;
    }

    .ai-container .description-h1 {
        font-size: 14px;
    }

    .ai-container {
        top: 42px;
    }

    .ai-container .description {
        font-size: 14px;
    }
}

@media(max-width:576px) {
    /* .ai-container .title {
        font-size: 24px;
    } */
}