/* Main Page Setup */
html {
  overflow-y: scroll;
}
html,
body {
  background-color: #fbfbfb;
  min-height: 100vh;
  padding-right: 0px !important;
}
main {
  min-height: 100vh;
}
@media (max-width: 768px) {
  main {
    padding-top: 73px;
  }
}
@media (min-width: 768px) {
  main {
    padding-top: 96px;
  }
}
@media (min-width: 992px) {
  main {
    padding-top: 103px;
  }
}
@media (min-width: 1200px) {
  main {
    padding-top: 107px;
  }
}

@media (max-width: 576px) {
  .navbar {
    height: 73px;
  }
}

@media (min-width: 576px) {
  .dropdown:hover .dropdown-menu.noclick {
    display: block;
    margin-top: 0;
  }
}

@media (min-width: 576px) {
  .dropdown-menu-center {
    right: unset !important;
  }
}

@media (max-width: 576px) {
  .dropdown-menu-center {
    margin-right: -24px;
  }
}

/* Global Styles */
.user {
  border: solid 2px orange;
  width: 2rem;
  height: 2rem;
  border-radius: 50px;
  object-fit: cover;
}
.main-nav > .nav-item > .nav-link {
  border-width: 2px;
}
.main-nav > .nav-item > .nav-link.active {
  border-bottom-color: #ffca00;
  border-width: 3px;
}
.main-nav > .nav-item > .nav-link:hover {
  border-bottom-color: #ffca00;
}

.justify {
  text-align: justify;
}
.modal-open {
  overflow: auto;
  padding-right: 0 !important;
}
.modal {
  padding-right: 0 !important;
}
.link-unstyled,
.link-unstyled:link,
.link-unstyled:hover {
  color: inherit;
  text-decoration: inherit;
}
.sidebtn {
  transition: all 0.3s ease;
  border-radius: 0 !important;
  border-left: 3px solid transparent;
}
.sidebtn-no-rounded {
  transition: all 0.3s ease;
}
.sidebtn-no-rounded:hover,
.sidebtn:hover {
  background-color: rgba(255, 202, 0, 0.15);
  border-left-color: #ffca00;
  color: #fff;
  padding-left: 1.25rem;
}
.sidebtn.active {
  background-color: rgba(255, 202, 0, 0.2);
  border-left-color: #ffca00;
  font-weight: 600;
}

/* Offcanvas Sidebar Styling */
.offcanvas-user-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.5rem;
}
.offcanvas-user-avatar {
  border: 3px solid #ffca00;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  object-fit: cover;
}
.offcanvas-nav-section {
  margin-top: 2rem;
}
.offcanvas-nav-item {
  font-size: 1.1rem;
  padding: 0.875rem 1rem;
  margin-bottom: 0.5rem;
}
.offcanvas-nav-item iconify-icon {
  color: #ffca00;
}
.offcanvas-search {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
}
.offcanvas-search .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: none;
}
.offcanvas-search .btn {
  border-color: #ffca00;
  color: #ffca00;
}
.offcanvas-search .btn:hover {
  background-color: #ffca00;
  color: #003366;
}
.offcanvas-branding {
  max-width: 180px;
  opacity: 0.8;
}

/* Navbar Specific Styles */
.navbar .dropdown-menu[role="search"] {
  min-width: 256px;
}

/* Toast Notifications */
.toast-container {
  z-index: 1055;
}
.navbar {
  z-index: 700;
}
.nav-link > .rotate-v {
  transition: all 0.3s ease;
}
.nav-link.show > .rotate-v {
  transform: rotateX(-180deg);
}
.list-group-item {
  background-color: inherit;
}
.dhover-card {
  transition: 0.2s;
}
.dhover-card:hover {
  background-color: rgb(var(--bs-secondary-bg-rgb)) !important;
}

/* Dashboard */
.nav-link {
  cursor: pointer;
  color: black;
}
.tab-pane:not(.active) {
  display: none !important;
}
.nav-underline .nav-link.active,
.nav-underline .show > .nav-link {
  color: #0a58ca;
}

/* Home */
.hover {
  transition: 0.3s;
}
.hover:hover {
  transform: translateY(-0.5rem);
}

/* Form Animations - Used by jobupdate.js and editcandidate.js */
.h-anim.removed-item {
  overflow: hidden;
  object-fit: cover;
  margin-bottom: 0 !important;
  animation: removed-item-animation 0.3s;
}
@keyframes removed-item-animation {
  from {
    height: 38px;
    opacity: 1;
  }
  to {
    height: 0;
    opacity: 0;
  }
}
.h-anim.restored-item {
  overflow: hidden;
  object-fit: cover;
  animation: restored-item-animation 0.3s;
}
@keyframes restored-item-animation {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: 38px;
    opacity: 1;
  }
}

/* Footer */
.footer-icon-section {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
  margin-top: 1.2rem;
}
.footer-contents {
  font-size: 0.9rem;
  text-align: center;
}
