body {
  font-family: "Montserrat", serif !important;
}

#app {
  min-height: 100vh;
  display: block;
  position: relative;
  padding-bottom: 270px;
}

.navbar-img {
  height: 50px;
  -o-object-fit: contain;
     object-fit: contain;
}

.footer-section {
  margin-bottom: 0px !important;
  position: absolute;
  bottom: 0;
  width: 100%;
  background-color: #ffffff !important;
  box-shadow: 0px -9px 16px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.footer-section .footer-img-left {
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0.5;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
}

.footer-section .footer-img-right {
  position: absolute;
  right: 0;
  opacity: 0.5;
  height: 100%;
  width: 100%;
  background-repeat: no-repeat;
  background-position: right center;
}

.footer-section .footer-container {
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  position: relative;
}

.footer-section .footer-credits {
  padding-top: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.footer-section .footer-logo {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
  padding-right: 40px;
  text-align: center;
}

.footer-section .footer-logo img {
  -o-object-fit: contain;
     object-fit: contain;
  height: 50px;
}

.footer-section .footer-section-bg-graphics {
  position: absolute;
  right: -10%;
  bottom: 0%;
}

.footer-section .footer-social-media-icons-section .footer-social-media-icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  font-size: 20px;
  border-radius: 50%;
  background-color: #6b719b;
  color: #ffffff;
}

.web-user-form {
  width: 90%;
}

.web-user-form .form-control:not(.form-control-sm):not(.form-control-lg) {
  padding: 15px 20px !important;
  border-radius: 25px;
  font-size: 15px;
  box-shadow: 0 1px 3px 0 rgba(98, 107, 117, 0.3294117647);
}

.rounded-button {
  border-radius: 25px !important;
  box-shadow: 0 1px 3px 0 rgba(98, 107, 117, 0.3294117647) !important;
  border-color: #d8d9e3 !important;
}

.or-social {
  height: 1px;
  width: 100%;
  background-color: #e9ebec;
  margin: 20px 0;
  position: relative;
}

.or-social span {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #fff;
  padding: 0 10px;
}

.web-region-code {
  border-radius: 25px;
  box-shadow: 0 1px 3px 0 rgba(98, 107, 117, 0.3294117647);
}

.social-login-buttons .google-login {
  background-color: #dd4b39 !important;
  color: #fff !important;
  box-shadow: 0 10px 30px 0 rgba(98, 107, 117, 0.3294117647) !important;
  font-size: 10px;
}

.social-login-buttons .google-login:hover {
  border-color: #dd4b39 !important;
  background-color: #fff !important;
  color: #dd4b39 !important;
}

.social-login-buttons .facebook-login {
  background-color: #3b5998 !important;
  border-color: #3b5998 !important;
  color: #fff !important;
  box-shadow: 0 10px 30px 0 rgba(98, 107, 117, 0.3294117647) !important;
  font-size: 10px;
}

.social-login-buttons .facebook-login:hover {
  border-color: #3b5998 !important;
  background-color: #fff !important;
  color: #3b5998 !important;
}

.btn-submit {
  text-transform: uppercase !important;
  font-size: 13px !important;
  box-shadow: 0 4px 15px 0 rgba(98, 107, 117, 0.3294117647) !important;
  border-radius: 5px 5px 5px 5px !important;
}

.support-public-tickets {
  border-width: 2px;
  border-style: solid;
  border-color: transparent;
  border-left-color: #6b719b !important;
  transition: all 0.3s ease-in;
  background: #ffffff !important;
  box-sizing: border-box;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
}

.support-public-tickets:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.accordion-header[aria-expanded=true] {
  box-shadow: 0 2px 6px #acb5f6 !important;
  background-color: #6b719b !important;
  color: #fff !important;
}

.accordion-header[aria-expanded=true] h4 {
  color: #fff !important;
}

.is-ticket-avatar {
  width: 60px;
  height: 64px;
  border-radius: 50%;
  padding-top: 4px;
  -o-object-fit: cover;
     object-fit: cover;
}

.ticket-subject-text {
  font-size: 1.2em;
}

.is-ticket-details {
  color: #A9A9A9;
}

@media screen and (max-width: 540px) {
  .support-footer .col-xl-6 {
    text-align: center !important;
    margin-bottom: 1em !important;
  }

  .public-ticket-list div:nth-child(2) button {
    display: block !important;
    width: 100%;
  }

  .public-ticket-list div:nth-child(2) .public-ticket-reset {
    width: 100%;
  }

  .main-section-area .particles-banner-section {
    height: 93vh !important;
  }
}

@media screen and (max-width: 540px) and (max-width: 540px) {
  .main-section-area .particles-banner-section {
    height: 70vh !important;
  }
}

@media screen and (max-width: 540px) and (max-width: 360px) {
  .main-section-area .particles-banner-section {
    height: 80vh !important;
  }
}

@media screen and (max-width: 540px) and (max-width: 320px) {
  .main-section-area .particles-banner-section {
    height: 93vh !important;
  }
}

.ticketZIndex {
  z-index: 9;
}

.ticketsContainer {
  border-radius: 3px 0 0 3px;
  position: absolute;
  right: 0;
  margin-right: -0.55em;
  padding: 0.55em;
  color: #ffffff;
  width: 100px;
  text-align: center;
}

@media (max-width: 1024px) {
  .ticketsContainer {
    bottom: 17px;
  }
}

@media (min-width: 1025px) {
  .ticketsContainer {
    top: 17px;
  }
}

.ticketsContainer::before {
  position: absolute;
  content: "";
  height: 28px;
  width: 28px;
  top: 1.4rem;
  right: 0.33rem;
  transform: rotate(45deg);
  z-index: -1;
}

.ticketsContainer-success,
.ticketsContainer-success:before {
  background-color: #47c363;
}

.ticketsContainer-warning,
.ticketsContainer-warning:before {
  background-color: #ffa426;
}

.ticketsContainer-danger,
.ticketsContainer-danger:before {
  background-color: #e67d3c;
}

.large-card {
  border-top: 3px solid #6b719b;
  background-color: #fff;
}

.ticket-created-date {
  position: absolute;
  right: 1%;
  top: 72%;
}

@media (max-width: 1024px) {
  .ticket-created-date {
    top: inherit;
  }
}

#publicTicketsSearchResults {
  z-index: 9;
}

