/********** Template CSS **********/
:root {
    --primary: #009CFF;
    --light: #F3F6F9;
    --dark: #191C24;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

label {color: #191C24;}

h1, h2, h3 {
    font-family: "Bangers", system-ui;
    font-weight: 400;
    font-style: normal;
}
h2 {font-size: 6em;}

#main-title {
    color: whitesmoke;
    font-size: 72px;
}

#sub-title {
    color: whitesmoke;
    font-size: 36px;
}

/* For larger screens (e.g., desktops and tablets) */
@media (min-width: 768px) {
    #main-title {
        font-size: 160px;
    }

    #sub-title {
        font-size: 64px;
    }
    
}

.white {color:white;}

#spinner {
  opacity: 0.4;
  transition: opacity 0.4s ease;
  z-index: 9999;
}
#spinner.hide {
  opacity: 0;
  pointer-events: none;
}
#spinner.show {
  display: flex;
  opacity: 0.4;
  visibility: visible;
  transition: opacity 0.3s ease-in-out;
}


/*** 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: var(--light);
    transition: 0.5s;
    z-index: 999;
}

.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;
    }
}


/*** Navbar ***/
.sidebar .navbar .navbar-nav .nav-link {
    padding: 7px 20px;
    color: var(--dark);
    font-weight: 500;
    border-left: 3px solid var(--light);
    border-radius: 0 30px 30px 0;
    outline: none;
}

.sidebar .navbar .navbar-nav .nav-link:hover,
.sidebar .navbar .navbar-nav .nav-link.active {
    color: var(--primary);
    background: #FFFFFF;
    border-color: var(--primary);
}

.sidebar .navbar .navbar-nav .nav-link i {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 40px;
}

.sidebar .navbar .navbar-nav .nav-link:hover i,
.sidebar .navbar .navbar-nav .nav-link.active i {
    background: var(--light);
}

.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 ***/
.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);
}

/* Make the table headers with sorting functionality show a pointer cursor */
th.sortable {
    cursor: pointer;
}

/* Optional: Add some hover effect to make it more interactive */
th.sortable:hover {
    background-color: #f0f0f0;
}

.prompt-text-wrapper {
    position: relative;
    max-height: 100px;
    overflow: hidden;
    white-space: pre-wrap; /* Ensures line breaks are respected */
    text-align: justify;
}

.prompt-text-wrapper.expanded {
    max-height: none;
}

.toggle-text {
    display: inline-block;
    margin-top: 5px;
    cursor: pointer;
    color: #007bff;
    font-size: 0.9em;
}

.toggle-text:hover {
    text-decoration: underline;
}

pre.prompt-text {
    white-space: pre-wrap; /* Ensures that line breaks are respected */
    margin: 0; /* Removes unwanted margin around the <pre> tag */
}

.modal-body ul.chat-content {
    list-style-type: none;
    padding: 0;
}

.modal-body ul.chat-content li {
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}
.modal-content {
    border-radius: 20px;
}
.hero-section {
    display: flex;
    flex-direction: row;
}
@media (max-width: 575.98px) {
    .hero-section {       
        flex-direction: column-reverse;
    }
    .hero-section {
        margin: 0px !important;
    }
    .container-fluid {
        margin: 0px !important;
        padding: 0px !important;
    }
}

.fa, .fas {
    font-weight: 900;
    font-size: 24px;
}

 .btn-link:disabled, .btn-link.disabled {
    color: #6c757d !important; /* Bootstrap’s “muted” */
    pointer-events: none;       /* ensure it’s unclickable */
  }

#projectSelect option.archived { color: #999; font-style: italic; }
