/**
* Template Name: NiceAdmin
* Template URL: https://bootstrapmade.com/nice-admin-bootstrap-admin-html-template/
* Updated: Apr 7 2025 with Bootstrap v5.3.5
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
:root {
  scroll-behavior: smooth;
}

body {
    font-family: "Open Sans", sans-serif;
    background: #212121;
    color: #e0e0e0;

}

a {
  color: #4154f1;
  text-decoration: none;
}

a:hover {
  color: #717ff5;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
}

/*--------------------------------------------------------------
# Main
--------------------------------------------------------------*/
#main {
  margin-top: 60px;
  padding: 20px 30px;
  transition: all 0.3s;
}

@media (max-width: 1199px) {
  #main {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Page Title
--------------------------------------------------------------*/
.pagetitle {
  margin-bottom: 10px;
}

.pagetitle h1 {
  font-size: 24px;
  margin-bottom: 0;
  font-weight: 600;
  color: #cfcfcf;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #4154f1;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: #1c1c1c;
  line-height: 0;
}

.back-to-top:hover {
  background: #6776f4;
  color: #1c1c1c;
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Override some default Bootstrap stylings
--------------------------------------------------------------*/
/* Dropdown menus */
.dropdown-menu {
  border-radius: 4px;
  padding: 10px 0;
  animation-name: dropdown-animate;
  animation-duration: 0.2s;
  animation-fill-mode: both;
  border: 0;
  box-shadow: 0 5px 30px 0 rgba(82, 63, 105, 0.2);
}

.dropdown-menu .dropdown-header,
.dropdown-menu .dropdown-footer {
  text-align: center;
  font-size: 15px;
  padding: 10px 25px;
}

.dropdown-menu .dropdown-footer a {
  color: #e0e0e0;
  text-decoration: underline;
}

.dropdown-menu .dropdown-footer a:hover {
  text-decoration: none;
}

.dropdown-menu .dropdown-divider {
  color: #a5c5fe;
  margin: 0;
}

.dropdown-menu .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.dropdown-menu .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.dropdown-menu .dropdown-item:hover {
  background-color: #121212;
}

@media (min-width: 768px) {
  .dropdown-menu-arrow::before {
    content: "";
    width: 13px;
    height: 13px;
    background: #1c1c1c;
    position: absolute;
    top: -7px;
    right: 20px;
    transform: rotate(45deg);
    border-top: 1px solid #2a2a2a;
    border-left: 1px solid #2a2a2a;
  }
}

@keyframes dropdown-animate {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }

  0% {
    opacity: 0;
  }
}

/* Light Backgrounds */
.bg-primary-light {
  background-color: #cfe2ff;
  border-color: #cfe2ff;
}

.bg-secondary-light {
  background-color: #e2e3e5;
  border-color: #e2e3e5;
}

.bg-success-light {
  background-color: #d1e7dd;
  border-color: #d1e7dd;
}

.bg-danger-light {
  background-color: #f8d7da;
  border-color: #f8d7da;
}

.bg-warning-light {
  background-color: #1c1c1c3cd;
  border-color: #1c1c1c3cd;
}

.bg-info-light {
  background-color: #cff4fc;
  border-color: #cff4fc;
}

.bg-dark-light {
  background-color: #d3d3d4;
  border-color: #d3d3d4;
}

/* Card */
.card {
  margin-bottom: 30px;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 0 30px rgba(0,0,0,0.6);
}

.card-header,
.card-footer {
  border-color: #2a2a2a;
  background-color: #1c1c1c;
  color: #798eb3;
  padding: 15px;
}

.card-title {
  padding: 20px 0 15px 0;
  font-size: 18px;
  font-weight: 500;
  color: #cfcfcf;
  font-family: "Poppins", sans-serif;
}

.card-title span {
  color: #bbbbbb;
  font-size: 14px;
  font-weight: 400;
}

.card-body {
  padding: 0 20px 20px 20px;
}

.card-img-overlay {
  background-color: rgba(255, 255, 255, 0.6);
}

/* Alerts */
.alert-heading {
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
}

/* Close Button */
.btn-close {
  background-size: 25%;
}

.btn-close:focus {
  outline: 0;
  box-shadow: none;
}

.btn-outline-light {
    border: 1px solid #aaa;
    color: #ddd;
    background: transparent;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s ease-in-out;
}

    .btn-outline-light:hover {
        border-color: #fff;
        color: #fff;
        background: rgba(255,255,255,0.1);
    }

.btn-primary {
    background-color: #3a82f7; /* brand blue */
    border: none;
    font-size: 0.9rem;
    padding: 6px 14px;
    border-radius: 20px;
}

    .btn-primary:hover {
        background-color: #1d6cf2;
    }



/* Accordion */
.accordion-item {
    border: 1px solid #2a2a2a;
    background-color: #121212;
    color:#fff;
}

.accordion-button:focus {
    outline: 0;
    box-shadow: none;
    background-color: #121212;
}

.accordion-button:not(.collapsed) {
    color: #cfcfcf;
    background-color: #121212;
}

.accordion-flush .accordion-button {
    padding: 15px 0;
    background: none;
    border: 0;
    background-color: #121212;
}

    .accordion-flush .accordion-button:not(.collapsed) {
        box-shadow: none;
        color: #4154f1;
        background-color: #121212;
    }

.accordion-flush .accordion-body {
  padding: 0 0 15px 0;
  color: #3e4f6f;
  font-size: 15px;
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 14px;
  font-family: "Nunito", sans-serif;
  color: #bbbbbb;
  font-weight: 600;
}

.breadcrumb a {
  color: #bbbbbb;
  transition: 0.3s;
}

.breadcrumb a:hover {
  color: #51678f;
}

.breadcrumb .breadcrumb-item::before {
  color: #bbbbbb;
}

.breadcrumb .active {
  color: #51678f;
  font-weight: 600;
}

/* Bordered Tabs */
.nav-tabs-bordered {
  border-bottom: 2px solid #2a2a2a;
}

.nav-tabs-bordered .nav-link {
  margin-bottom: -2px;
  border: none;
  color: #2c384e;
}

.nav-tabs-bordered .nav-link:hover,
.nav-tabs-bordered .nav-link:focus {
  color: #4154f1;
}

.nav-tabs-bordered .nav-link.active {
  background-color: #1c1c1c;
  color: #4154f1;
  border-bottom: 2px solid #4154f1;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.logo {
  line-height: 1;
}

@media (min-width: 1200px) {
  .logo {
    width: 280px;
  }
}

.logo img {
  max-height: 26px;
  margin-right: 6px;
}

.logo span {
  font-size: 26px;
  font-weight: 700;
  color: #cfcfcf;
  font-family: "Nunito", sans-serif;
}




.header {
    transition: all 0.5s;
    z-index: 997;
    height: 60px;
/*    box-shadow: 0px 2px 20px rgba(0,0,0,0.6);*/
    background-color: #212121;
    padding-left: 20px;
    /* Toggle Sidebar Button */
    /* Search Bar */
}

.header .toggle-sidebar-btn {
  font-size: 32px;
  padding-left: 10px;
  cursor: pointer;
  color: #cfcfcf;
}

.header .search-bar {
  min-width: 360px;
  padding: 0 20px;
}

@media (max-width: 1199px) {
  .header .search-bar {
    position: fixed;
    top: 50px;
    left: 0;
    right: 0;
    padding: 20px;
    box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.6);
    background: white;
    z-index: 9999;
    transition: 0.3s;
    visibility: hidden;
    opacity: 0;
  }

  .header .search-bar-show {
    top: 60px;
    visibility: visible;
    opacity: 1;
  }
}

