
body {
/*            font-family: Arial, sans-serif;*/
/*            line-height: 1.6;*/
/*            margin: 0;*/
/*            padding: 20px;*/
/*            color: #333;*/
        }
.ai-page        .container {
            max-width: 800px;
            margin: 0 auto;
            border: 2px solid #0099ff;
            border-radius: 15px;
            padding: 20px;
            margin-top: 50px;
            position: relative;
            min-height: 50px;
        }
.ai-page        h1 {
            color: #0099ff;
            text-align: center;
        }
.ai-page        .course-description {
            background-color: #e6f7ff;
            border: 1px dashed #0099ff;
            border-radius: 10px;
            padding: 15px;
            margin-bottom: 20px;
        }
.ai-page        .section {
            margin-bottom: 20px;
        }
.ai-page        .section-title {
            color: #0099ff;
            font-weight: bold;
            background:none;
            min-width: 0px;
        }
.ai-page        .topic {
            display: flex;
            align-items: center;
            margin-bottom: 10px;
        }
.ai-page        .topic-icon {
            width: 27px;
            height: 35px;
            background-image: url(https://cdn.builder.io/api/v1/image/assets/TEMP/2275a4c0cef783291f4432f5ab6ea8c30855a4db5924e5956172ceba751fb2a9?placeholderIfAbsent=true&apiKey=45436c9cd6a34722a8b46c2a2006e2ea);
            margin-right: 10px;
            border-radius: 3px;
        }
.ai-page        .topic-text {
            flex-grow: 1;
            margin-left: 5px;
        }
.ai-page        .checkbox {
            width: 20px;
            height: 20px;
            border: 2px solid #ccc;
            border-radius: 50%;
        }


.ai-page .input-container {
  display: flex;
  flex: 1;
}

.ai-page .textbox {
  flex: 1;
  min-height: 48px;
  padding: 8px;
  border-radius: 4px;
  background-color: transparent;
  color: #000;
  outline: none;
  resize: none;
  overflow-y: auto;
  background-color: #ececec;
  border-radius: 10px;
  margin-bottom: 10px;
  min-height: 100px;
}

.ai-page .textbox::placeholder {
  color: #888;
}
.ai-page .description {
  margin-top: 20px;
}
.ai-page .controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ai-page .button-group {
  display: flex;
  gap: 8px;
}

.ai-page .button {
    position: relative;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid #7587b9;
    border-radius: 4px;
    background-color: #0e6fb8;
    color: #edebe7;
    cursor: pointer;
    transition: background-color 0.3s;
}
.ai-page        .radio-option {
            margin-bottom: 10px;
            display: flex;
            gap:5px;
        }
         .ai-page       .radio-group {
            display: flex;
            flex-direction: row;
        }
.ai-page .button svg {
  fill: #ffffff;
}
.ai-page .range-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}
.ai-page .button:hover {
  background-color: #444;
}

.ai-page .button.active {
  background-color: #aa8249;
  border-color: #ffcd95;
}

.ai-page .button.generate {
  background-color: #0e6fb8;
  color: #fff;

}

.ai-page .button:disabled {
  background-color: grey;
  color: #fff;
  cursor: not-allowed;
}

.ai-page label {
  margin-bottom: 0px;
}
.ai-page .items-top {
  vertical-align: top;
}
.h-20 {
  height: 7rem;
}
.items-start {
  justify-content: start;
}

::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
 
/* Handle */
::-webkit-scrollbar-thumb {
  background: #2d5288; 
  border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #2d5288; 
}
.ai-page .primary-color {
  background-color: #ddcdb6;
}
.ai-page .pointer {
  cursor: pointer;
}
.ai-page .inline {
  display: inline;
}

.ai-page .button.loading {
    pointer-events: none;
    color: transparent;
}
.ai-well {
  background-color: #e6f7ff;
    border: 1px dashed #0099ff;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
}

.ai-page .button.loading::after {
    content: "...";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid #fff;
    border-top: 2px solid #000;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
.ai-page select {
      width: 100%;
    padding: 10px;
    background-color: #e6f7ff;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 1.5s ease-out forwards;
}
@keyframes fadeIn2x {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-2x {
  animation: fadeIn2x 3.5s ease-out forwards;
}
.ai-page .textbox:empty:before {
    content: attr(data-placeholder);
    color: #888;
}

.ai-container-answer::after {
    content: '';
    position: absolute;
    right: 30px;
  
    padding-left: 79px;
    background-size: cover;
    height: 70px;
    background-color: white;
    width: 81px;
    background-image: url('/static-dist/vntheme/img/quote.svg');
}

.ai-container-answer::before {
    content: '';
    position: absolute;
       top: -50px;
    transform: rotate(180deg);
    padding-left: 79px;
    background-size: cover;
    height: 70px;
    background-color: white;
    width: 81px;
    background-image: url('/static-dist/vntheme/img/quote.svg');
}

.ai-page .container-sm {
    max-width: 800px;
    margin: 0 auto;
    border: 2px solid #0099ff;
    border-radius: 15px;
    padding: 20px;
    margin-top: 50px;
    position: relative;
}
.ai-page .generate-quiz-ai img{
    width: 100%;
}

.aspect-video {
  aspect-ratio: 16/9;
margin: 10px 0px;
  height: 125px
}
.gap-3 {
  gap: 10px;
}
 .moving-gif {
            position: absolute; /* Position absolute to move freely */
            top: -20px;
            width: 70px; /* Set width of the GIF */
            animation: moveGif 10s linear infinite; /* Animation properties */
        }

        @keyframes moveGif {
            0% {
                left: 0; /* Start position */
            }
            100% {
                left: calc(100% - 100px); /* End position (subtract width of the GIF) */
            }
        }


.ai-page h1 {
  margin-top: 50px;
}
.ai-page button {
  margin-left: 5px;
}        

.cd-main__body .cd-alert-danger{
    display: none;
}
.ai-page .section-title {
  margin-left: 5px;
}
.ai-page .rounded-full{
      border-radius: 30px;
    padding: 5px;
}