@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.13.1/font/bootstrap-icons.min.css");

html,
body {
  height: 100%;
  margin: 0;
  overflow-y: auto;
}

/* Scrollbar Webkit (Chrome, Safari, Edge) */
body::-webkit-scrollbar {
  width: 8px;
}

body::-webkit-scrollbar-track {
  background: transparent;
}

body::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

body.dark::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Firefox */
body {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

body.dark {
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
  background-color: #121212 !important;
  color: #eee !important;
}

body.dark footer {
  background-color: #1e1e1e !important;
  color: #999 !important;
  border-color: #333 !important;
}

#theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  color: #333;
}

#theme-toggle:hover {
  color: #000;
}

body.dark #theme-toggle {
  color: #ccc;
}

body.dark #theme-toggle:hover {
  color: #fff;
}

body.dark .btn-outline-secondary {
  border-color: #aaa;
  color: #ccc;
}

body.dark .btn-outline-secondary:hover {
  background-color: #333;
  border-color: #ccc;
  color: #fff;
}

#welcome-message {
  font-size: 1rem;
  color: #666;
}

body.dark #welcome-message {
  color: #ccc;
}

body.dark img.rounded-circle {
  border: 2px solid #eee;
}

body.dark .bg-white {
  background-color: #1e1e1e !important;
}

body.dark .btn-dark {
  background-color: #eee !important;
  color: #121212 !important;
}

body.dark .btn-dark:hover {
  background-color: #ccc !important;
}

body.dark .text-muted {
  color: #ccc !important;
}

@media (max-width: 576px) {
  .container {
    padding: 1.5rem !important;
  }

  #theme-toggle {
    font-size: 1rem;
  }
}

.nav-pills .nav-link {
  border-radius: 999px;
  padding: 0.4rem 1.2rem;
  color: #555;
}

.nav-pills .nav-link:hover {
  background-color: #e2e6ea;
  color: #000;
}

.nav-pills .nav-link.active {
  background-color: #000;
  color: #fff;
}

body.dark .nav-pills .nav-link {
  color: #ccc;
}

body.dark .nav-pills .nav-link.active {
  background-color: #fff;
  color: #121212;
}

body {
  background-color: #f5f5f5 !important;
}

.bg-white {
  background-color: #ffffff !important;
}

body.dark {
  background-color: #121212 !important;
}

#personal-bio {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.85;
}

body.dark #personal-bio {
  color: #ccc;
}

#footer .btn-outline-secondary i {
  font-size: 1rem;
}

@media (max-width: 767.98px) {
  #footerControls {
    margin-top: 0.5rem;
  }
}