.header .search-form {
  width: 100%;
}

.header .search-form input {
  border: 0;
  font-size: 14px;
  color: #cfcfcf;
  border: 1px solid rgba(1, 41, 112, 0.2);
  padding: 7px 38px 7px 8px;
  border-radius: 3px;
  transition: 0.3s;
  width: 100%;
}

.header .search-form input:focus,
.header .search-form input:hover {
  outline: none;
  box-shadow: 0 0 10px 0 rgba(1, 41, 112, 0.15);
  border: 1px solid rgba(1, 41, 112, 0.3);
}

.header .search-form button {
  border: 0;
  padding: 0;
  margin-left: -30px;
  background: none;
}

.header .search-form button i {
  color: #cfcfcf;
}

/*--------------------------------------------------------------
# Header Nav
--------------------------------------------------------------*/
.header-nav ul {
  list-style: none;
}

.header-nav>ul {
  margin: 0;
  padding: 0;
}

.header-nav .nav-icon {
  font-size: 22px;
  color: #cfcfcf;
  margin-right: 25px;
  position: relative;
}

.header-nav .nav-profile {
  color: #cfcfcf;
}

.header-nav .nav-profile img {
  max-height: 36px;
}

.header-nav .nav-profile span {
  font-size: 14px;
  font-weight: 600;
}

