@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&family=Poppins:wght@300;400;600&display=swap');

:root {
  --dark-blue: #0a3d62;
  --teal: #00b8d4;
  --orange: #ff6b35;
  --dark-orange: #942b04;
}

body {
  font-family: 'Montserrat', sans-serif;
}

.shimmer-text {
  background: linear-gradient(
    to right,
    var(--dark-blue) 20%,
    var(--teal) 40%,
    var(--teal) 60%,
    var(--dark-blue) 80%
  );
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}

.shimmer-text-orange {
  background: linear-gradient(
    to right,
    var(--dark-orange) 20%,
    var(--orange) 40%,
    var(--orange) 60%,
    var(--dark-orange) 80%
  );
  background-size: 200% auto;
  color: #000;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 3s linear infinite;
}

.alpha-logo-container {
  line-height: 15px;
  text-align: right;
}

.alpha-education {
  font-size: 0.8rem;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@media screen and (max-width: 800px) {
  .profile_welcome {
    display: none;
  }
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--teal);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #00a0b8;
}

/* Sidebar styles */
#sidebar {
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

#sidebar.open {
  transform: translateX(0) !important;
  opacity: 1;
}

.table tbody tr:nth-child(even) td {
  background-color: rgba(0, 0, 0, 0.05) !important;
}

[data-bs-theme="dark"] .table tbody tr:nth-child(even) td {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.dt-paging-button {
  padding: 0 !important;
  margin-left: 0 !important;
}

.dt-paging-button button {
  height: 100%;
}

#dt tbody tr, #dt thead tr {
  font-size: 14px !important;
}

#dt thead tr {
  border-bottom: 1px solid #888;
}

#dt tbody tr.hover-row:hover>* {
  background-color: rgba(0, 184, 212, 0.15) !important;
}

.dt-length {
  display: flex;
}

.dt-length label {
  min-width: fit-content;
}

.dt-length label, .dt-search label {
  font-size: 14px !important;
}

.dt-search {
  margin-right: 10px;
  padding-bottom: 5px;
  margin-bottom: 20px;
  margin-left: -12px;
}

.hover-row {
  transition: background-color 0.2s ease;
  cursor: pointer;
  position: relative;
}

#dt-length-0 {
  margin-right: 10px;
}

/* Glowing effect for stats */
.stat-card {
  background-color: var(--teal);
  box-shadow: 0 0 15px rgba(0, 184, 212, 0.5);
  transition: all 0.3s ease;
}

.stat-card:hover {
  box-shadow: 0 0 20px rgba(0, 184, 212, 0.8);
  transform: translateY(-2px);
}

#top-navbar, #main-content {
  transition: margin-left 0.3s ease-in-out;
}

#top-navbar.sidebar-open, #main-content.sidebar-open {
  margin-left: 16rem; /* 64px / 4 = 16rem */
}

/* Forgot password */
.creds #id_password_helptext {
  margin-top: 10px;
  display: block;
}

/* Password/Username input */
.creds #id_login, .creds #id_password, .creds #id_password1, .creds #id_password2, .creds #id_email, .creds #id_username {
  border: 1px solid black;
  border-radius: 5px;
  padding: 5px;
  display: block;
  width: 100%;
}

/* Password/Username label */
.creds p>label[for=id_login], .creds p>label[for=id_password], .creds p>label[for=id_email], .creds p>label[for=id_username], .creds p>label[for=id_password1], .creds p>label[for=id_password2] {
  font-weight: bold;
  text-align: left;
  display: block;
  font-size: small;
}

.creds ul {
  text-align: left;
  list-style-type: circle;
}

nav .nav-item {
  list-style-type: none;
}

body {
  transition: 0.5s ease-in-out;
}

#view-toggle {
  border: 1px solid #aaa;
}

.field_error {
  color: red;
}

.copy-icon:not(.no-style) {
  color: var(--dark-blue);
}

.copy-icon {
  transition: color 0.1s ease;
  cursor: pointer;
}

.copy-icon:hover {
  color: var(--teal); 
}

.action-icon {
  transition: all 0.2s ease;
  cursor: pointer;
}

/* Edit icon specific styling */
.fa-pen-to-square.action-icon {
  color: var(--orange);
}

.fa-pen-to-square.action-icon:hover {
  color: var(--dark-orange);
  transform: scale(1.1);
}

/* Other action icons */
.action-icon:not(.fa-pen-to-square):hover {
  color: var(--teal); 
}

input.visual-disable, textarea.visual-disable, select.visual-disable {
  opacity: 1;
  background-color: var(--bs-secondary-bg);
}

.history-segment {
  display: flex;
}

.history-segment>code, .history-segment>span {
  margin-right: 0.5rem;
}

#history-table-body>tr:first-of-type>td.view-cell>a {
  display: none;
}

.form-stage {
  display: none;
}

.home-square {
  color: white;
  width: 80px;
  height: 80px;
  cursor: pointer;
  transition: 0.5s ease-in-out;
}

.home-square:hover {
  color: gainsboro;
}

.home-square.hs-site:hover {
  background-color: rgb(10, 54, 87) !important;
}

.home-square.hs-office:hover {
  background-color: rgb(19, 161, 161) !important;
}

.home-square.hs-storage:hover {
  background-color: rgb(220, 106, 29) !important;
}

.home-square.hs-mysites:hover {
  background-color: rgb(85, 17, 73) !important;
}

.home-square.hs-about:hover {
  background-color: rgb(147, 88, 0) !important;
}

.home-square.hs-managers:hover {
  background-color: rgb(195, 149, 0) !important;
}

.home-square.hs-admin:hover {
  background-color: rgb(45, 45, 45) !important;
}

.home-square.hs-phone:hover {
  background-color: rgb(155, 63, 139) !important;
}

.home-square.hs-recruiter:hover {
  background-color: rgb(0, 123, 111) !important;
}

.home-square.hs-calendar:hover {
  background-color: rgb(195, 149, 0) !important;
}

.expand-if-small {
  min-width: 600px;
  max-width: 600px;
}

.nested-ul {
  padding-left: 0px;
}
.nested-ul li::before {
  content: "├─";
}
.nested-ul li:last-of-type::before {
  content: "└─"
}

@media only screen and (max-width: 640px) {
  .expand-if-small {
    padding-left: 5px;
    padding-right: 5px;
    min-width: 100%;
    max-width: 100%;
  }
  .hide-if-small {
    display: none;
  }
}

.map-filter-bar {
  position: absolute;
  top: 10px;
  right: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  padding: 8px 12px;
  z-index: 1000;
}

.nav-acc svg {
  transition: 0.2s ease-in-out;
}

.nav-acc svg.rotate {
  transform: rotate(180deg);
}

#site_map_list a {
  transition: 0.2s ease-in-out;
}

#site_map_list a:hover {
  color: #777;
}