/********** Template CSS **********/
:root {
    --primary: #009CFF;
    --light: #F3F6F9;
    --dark: #191C24;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/*** Button ***/
.btn{
    transition: .5s;
}

.btn.btn-primary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square{
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50px;
}

/*** Layout ***/
 .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 250px;
    height: 100vh;
    overflow-y: auto;
    background: #d5e5ff;  
    /* background: #404e67;  */
    color: #ffffff;  /* Setting default text color to white for all child text */
    transition: 0.5s;
    z-index: 999;
}

.logo {
    width: 200px;
    height: auto;
    padding-right: 10px;
    margin-left: 10px;
    margin-bottom: 20px;
    /* background-color: #ffffff; */
}

.content {
    margin-left: 250px;
    min-height: 100vh;
    background: #ffffff;
    transition: 0.5s;
}


@media (min-width: 992px) {
    .sidebar {
        margin-left: 0;
    }

    .sidebar.open {
        margin-left: -250px;
    }

    .content {
        width: calc(100% - 250px);
    }

    .content.open {
        width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 991.98px) {
    .sidebar {
        margin-left: -250px;
    }

    .sidebar.open {
        margin-left: 0;
    }

    .content {
        width: 100%;
        margin-left: 0;
    }
} 

.profile {
    display: flex;
    align-items: left;
    margin-bottom: 20px;
    margin-left: 20PX;
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
}

.profile-info h6, .profile-info span {
    margin: 0;
    color: white;
}


.navbar-brand h3 {
    color: white;
    margin: 0;
    padding-bottom: 20px;
}

.navbar-nav {
    list-style:none;
    padding: 0;
}


.navbar-nav li {
    padding: 10px 0;
    border-radius: 10px;
}

.nav-link {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-link i {
    margin-right: 10px;
}


.dropdown-menu {
    list-style: none;
    padding: 0;
    background: #404e67;
    border: none;
}

.dropdown-item {
    color: white;
    padding: 10px 10px;
    text-decoration: none;
    display: block;
}

.dropdown-item:hover {
    background: #ffffff; /* Lighter shade for hover */
}

.dropdown-toggle::after {
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-left: 5px;
}

.dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(-180deg);
}

/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: #000000;  /* Updated text color to white */
    font-weight: 500;
    border-left: 3px solid var(--light);
    border-radius: 0 30px 30px 0;
    outline: none;
    background-color: #d5e5ff;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);  /* Keeping highlight color on hover/active */
    background: #404e67;  /* Light background for contrast on active/hover */
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;  /* Light background for icons for better visibility */
    color: var(--dark);  /* Icon color in dark for contrast */
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--light);  /* Light background on hover/active for icons */
    color: var(--primary);  /* Primary color for icon on active/hover */
}

.sidebar .navbar .dropdown-toggle::after {
    position: absolute;
    top: 15px;
    right: 15px;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.sidebar .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

.sidebar .navbar .dropdown-item {
    padding-left: 25px;
    border-radius: 0 30px 30px 0;
}

.content .navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 12px 0;
    color: var(--dark);
    outline: none;
}

.content .navbar .navbar-nav .nav-link:hover,
.content .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.content .navbar .sidebar-toggler,
.content .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 40px;
}

.content .navbar .dropdown-toggle::after {
    margin-left: 6px;
    vertical-align: middle;
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    transition: .5s;
}

.content .navbar .dropdown-toggle[aria-expanded=true]::after {
    transform: rotate(-180deg);
}

@media (max-width: 575.98px) {
    .content .navbar .navbar-nav .nav-link {
        margin-left: 15px;
    }
}

/*** Date Picker ***/
.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}

/*** Testimonial ***/
.progress .progress-bar {
    width: 0px;
    transition: 2s;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items:flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 5px solid var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--dark);
    border-color: var(--primary);
}


.highlighted {
    border: 2px solid #af06ff; 
    background: #00ffff;
}



/* .lds {
    height: 50vh; /* Set container height to full viewport height
}  */


.lds {
    align-items:center;
    justify-content: center;
    border-radius: 8px;
    height:fit-content;
    width: fit-content;
    border-style: groove;
    color: #000000;
    flex-grow: 1; /* Let the container grow to take maximum available space */
    /* flex-direction: row; */
}

.response {
    align-items:center;
    justify-content: center;
    border-radius: 8px;
    flex-grow: 1; /* Let the container grow to take maximum available space */
    /* flex-direction: row; */
}

.box {
    align-items:center;
    justify-content: center;
    border-radius: 8px;
    width: 400;
    height: 300;
}

.tri-button,
.row-md-2 {
    margin: 0 5px; /* Add margin to the containers */
}

/* Center align vertically and horizontally */
.tri-button-container {
    justify-content: center;
    align-items: center;
}

.btn:hover{
    background-color: #af06ff;
}

.btn1:active{
    background-color: var(--primary);
    color: #FFFFFF;
    
}

.welcome{
    color: var(--primary); 
    text-align:center;
    margin: auto;
}

.signin{
    color: #2f55c0;
    /* font-size: 28px; */
}
.ask{
    color: #af06ff;
    text-align: center;
    margin: auto;
    font-size: 22px;
}