.header-nav .badge-number {
  position: absolute;
  inset: -2px -5px auto auto;
  font-weight: normal;
  font-size: 12px;
  padding: 3px 6px;
}

.header-nav .notifications {
  inset: 8px -15px auto auto !important;
}

.header-nav .notifications .notification-item {
  display: flex;
  align-items: center;
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .notifications .notification-item i {
  margin: 0 20px 0 10px;
  font-size: 24px;
}

.header-nav .notifications .notification-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
}

.header-nav .notifications .notification-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #aaaaaa;
}

.header-nav .notifications .notification-item:hover {
  background-color: #121212;
}

.header-nav .messages {
  inset: 8px -15px auto auto !important;
}

.header-nav .messages .message-item {
  padding: 15px 10px;
  transition: 0.3s;
}

.header-nav .messages .message-item a {
  display: flex;
}

.header-nav .messages .message-item img {
  margin: 0 20px 0 10px;
  max-height: 40px;
}

.header-nav .messages .message-item h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #e0e0e0;
}

.header-nav .messages .message-item p {
  font-size: 13px;
  margin-bottom: 3px;
  color: #aaaaaa;
}

.header-nav .messages .message-item:hover {
  background-color: #121212;
}

.header-nav .profile {
  min-width: 240px;
  padding-bottom: 0;
  top: 8px !important;
}

.header-nav .profile .dropdown-header h6 {
  font-size: 18px;
  margin-bottom: 0;
  font-weight: 600;
  color: #e0e0e0;
}

.header-nav .profile .dropdown-header span {
  font-size: 14px;
}

.header-nav .profile .dropdown-item {
  font-size: 14px;
  padding: 10px 15px;
  transition: 0.3s;
}

.header-nav .profile .dropdown-item i {
  margin-right: 10px;
  font-size: 18px;
  line-height: 0;
}

.header-nav .profile .dropdown-item:hover {
  background-color: #121212;
}

/*--------------------------------------------------------------
# Sidebar
--------------------------------------------------------------*/
.sidebar {
    position: fixed;
    top: 50px;
    left: 0;
    width: 300px !important;
    z-index: 996;
    transition: all 0.3s;
    padding: 20px;
  /*  box-shadow: 0px 0px 20px rgba(0,0,0,0.6);*/
    background-color: #0E0E0E;
    display: flex;
    flex-direction: column;
    height: 100vh; /* account for top header */
    overflow: hidden; /* prevent the bottom nav from being scrolled away */
}



#sidebar-nav {
    flex: 1 1 auto; /* conversation area stretches */
}



@media (max-width: 1199px) {
  .sidebar {
    left: -300px;
  }
}

.sidebar::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background-color: #0E0E0E;
}

.sidebar::-webkit-scrollbar-thumb {
  background-color: #aab7cf;
}

@media (min-width: 1200px) {

  #main,
  #footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .toggle-sidebar .sidebar {
    left: 0;
  }
}

@media (min-width: 1200px) {

  .toggle-sidebar #main,
  .toggle-sidebar #footer {
    margin-left: 0;
  }

  .toggle-sidebar .sidebar {
    left: -300px;
  }
}

.sidebar-nav {
  padding: 0;
  margin: 0;
  list-style: none;

}

.sidebar-nav li {
  padding: 0;
  margin: 0;
  list-style: none;

}