#publicTicketsSearchResults ul {
  height: auto;
  max-height: 300px;
  overflow: auto;
}

#publicTicketsSearchResults ul li a {
  padding: 0 0.7em;
}

#publicTicketsSearchResults ul li:hover {
  background-color: #6b719b;
}

#publicTicketsSearchResults ul .noTicketsFound {
  font-size: 0.8em;
}

#publicTicketsSearchResults ul .noTicketsFound:hover {
  background-color: transparent;
}

#publicTicketsSearchResults ul li:hover a {
  color: #ffffff;
}

.main-section-area {
  position: relative;
  padding-top: 75px;
}

.particles-banner-section {
  background: #f4f6f9;
  position: absolute;
  height: 93vh;
  width: 100%;
}

.banner-height {
  height: 93vh;
  min-height: 93vh;
}

@media (max-width: 540px) {
  .banner-height {
    height: 70vh;
    min-height: 70vh;
    padding-top: 0 !important;
  }
}

@media (max-width: 360px) {
  .banner-height {
    height: 80vh;
    min-height: 80vh;
  }
}

@media (max-width: 320px) {
  .banner-height {
    height: 93vh;
    min-height: 93vh;
  }
}

@media (max-width: 540px) {
  .margin-t-10 {
    margin-top: 10px !important;
  }
}

@media screen and (max-width: 320px) {
  .public-ticket-list div:nth-child(1) {
    padding: 0.4em !important;
    margin-bottom: 0 !important;
  }
}

@media screen and (max-width: 425px) {
  .user-avatar {
    position: absolute;
    transform: translateY(-45px);
  }

  .public-ticket-section {
    margin-top: 1.9em;
  }

  .ticketZIndex {
    margin-top: 2.5em !important;
  }
}

@media screen and (max-width: 768px) {
  .footer-section {
    position: inherit !important;
  }

  .footer-section .row {
    padding: 1em !important;
  }

  .footer-section .footer-logo {
    padding-right: 0 !important;
  }

  #app {
    padding-bottom: 0 !important;
  }

  .public-ticket-list div:nth-child(1) {
    display: flex !important;
  }

  .banner-height {
    height: auto !important;
  }

  .particles-banner-section {
    height: 160vh !important;
  }
}

@media screen and (max-width: 768px) {
  #navbarSupportedContent span {
    display: inline-block;
  }

  .navbar #navbarSupportedContent ul li {
    margin-bottom: 1rem;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .particles-banner-section {
    height: 93vh !important;
  }

  .banner-height {
    height: 93vh !important;
    min-height: 93vh !important;
  }
}

@media only screen and (min-device-width: 1024px) and (max-device-width: 1366px) and (orientation: portrait) {
  .particles-banner-section {
    height: 50vh !important;
  }

  .banner-height {
    height: 50vh !important;
    min-height: 50vh !important;
  }
}

.submit-ticket {
  background-repeat: no-repeat;
  background-size: cover;
}