.data{
    color:#191C24;
    text-align: center;
}


#readiness_chart {
  height: 100%;
  width: 100%;
  min-height: 150px;
}
 
.zc-ref {
  display: none;
}

/* .tri-button{
    margin:100px;
}
.tri-button, .btn{
    width: 200px;
    height: 50px;
    margin-top: 10px;
    margin-left: 10px;
} */

#recordButton {
    width: 70px; /* Example width */
    height: 20px; /* Example height */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
}


#recordButton {
    width: 50px; /* Example width */
    height: 30px; /* Example height */
    background-image: url('../images/micstart.gif');
    background-size: contain; /* Ensure the image fits within the button */
    background-repeat: no-repeat; /* Prevent the image from repeating */
    background-position: center; /* Center the image */
    margin-left: 480px;
    margin-top: -29px;
}

#recordButton.off {
    background-image: url('../images/micstop.gif');
}

/* Modal Styles */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 50%; /* Center horizontally */
    top: 50px; /* Slightly lower than the top */
    transform: translateX(-50%); /* Move left by 50% of its own width */
    width: 90%; /* Adjust width as needed */
    max-width: 400px; /* Set a max width */
    height: auto; /* Take 100px space from top and bottom */
    overflow: auto; /* Enable scroll if needed */
    display: flex;
    justify-content: flex-start; /* Align to the left */
    align-items: center; /* Center vertically */
}

.errorModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 9999; /* Sit on top */
    left: 50%; /* Center horizontally */
    top: 50px; /* Slightly lower than the top */
    transform: translateX(-50%); /* Move left by 50% of its own width */
    width: 90%; /* Adjust width as needed */
    max-width: 500px; /* Set a max width */
    height: auto; /* Take 100px space from top and bottom */
    overflow: auto; /* Enable scroll if needed */
    display: flex;
    justify-content: flex-start; /* Align to the left */
    align-items: center; /* Center vertically */
    padding: 10px;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    animation: fadeIn 0.5s;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-content h2 {
    margin-top: 0;
    font-size: 24px;
}

.modal-content select {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.modal-content button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.modal-content button:hover {
    background-color: #0056b3;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

#full-image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#full-image {
    max-width: 90%;
    max-height: 90%;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    cursor: pointer;
    z-index: 99999;
}

#table-container {
    height: 300px; /* Adjust the height as needed */
    overflow-y: auto;
    position: relative;
}

#file-manager-table-container {
    height: 350px; /* Adjust the height as needed */
    overflow-y: auto;
    position: relative;
}

.table-responsive {
    overflow: hidden;
}

.table-header {
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 1;
}

.table-header th {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 2;
}

.flash_msg{
    text-align: center;
}


.flash-container {
    width: auto; /* Adjust the width as needed */
    height: 20px;
    text-align: center;
  }

/* Popup styling */
.popup {
    display: none;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

table {
    width: 100%;
    border-collapse: collapse;
}


th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

.disabled-div {
    pointer-events: none;
    opacity: 0.5; /* Optional: visually indicate the disabled state */
}

/* Set the container to take full height of the viewport */
.image-container {
    display: flex;
    justify-content: center; /* Aligns the image horizontally */
    align-items: center; /* Aligns the image vertically */
}

/* Ensure the image doesn't exceed the container size */
.centered-image {
    max-width: 100%;
    max-height: 100%;
    height: 150px;
    width: 150px;
}
.image-container-1 {
    display: flex;
    justify-content: center; /* Aligns the image horizontally */
    align-items: center; /* Aligns the image vertically */
}

/* changes: */
/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

/* Hide default HTML checkbox */
.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 16px;  /* Adjusted height to fit within the switch */
    width: 16px;   /* Adjusted width to fit within the switch */
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px); /* Adjusted based on the new circle size */
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}


  /* conversational ui */
  .animation-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px; /* Adds space between input section and animation */
}


.main{
    position: relative;
    display:flex;
    justify-content: center;
    align-items: center;
    height:auto;
    width:100%;
    overflow: hidden;
}