.sidebar-nav .nav-item {
  margin-bottom: 0px;
          line-height: 1.2 !important;
        font-size: 14px; 

}

    .sidebar-nav .nav-link.custom-small {
        padding-top: 0px;
        padding-bottom: 0px;
        line-height: 1.2;
        color: #9aa0ac !important;
        cursor: default;
    }

        .sidebar-nav .nav-link.custom-small:hover {
            background: none !important;
            color: inherit !important;
            cursor: default !important;
            pointer-events: none;
        }


    .sidebar-nav .nav-link.custom-small-2 {
        padding-top: 0px;
        padding-bottom: 0px;
        line-height: 1.2;
        padding-left: 20px;
        color: #9aa0ac !important;
        cursor: default;
    }
/**/
        .sidebar-nav .nav-link.custom-small-2:hover {
            background: none !important;
            color: inherit !important;
            cursor: default !important;
            pointer-events: none;
        }






.sidebar-nav .nav-heading {
  font-size: 12px;
  text-transform: uppercase;
  color: #bbbbbb;
  font-weight: 400;
  margin: 10px 0 5px 15px;

}

    .sidebar-nav .nav-link {
        display: flex;
        align-items: center;
        font-size: 14px;
        font-weight: 600;
        color: #ffffff;
        transition: 0.3;
        background: #212121;
        padding: 10px 15px;
        border-radius: 4px;



    }

.sidebar-nav .nav-link i {
  font-size: 14px;
  margin-right: 10px;
  color: #ffffff;

}

        .sidebar-nav .nav-link.collapsed {
            color: #cfcfcf;
            background: #0E0E0E;
            padding-top:5px;
            padding-bottom:5px;
        }

.sidebar-nav .nav-link.collapsed i {
  color: #bbbbbb;

}

        .sidebar-nav .nav-link:hover {
            /*            color: #4154f1;*/
            background: #212121;
        }

            .sidebar-nav .nav-link:hover i {
                color: #0E0E0E;
            }

.sidebar-nav .nav-link .bi-chevron-down {
  margin-right: 0;
  transition: transform 0.2s ease-in-out;

}

.sidebar-nav .nav-link:not(.collapsed) .bi-chevron-down {
  transform: rotate(180deg);
}

.sidebar-nav .nav-content {
  padding: 5px 0 0 0;
  margin: 0;
  list-style: none;

}

.sidebar-nav .nav-content a {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #cfcfcf;
  transition: 0.3;
  padding: 10px 0 10px 40px;
  transition: 0.3s;
}

.sidebar-nav .nav-content a i {
  font-size: 6px;
  margin-right: 8px;
  line-height: 0;
  border-radius: 50%;
}

.sidebar-nav .nav-content a:hover,
.sidebar-nav .nav-content a.active {
  color: #4154f1;
}

    .sidebar-nav .nav-content a.active i {
        background-color: #0E0E0E;
    }

.sidebar .bottom-nav {
    flex-shrink: 0;
    position: relative; /* no sticky needed with flex */
    background: #111;
    padding: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    z-index: 10;
}
.no-gap {
    font-size: 0.75rem; /* small arrow */
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1; /* prevent extra space */
    display: inline-block; /* remove inline-text spacing quirks */
    vertical-align: middle;
}

/* make sure span doesn’t add margin */
.nav-link.custom-small span {
    margin: 0 !important;
    padding: 0 !important;
}


/*--------------------------------------------------------------
# Dashboard
--------------------------------------------------------------*/
/* Filter dropdown */
.dashboard .filter {
  position: absolute;
  right: 0px;
  top: 15px;
}

.dashboard .filter .icon {
  color: #aab7cf;
  padding-right: 20px;
  padding-bottom: 5px;
  transition: 0.3s;
  font-size: 16px;
}

.dashboard .filter .icon:hover,
.dashboard .filter .icon:focus {
  color: #4154f1;
}

.dashboard .filter .dropdown-header {
  padding: 8px 15px;
}

.dashboard .filter .dropdown-header h6 {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #aab7cf;
  margin-bottom: 0;
  padding: 0;
}

.dashboard .filter .dropdown-item {
  padding: 8px 15px;
}

/* Info Cards */
.dashboard .info-card {
  padding-bottom: 10px;
}