.ticket-attachment {
  margin-bottom: 10px;
  margin-right: 12px;
  height: 70px;
  width: 100px;
  padding: 0.25rem;
  background-color: #fff;
  border-radius: 0.25rem;
  -o-object-fit: contain;
     object-fit: contain;
}

.gallery-item.ticket-attachment {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.gallery-item .ticket-attachment__icon {
  text-align: center;
  background: #47525d;
  border-radius: 6px;
  width: 50px;
  height: 22px;
}

.gallery-item .ticket-attachment__icon .view-icon {
  color: #00b0b0 !important;
}

.attachment-icon:hover {
  color: #00b0b0 !important;
}

.note-toolbar .note-btn:hover {
  background-color: #6b719b !important;
  color: #FFFFFF;
}

/*  scroll css section here*/

.scrolltop .icon {
  font-size: 25px;
  text-align: center;
  transform: rotate(-45deg);
  margin-top: 10px;
}

.scrolltop {
  position: fixed;
  bottom: 76px;
  right: 15px;
  cursor: pointer;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  display: none;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.14), 0 4px 8px rgba(0, 0, 0, 0.15);
  z-index: 99;
}

.scrollTop-sm {
  bottom: 15px;
}

@media (max-width: 430px) {
  .width-front-mobile-100 {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .width-front-mobile-100 .selectgroup {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .width-front-mobile-100 .custom-input {
    margin-right: 0 !important;
  }
}

@media (max-width: 430px) {
  .px-front-mobile-3 {
    padding: 0 15px;
  }
}

.end-chat-button {
  width: 100%;
  margin-left: 5px !important;
}



/* === KA IT Portal Override v7 (web.css base layer) === */
/* Full override lives in ka-it-portal-override.css — this is the fallback layer */
/* Colors: #635bff (purple), #00d4ff (cyan), #0a0a1a (dark) */
/* Font: Inter — synced with ka-it.be main site */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ===== Global ===== */
body, .main-content, .main-sidebar, .navbar, .card, .dropdown-menu, .modal-content, .footer-section, input, select, textarea, button, .form-control {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
}

a { color: #635bff; }
a:hover { color: #4b83ff; }

/* ===== Primary Color Override ===== */
.bg-primary, .badge-primary, .btn-primary,
.dataTables_wrapper .dataTables_paginate .paginate_button.current {
  background: linear-gradient(135deg, #635bff 0%, #4b83ff 100%) !important;
  border-color: #635bff !important;
  color: #fff !important;
}

.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background: linear-gradient(135deg, #635bff 0%, #4b83ff 100%) !important;
  border-color: #635bff !important;
  box-shadow: 0 4px 20px rgba(99,91,255,0.4), 0 0 40px rgba(99,91,255,0.15) !important;
}

.btn-outline-primary {
  color: #425466 !important;
  border-color: rgba(0,0,0,0.1) !important;
}
.btn-outline-primary:hover {
  border-color: #635bff !important;
  color: #635bff !important;
  background: rgba(99,91,255,0.04) !important;
}

.text-primary, a.text-primary,
h3.tickets-listing-title a,
h3.tickets-listing-title a:hover,
.ticket-subject-text.text-primary {
  color: #635bff !important;
}

/* ===== Navbar — Dark glassmorphism ===== */
.navbar-bg {
  background: linear-gradient(135deg, #0a0a1a 0%, #111127 50%, #1a1a3e 100%) !important;
}

.main-navbar {
  background: linear-gradient(135deg, #0a0a1a 0%, #111127 50%, #1a1a3e 100%) !important;
  box-shadow: 0 2px 16px rgba(0,0,0,0.15);
}

.main-navbar .nav-link,
.main-navbar .navbar-nav .nav-link,
.navbar .nav-link {
  color: rgba(255,255,255,0.8) !important;
  font-weight: 500;
  font-size: 13.5px;
}

.main-navbar .nav-link:hover,
.main-navbar .nav-link.active,
.navbar .nav-link:hover {
  color: #fff !important;
}

.navbar-brand img.navbar-img {
  max-height: 38px;
  filter: none;
}

/* ===== Sidebar ===== */
.main-sidebar {
  background: #fff !important;
  box-shadow: 2px 0 16px rgba(10,37,64,0.04);
  border-right: 1px solid rgba(0,0,0,0.06);
}

.main-sidebar .sidebar-menu li a {
  color: #0a0a1a !important;
  font-weight: 500;
  border-radius: 10px;
  margin: 2px 12px;
  padding: 10px 14px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-sidebar .sidebar-menu li.active > a {
  background: rgba(99,91,255,0.08) !important;
  color: #635bff !important;
}

.main-sidebar .sidebar-menu li a:hover {
  background: linear-gradient(135deg, rgba(99,91,255,0.06), rgba(0,212,255,0.03)) !important;
  color: #635bff !important;
}

.main-sidebar .sidebar-menu li.active > a i,
.main-sidebar .sidebar-menu li a:hover i {
  color: #635bff !important;
}

.main-sidebar .sidebar-menu li a i {
  color: #6b7c93 !important;
}

.main-sidebar .sidebar-menu .menu-header {
  color: #6b7c93;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 14px 22px 4px;
}

/* ===== Cards ===== */
.card {
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 16px !important;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05) !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important;
}

.card-header {
  background: transparent !important;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
  font-weight: 700;
  color: #0a0a1a;
}

.card-hover-border:hover {
  border: 1px solid #635bff !important;
}

/* ===== Buttons — Pill shape ===== */
.btn {
  border-radius: 9999px !important;
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 20px;
  transition: transform 0.2s, box-shadow 0.3s;
}

.btn-sm {
  padding: 5px 14px;
  font-size: 12px;
}

/* ===== Forms ===== */
.form-control {
  border-radius: 10px !important;
  border: 1.5px solid rgba(0,0,0,0.08) !important;
  padding: 10px 14px;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.3s;
}

.form-control:focus {
  border-color: #635bff !important;
  box-shadow: 0 0 0 3px rgba(99,91,255,0.1), 0 0 20px rgba(99,91,255,0.05) !important;
}

.select2-container--default .select2-selection--single {
  border-radius: 10px !important;
  border: 1.5px solid rgba(0,0,0,0.08) !important;
  height: 42px;
}

/* ===== Auth Pages ===== */
.auth-page .card {
  border-radius: 24px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1), 0 0 60px rgba(99,91,255,0.15) !important;
}

/* ===== Footer — Dark ===== */
.main-footer {
  background: #0a0a1a;
  border-top: none;
  color: rgba(255,255,255,0.5);
}

.footer-section {
  background: #0a0a1a !important;
  color: rgba(255,255,255,0.5);
}

.footer-section h3,
.footer-subsection-title {
  color: #fff !important;
  font-weight: 700;
}

.footer-section a {
  color: rgba(255,255,255,0.7) !important;
}

.footer-section a:hover {
  color: #fff !important;
}

.footer-social-media-icon {
  color: rgba(255,255,255,0.7) !important;
  font-size: 22px !important;
  transition: color 0.2s;
}

.footer-social-media-icon:hover {
  color: #fff !important;
}

/* ===== Badges ===== */
.badge {
  border-radius: 6px !important;
  font-weight: 600;
  font-size: 11px;
  padding: 0.3em 0.65em;
}

/* ===== Tables ===== */
.table thead th {
  background: #f4f6fb;
  color: #6b7c93;
  font-weight: 600;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(0,0,0,0.06) !important;
}

/* ===== Dropdown ===== */
.dropdown-menu {
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1) !important;
  padding: 8px !important;
}

.dropdown-item {
  border-radius: 10px !important;
  padding: 8px 14px !important;
  font-size: 13.5px;
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: linear-gradient(135deg, rgba(99,91,255,0.06), rgba(0,212,255,0.03)) !important;
  color: #635bff !important;
}

/* ===== Notification bell ===== */
.notification-toggle.beep::before {
  background: #635bff !important;
}

/* ===== Tickets ===== */
.support-public-tickets {
  border-radius: 16px !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  transition: all 0.25s;
}

.support-public-tickets:hover {
  border-color: rgba(99,91,255,0.15) !important;
  box-shadow: 0 4px 16px rgba(99,91,255,0.12) !important;
}

/* ===== Search ===== */
.search-container .form-control {
  border-radius: 16px !important;
  padding: 12px 24px;
}

.search-container .btn {
  border-radius: 10px !important;
}

/* ===== Banner / hero — Dark with dot grid ===== */
.particles-banner-section {
  background: #0a0a1a !important;
}

.header-title {
  color: #fff !important;
  font-weight: 800 !important;
}

.header-subtitle {
  color: rgba(255,255,255,0.65) !important;
}

/* ===== Loader ===== */
.ka-it-srl-loader #outline {
  stroke: #635bff;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #c4cdd5; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #635bff; }

/* ===== Misc ===== */
.section-title {
  color: #0a0a1a;
  font-weight: 800;
}

.ribbon {
  border-radius: 4px;
}

/* ===== Back to KA IT link ===== */
.nav-link .fa-arrow-left,
.nav-link .fa-globe {
  color: rgba(255,255,255,0.9) !important;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .card {
    border-radius: 10px !important;
  }
  .btn {
    border-radius: 9999px !important;
  }
}