.myCircle{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    border-radius: 50%;
    width: 360px;
    height: 360px;
    box-shadow: 0 0 75px #2187e7;
    overflow: visible;  /*latest */
  }

  .mainCircle{
    position: relative;
    height:310px;
    width:310px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    overflow: visible;
 }
  .maincontent{
    position: absolute;
    top:0;
    height: 100%;
    width:100%;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .circle{
    background-color: rgba(0,0,0,0);
    opacity: .9;
    height:310px;
    width: 310px;
    margin-top: 0 auto;
    box-shadow: 0 0 75px #2187e7;
    border-radius: 50%;
    animation:spinPlus 2s infinite ease-in-out;

  }

  @keyframes spinPlus{
    0%{
        transform:scale(1);
    }50%{
        transform: scale(1.11);
    }100%{
        transform:scale(1);
    }
  }

  .circle1{
    background-color: rgba(0,0,0,0);
    border:5px solid rgba(0,183,229,0.9);
    margin:0 auto;
    position: absolute;
    top: 25px;
    left: 25px;
    height: 250px;
    width: 250px;
    border-radius :50%;
    border-left: 5px solid rgba(0,0,0,0);
    border-right: 5px solid rgba(0,0,0,0);
    box-shadow: 0px 0px 75px #2187e7;
    animation:spinPlusOff 5s infinite linear;
  }

  @keyframes spinPlusOff {
    0%, 50%, 100%{
        transform:rotate(0deg) scale(1.1);
    }
    50%{
        transform:rotate(360deg) scale(1);
    }
    50%{
        transform: rotate(-360deg) scale(1);
    }
  }

  .bars{
    position: absolute;
    z-index: 3;
    margin: 0 auto;
    left: 49%;
    top:50%;
    /* bottom: 50%; */
    width: 60px;
    height: 60px;
    /* margin-top: -30px; */
    align-items: center;
    justify-content: space-around;
    transform: translate(-50%,-50%);
    display: flex;
    flex-direction: row;
  }

  .li{
    background: #fff;
    width: 10px;
    height: 10px;
    /* float: left; */
    margin-right: 5px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    list-style: none;

  }

  @keyframes loaderBar{
    0%{
        height:10px;
        margin-top: 25px;
    }50%{
        height: 50px;
        margin-top: 0;
    }100%{
        height: 10px;
        margin-top: 25px;
    }
  }

  .li:first-child{
    animation: loaderBar 0.6s infinite 0s;
  }
  .li:nth-child(2){
    animation: loaderBar 0.6s infinite -0.3s;
  }
  .li:nth-child(3){
    animation: loaderBar 0.6s infinite -0.5s;
  }

  .gif-container {
    position: absolute;
    top: 48%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 240px;
    height: 240px;
    overflow: hidden;
    border-radius: 50%;
}

.gif-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the container while maintaining aspect ratio */
    display: none; /* Initially hide all images */
    border-radius: 50%; /* Ensure image itself is clipped to a circle */
}

/* Menu button on ask page */
/* Container for the menu icon */
.menu-container {
    display: inline-block;
    cursor: pointer;
    padding: 10px;
}

/* Bars inside the menu icon */
.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: var(--primary);
    margin: 6px 0;
    transition: 0.4s;
}

/* Rotate and transform effects when toggled */
.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

.change .bar2 {
    opacity: 0;
}

.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

/* Dropdown menu container */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content-virtual-analyst {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
    border-radius: 5px;
    margin-top: 10px;
    transform: translateX(-70%);
}


/* Dropdown content (hidden by default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    max-width: fit-content;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    padding: 12px 16px;
    z-index: 1;
    border-radius: 5px;
    margin-top: 10px;
    transform: translateX(-35%); /* Center the dropdown */
}

/* Show the dropdown content when "show" class is added */
.show {
    display: block;
}

.dropdown-content input[type="date"],
.dropdown-content .btn,
.dropdown-content .email-icon,
.dropdown-content #archiveChats {
    display: block;
    margin: 10px 0;
}

.dropdown-content .btn-primary {
    /* background-color: #007bff;
    border-color: #004085; */
    color: white;
    width: 100%;
    text-align: left;
}

.dropdown-content .btn-primary:hover {
    background-color: #0056b3;
}

.dropdown-content .email-icon,
.dropdown-content #archiveChats {
    font-size: 20px;
    cursor: pointer;
}

.dropdown-content .email-icon:hover,
.dropdown-content #archiveChats:hover {
    color: #007bff;
}

/* Login Page CSS Start */
/* Full height for the container */
body, html {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* Arc section with two-column layout */
.arc-container {
    background-color: #ffffff;
    display: flex;
    height: 100vh;
    justify-content: space-between;
    align-items: center;
}

/* Left side with the image */
.image-container {
    width: 50%;
    background-color: #2f55c0;
    flex: 1;
    display: flex;
    height: 100%;
    border-bottom-right-radius: 50% 50%;
    border-top-right-radius: 50% 50%;
    overflow: hidden;
}

.image-container img {
    max-width: 100%;
    align-items: center;
    justify-content: center;
    height: auto;
    object-fit: contain;
}

/* Right side with the login form */
.login-form-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 50px;
}

.login-form {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.login-form h1 {
    font-weight: bold;
    margin-bottom: 20px;
}

.login-form .form-control {
    margin-bottom: 1rem;
    height: 45px;
}

.login-form button {
    width: 100%;
    background-color: #6f3cc3;
    color: white;
    border: none;
    height: 45px;
    border-radius: 5px;
    font-size: 16px;
}

.login-form button:hover {
    background-color: #5734a6;
}

.login-form p a {
    color: #6f3cc3;
    text-decoration: none;
}

.login-form p a:hover {
    text-decoration: underline;
}

/* Responsive design */
@media (max-width: 768px) {
    .arc-container {
        flex-direction: column;
        height: auto;
    }

    .image-container {
        width: 100%;
        height: 40vh;
        border-radius: 0;
    }

    .login-form-container {
        width: 100%;
        padding: 20px;
    }
}
/* Login Page CSS END */