.dashboard .info-card h6 {
  font-size: 28px;
  color: #cfcfcf;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.dashboard .card-icon {
  font-size: 32px;
  line-height: 0;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  flex-grow: 0;
}

.dashboard .sales-card .card-icon {
  color: #4154f1;
  background: #121212;
}

.dashboard .revenue-card .card-icon {
  color: #2eca6a;
  background: #e0f8e9;
}

.dashboard .customers-card .card-icon {
  color: #ff771d;
  background: #ffecdf;
}

/* Activity */
.dashboard .activity {
  font-size: 14px;
}

.dashboard .activity .activity-item .activite-label {
  color: #888;
  position: relative;
  flex-shrink: 0;
  flex-grow: 0;
  min-width: 64px;
}

.dashboard .activity .activity-item .activite-label::before {
  content: "";
  position: absolute;
  right: -11px;
  width: 4px;
  top: 0;
  bottom: 0;
  background-color: #eceefe;
}

.dashboard .activity .activity-item .activity-badge {
  margin-top: 3px;
  z-index: 1;
  font-size: 11px;
  line-height: 0;
  border-radius: 50%;
  flex-shrink: 0;
  border: 3px solid #1c1c1c;
  flex-grow: 0;
}

.dashboard .activity .activity-item .activity-content {
  padding-left: 10px;
  padding-bottom: 20px;
}

.dashboard .activity .activity-item:first-child .activite-label::before {
  top: 5px;
}

.dashboard .activity .activity-item:last-child .activity-content {
  padding-bottom: 0;
}

/* News & Updates */
.dashboard .news .post-item+.post-item {
  margin-top: 15px;
}

.dashboard .news img {
  width: 80px;
  float: left;
  border-radius: 5px;
}

.dashboard .news h4 {
  font-size: 15px;
  margin-left: 95px;
  font-weight: bold;
  margin-bottom: 5px;
}

.dashboard .news h4 a {
  color: #cfcfcf;
  transition: 0.3s;
}

.dashboard .news h4 a:hover {
  color: #4154f1;
}

.dashboard .news p {
  font-size: 14px;
  color: #aaaaaa;
  margin-left: 95px;
}

/* Recent Sales */
.dashboard .recent-sales {
  font-size: 14px;
}

.dashboard .recent-sales .table thead {
  background: #121212;
}

.dashboard .recent-sales .table thead th {
  border: 0;
}

.dashboard .recent-sales .dataTable-top {
  padding: 0 0 10px 0;
}

.dashboard .recent-sales .dataTable-bottom {
  padding: 10px 0 0 0;
}

/* Top Selling */
.dashboard .top-selling {
  font-size: 14px;
}

.dashboard .top-selling .table thead {
  background: #121212;
}

.dashboard .top-selling .table thead th {
  border: 0;
}

.dashboard .top-selling .table tbody td {
  vertical-align: middle;
}

.dashboard .top-selling img {
  border-radius: 5px;
  max-width: 60px;
}

/*--------------------------------------------------------------
# Icons list page
--------------------------------------------------------------*/
.iconslist {
  display: grid;
  max-width: 100%;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
  padding-top: 15px;
}

.iconslist .icon {
  background-color: #1c1c1c;
  border-radius: 0.25rem;
  text-align: center;
  color: #cfcfcf;
  padding: 15px 0;
}

.iconslist i {
  margin: 0.25rem;
  font-size: 2.5rem;
}

.iconslist .label {
  font-family: var(--bs-font-monospace);
  display: inline-block;
  width: 100%;
  overflow: hidden;
  padding: 0.25rem;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #666;
}

/*--------------------------------------------------------------
# Profie Page
--------------------------------------------------------------*/
.profile .profile-card img {
  max-width: 120px;
}

.profile .profile-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: #2c384e;
  margin: 10px 0 0 0;
}

.profile .profile-card h3 {
  font-size: 18px;
}

.profile .profile-card .social-links a {
  font-size: 20px;
  display: inline-block;
  color: rgba(1, 41, 112, 0.5);
  line-height: 0;
  margin-right: 10px;
  transition: 0.3s;
}

.profile .profile-card .social-links a:hover {
  color: #cfcfcf;
}

