*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    background: #FAFAFA;
    position: relative;
}
header{
    background: white;
}
header li a{
    font-size: 14px;
}
.formwrap{
    background-color: white;
    margin-top: 20px;
}
.px-lg-6 {
    padding: 0 6rem;
}

/* Apply the padding only on large screens */
@media (max-width: 1199.98px) {
    .px-lg-6 {
        padding: 0 0;
    }
}
.formwrap .form-control{
    background-color: #f2f4f8;
}
.formwrap .form-control:focus {
    color: #212529;
    background-color: #fff;
    border-color: none;
    outline: 0;
    box-shadow: none;
    border: 1px solid black;
}
.formwrap a{
    text-decoration: none;
    font-size: 14px;
}
footer{
    margin-top: 20px;
    bottom: 0;
    background-color: #697077;
    height: 52px;
    display: flex;
    align-items: center;
    position: static;
    bottom: 0;
}
footer p{
    font-size: 14px;
    color: rgb(231, 229, 229);
}
footer img{
    width: 18px;
}
.step1 h6{
    color: #001d6c;
}
.step1 select{
    padding: 0 5px;
    width: 20em;
    height: 2.5em;
    font-size: 14px;
    background-color: #f2f4f8;
    border: 2px solid #001d6c;

}
.slick-slide {
    margin: 0 8px; /* Adjust the value to set the desired space */
}
.slick-arrow{
    background-color: #d6d6e6;
    border-radius: 50%;
}
.slider .card{
    border: none;
}
.slider .card .test{
    display: flex;
    align-items: center;
    width: fit-content;
    font-size: 15px;
    font-weight: 600;
    background-color: white;
    color: #0f62fe;
    border: 2px solid #0f62fe;
    padding: 0.3em 1em 0.3em 0.5em;
    margin: 0 auto;
}
.slider .card .test img{
    margin-right: 0.5em;
}
.slider .card .stop{
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-size: 15px;
    font-weight: 600;
    background-color: white;
    color: #16a809;
    border: 2px solid #16a809;
    padding: 0.3em 1.5em 0.3em 1.5em;
    margin: 0 auto;
}
.slider .card .stop img{
    margin-right: 0.2em;
}
.step2 select{
    padding: 0 5px;
    width: 100%;
    height: 2.8em;
    font-size: 14px;
    background-color: #f2f4f8;
    border: 2.5px solid #2951c0;

}

.progress-bar {
    background-color: #001d6c;
}
.low-opacity {
    opacity: 0.5;

}
#visible, #visibleoff{
    cursor: pointer;
}
.play-icon{
    position: relative;
    cursor: pointer;
}
.play-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    z-index: 1;
  }

  .play-icon::after {
    content: '';
    position: absolute;
    top: 43%;
    left: 47%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 30px;
    border: solid white;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    z-index: 2;
  }
  .auto-expand {
    resize: none;
    overflow: hidden;
    max-height: 300px; /* Maximum height */
}
  .img-cover-slider{
    background-size: cover !important;

    height: 250px;
  }
audio{
    width: 260px;
}
.dt-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 5px; /* Space between buttons */
}
.dt-buttons button {
    flex: 1 1 100%; /* Full width by default */
    max-width: 100%; /* Ensures buttons do not exceed container width */
    box-sizing: border-box; /* Ensures padding and border are included in width */
}
/* Full width on mobile devices */
@media (min-width: 768px) {
    .dt-buttons {
        flex-wrap: nowrap; /* Prevent wrapping on larger screens */
    }
    .dt-buttons button {
        flex: 1 1 auto; /* Allows buttons to shrink/grow as needed */
        max-width: 200px; /* Maximum width of buttons on larger screens */
    }
}
#visualizationCanvas {

    border: 1px solid #ced4da;
    background-color: #f2f4f8;
    width: 100%;
    height:30px;
  }

  .chatScript {

    padding: 10px;;
    border: 1px solid #ced4da;
    background-color: #f2f4f8;
    width: 100%;
    min-height: 100px;
    height: 100%;
  }

  .visualizationCanvas {
    border: 1px solid #ced4da;
    width: 100%;
    height: 30px;
  }




.chat-container {
    max-width: 600px;
    margin: auto;
    padding: 20px;
}
.chat-bubble {
    border-radius: 20px;
    padding: 10px 15px;
    margin-bottom: 10px;
    max-width: 80%;
    word-wrap: break-word;
}
.chat-bubble-sender {
    background-color: #007bff;
    color: white;
    align-self: flex-end;
}
.chat-bubble-receiver {
    background-color: #f1f1f1;
    color: black;
    align-self: flex-start;
}
.d-flex {
    display: flex;
}
.flex-column {
    flex-direction: column;
}

.input-group {
    display: flex;
    align-items: flex-start; /* Align items to the start of the flex container */
}

.form-control.auto-expand {
    resize: none;
    overflow: hidden;
    overflow-y:auto;
    max-height: 200px; /* Maximum height */
    flex: 1; /* Allow textarea to expand */
}

.input-group .btn {
    flex-shrink: 0; /* Prevent buttons from shrinking */
    height: auto; /* Ensure buttons have auto height */
}


#finalScriptCall{
    height: 400px;
    overflow-y: auto;
}
#finalScript{
    height: 400px;
    overflow-y: auto;
}
#generateScriptCall{
	height: 38px;
}
#generateScript{
	height: 38px;
}


.spinner {
   width: 24px;
   height: 24px;
   border-radius: 50% !important;
   margin-top: 7px;
   margin-left: 10px !important;
   border: 3.8px solid;
   border-color: #dbdcef;
   border-right-color: #474bff;
   animation: spinner-d3wgkg 1s infinite linear;
}

@keyframes spinner-d3wgkg {
   to {
      transform: rotate(1turn);
   }
}