.profile .profile-overview .row {
  margin-bottom: 20px;
  font-size: 15px;
}

.profile .profile-overview .card-title {
  color: #cfcfcf;
}

.profile .profile-overview .label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit label {
  font-weight: 600;
  color: rgba(1, 41, 112, 0.6);
}

.profile .profile-edit img {
  max-width: 120px;
}

/*--------------------------------------------------------------
# F.A.Q Page
--------------------------------------------------------------*/
.faq .basic h6 {
  font-size: 18px;
  font-weight: 600;
  color: #4154f1;
}

.faq .basic p {
  color: #6980aa;
}

/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  padding: 28px 30px;
}

.contact .info-box i {
  font-size: 38px;
  line-height: 0;
  color: #4154f1;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #cfcfcf;
  font-weight: 700;
  margin: 20px 0 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form .error-message {
  display: none;
  color: #1c1c1c;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #1c1c1c;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #1c1c1c;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: #4154f1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: #4154f1;
  border: 0;
  padding: 10px 30px;
  color: #1c1c1c;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type=submit]:hover {
  background: #5969f3;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Error 404
--------------------------------------------------------------*/
.error-404 {
  padding: 30px;
}

.error-404 h1 {
  font-size: 180px;
  font-weight: 700;
  color: #4154f1;
  margin-bottom: 0;
  line-height: 150px;
}

.error-404 h2 {
  font-size: 24px;
  font-weight: 700;
  color: #cfcfcf;
  margin-bottom: 30px;
}

.error-404 .btn {
  background: #51678f;
  color: #1c1c1c;
  padding: 8px 30px;
}

.error-404 .btn:hover {
  background: #3e4f6f;
}

@media (min-width: 992px) {
  .error-404 img {
    max-width: 50%;
  }
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  padding: 20px 0;
  font-size: 14px;
  transition: all 0.3s;
  border-top: 1px solid #cddfff;
}

.footer .copyright {
  text-align: center;
  color: #cfcfcf;
}

.footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #cfcfcf;
}
/* Ensure Bootstrap modals appear above the fixed header */
.modal-backdrop {
  z-index: 1050 !important;
}


.modal-dialog {
  z-index: 1065 !important;
}

.modal {
    position: fixed !important;
    top: 0;
    left: 0;
    z-index: 1060 !important;
}

/* Accordion opens upward inside modal-footer */
.accordion-up .accordion-collapse {
    position: absolute;
    bottom: 100%; /* expand upwards instead of down */
    width: 100%;
    z-index: 1056; /* just above modal footer */
    background: #212529; /* match dark mode */
    border: 1px solid #444;
    border-bottom: none;
    border-radius: .5rem .5rem 0 0;
    max-height: 50vh;
    overflow-y: auto;
}

.code-block-wrapper {
    position: relative;
}

.copy-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    z-index: 2;
    opacity: 0.7;
    transition: opacity 0.2s;
}

    .copy-btn:hover {
        opacity: 1;
    }


.dropup .dropdown-menu {
    background-color: #1c1c1c;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 5px 0;
    min-width: 200px;
}

.dropup .dropdown-item {
    color: #ddd;
    font-size: 14px;
    padding: 8px 12px;
}

    .dropup .dropdown-item:hover {
        background-color: #333;
        color: #fff;
    }
.chat-input-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh; /* centers everything */
    text-align: center;
}

.chat-welcome-text {
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 20px;
    color: #f5f5f5; /* light grey/white text */
}

.chat-input-container {
    display: flex;
    align-items: center;
    max-width: 600px;
    width: 100%;
    padding: 10px;
    background: #1e1e1e;
    border-radius: 24px; /* pill-like like GPT */
}

    .chat-input-container input {
        background: transparent;
        border: none;
        color: #fff;
    }

        .chat-input-container input::placeholder {
            color: #aaa;
            opacity: 1;
        }

        .chat-input-container input:focus {
            box-shadow: none;
            outline: none;
        }

.chat-subtext {
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 30px;
    color: #bbbbbb;
}

.chat-footer-fixed {
    position: fixed;
    bottom: 10px; /* space from bottom */
    left: 50%;
    transform: translateX(-50%); /* center horizontally */
    font-size: 13px;
    color: #cfcfcf;
    text-align: center;
    z-index: 1000; /* make sure it sits above background */
}

    .chat-footer-fixed a {
        color: #4ea3ff;
        text-decoration: none;
    }

        .chat-footer-fixed a:hover {
            text-decoration: underline;
        }




.chat-welcome-text .brand {
    color: #4ea3ff; /* Accent brand color */
}

.top-bar {
    position: absolute;
    top: 20px;
    right: 30px;
    z-index: 1050; /* stays above content */
}

.top-link {
    color: #ccc;
    text-decoration: none;
    font-size: 0.95rem;
    margin-right: 10px;
    transition: color 0.2s ease-in-out;
}

    .top-link:hover {
        color: #fff;
    }

.top-icon-link {
    color: #ccc;
    font-size: 1.25rem; /* slightly larger for visibility */
    text-decoration: none;
    margin-right: 12px;
    margin-left:10px;
    transition: color 0.2s ease-in-out;
}

    .top-icon-link:hover {
        color: #fff;
    }

.dark-card {
    background-color: #1e1e1e; /* dark card background */
    border: 1px solid #333;
    color: #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    border-radius: 8px;
}

    .dark-card .card-title {
        color: #fff;
    }


.pagetitle {
    margin-left: 2rem; /* add spacing from sidebar */
    margin-top: 1.5rem; /* push down a little */
    margin-bottom: 1rem;
}


    .pagetitle h1 {
        color: #f5f5f5;
        font-size: 1.75rem;
    }

.breadcrumb {
    background: transparent;
    margin-top: 5px;
}

.section {
    margin-top: 40px; /* push card further down */
}



/* ============================================================
   ChronoSpeak Bottom Menu (ChatGPT-style)
   ============================================================ */

.cs-sidebar-bottom {
    margin-top: auto;
    padding: 15px 20px 25px 20px; /* extra bottom padding */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background-color: #0e0e0e;
    width: 100%;
    position: relative;
    bottom: 10px; /* lift it slightly above viewport edge */
}


.cs-user-menu {
    position: relative;
    width: 100%;
}

.cs-user-button {
    background-color: transparent;
    border: none;
    color: #ccc;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    padding: 10px 14px;
    width: 100%;
    text-align: left;
    transition: background 0.2s ease;
}

    .cs-user-button:hover {
        background-color: #1c1c1c;
        color: #fff;
    }

.cs-user-name {
    color: #ddd;
    font-weight: 500;
    font-size: 14px;
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cs-dropdown-menu {
    background-color: #1b1b1b !important;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 5px 0;
    min-width: 100%;
    margin-bottom: 5px;
}

.cs-dropdown-item {
    color: #ccc !important;
    font-size: 14px;
    padding: 8px 15px !important;
    transition: background 0.2s ease;
}

    .cs-dropdown-item:hover {
        background-color: #2a2a2a !important;
        color: #fff !important;
    }

.cs-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}



/* ===== ChatGPT-like Dark Mode ===== */
.modal-content {
    background-color: #212121 !important; /* charcoal background */
    color: #e0e0e0 !important; /* softer white */
    border-radius: 8px;
    border: 1px solid #2d2d2d;
}

.modal-header,
.modal-body,
.modal-footer {
    background-color: #212121 !important;
    color: #e0e0e0 !important;
    border-color: #2d2d2d;
}

/* Titles */
.modal-title {
    color: #ffffff !important;
    font-weight: 600;
}

/* Form fields inside modals */
.modal .form-control {
    background-color: #2a2a2a !important;
    color: #f1f1f1 !important;
    border: 1px solid #444 !important;
    border-radius: 6px;
}

    .modal .form-control::placeholder {
        color: #888 !important;
    }

/* Buttons */
.modal .btn-primary {
    background-color: #10a37f !important; /* OpenAI teal */
    border-color: #10a37f !important;
    color: #fff !important;
}

    .modal .btn-primary:hover {
        background-color: #0e906f !important;
    }

.modal .btn-outline-secondary,
.modal .btn-secondary {
    background-color: transparent !important;
    color: #ccc !important;
    border: 1px solid #444 !important;
}

    .modal .btn-outline-secondary:hover,
    .modal .btn-secondary:hover {
        background-color: #2a2a2a !important;
        color: #fff !important;
    }

/* Dropdowns */
.modal .dropdown-menu {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border: 1px solid #444 !important;
}

.modal .dropdown-item {
    color: #ddd !important;
}

    .modal .dropdown-item:hover {
        background-color: #333 !important;
        color: #fff !important;
    }
/* Chat bubbles */
.chat-bubble {
    padding: 0.75rem 1rem 0rem;
    border-radius: 0.8rem;
    max-width: 80%;
    word-wrap: break-word;
    line-height: 1.5;
    font-size: 0.95rem;
    font-family: system-ui, sans-serif;
    margin: 0; /* ensure no hidden spacing */
}

/* User bubble (dark gray, right aligned) */
.user-bubble {
    background-color: #343541;
    color: #e0e0e0;
    align-self: flex-end;
}

/* Assistant bubble (lighter gray, left aligned) */
.assistant-bubble {
    background-color: #444654;
    color: #e0e0e0;
    align-self: flex-start;
}




/* Group messages (optional styling) */
.group-bubble {
    background-color: #3a506b;
    color: #f1f1f1;
}

.card-body, .card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.chatgpt-home {
    height: 50vh;
    background-color: #212121;
    color: #ececec;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.chatgpt-title {
    font-size: 1.75rem;
    font-weight: 500;
    color: #e5e5e5;
}
.chatgpt-input-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;

}


.chatgpt-modal-input-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 16px;
    border-top: 1px solid #2a2a2a;
    z-index: 1000;
}




/* Outer pill container */
.chatgpt-input-container {
    background-color: #2a2b32;
    border: 1px solid #565869;
    border-radius: 24px;
    padding: 6px 14px;
    display: flex;
    align-items: center;
    width: 100%;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.15) inset;
    transition: box-shadow 0.2s, border-color 0.2s;

}

    .chatgpt-input-container:hover {
        border-color: #6d6f7b;
    }

.chatgpt-plus-icon {
    font-size: 1.2rem;
    color: #a0a0a0;
    margin-right: 10px;
}

/* Inner text field */
.chatgpt-input {
    background-color: transparent;
    border: none;
    color: #ffffff;
    font-size: 1rem;
    padding: 10px 0;
    outline: none;
    width: 100%;
}

    .chatgpt-input::placeholder {
        color: #8e8e8e;
    }

/* Send button */
.chatgpt-send-btn {
    background-color: #10a37f;
    border: none;
    color: #fff;
    font-size: 1.1rem;
    padding: 10px 16px;
    border-radius: 50%;
    transition: background-color 0.2s;
}

    .chatgpt-send-btn:hover {
        background-color: #0e906f;
    }

    .chatgpt-send-btn:disabled {
        background-color: #444;
        cursor: not-allowed;
    }

/* Subtle hover glow */
.chatgpt-input-container:focus-within {
    border-color: #10a37f;
    box-shadow: 0 0 0 2px rgba(16, 163, 127, 0.3);
}

.chatgpt-submit-btn {
    background-color: #10a37f; /* ChatGPT green */
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}

    .chatgpt-submit-btn:hover:not(:disabled) {
        background-color: #0e8f71;
        box-shadow: 0 0 6px rgba(16, 163, 127, 0.4);
    }

    .chatgpt-submit-btn:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }


/* Dark scrollbar for chat modal */
#chatBody {
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #444 #1e1e1e; /* thumb color | track color */
}

    /* Chrome, Edge, Safari */
    #chatBody::-webkit-scrollbar {
        width: 10px;
    }

    #chatBody::-webkit-scrollbar-track {
        background: #1e1e1e; /* scrollbar track */
    }

    #chatBody::-webkit-scrollbar-thumb {
        background-color: #444; /* scrollbar handle */
        border-radius: 6px;
        border: 2px solid #1e1e1e; /* adds subtle padding effect */
    }

        #chatBody::-webkit-scrollbar-thumb:hover {
            background-color: #666; /* brighter on hover */
        }


