:root {
  --body-font: "Segoe UI", sans-serif;
  --theme-header-background-color: #1e1e1e;
  --theme-font-color: #f1f1f1;
  --theme-background-color: #121212;
  --primary-color: #6f8df6;
  --note-background: #2a2a2a;
  --note-border: #6f8df6;
}

body {
  font-family: var(--body-font);
  font-feature-settings: "fina" on, "init" on;
  color: var(--theme-font-color);
  padding: 0;
  margin: 0;
  scroll-behavior: smooth;
  background-color: var(--theme-background-color);
}

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--theme-header-background-color);
  box-shadow: rgba(255, 255, 255, 0.05) 0px 4px 5px 0px,
              rgba(255, 255, 255, 0.03) 0px 1px 10px 0px,
              rgba(255, 255, 255, 0.08) 0px 2px 4px -1px;
  padding-left: 10px;
  border-radius: 0;
}

.navbar-brand {
  margin-left: 0px;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.container {
  margin-top: 80px;
}

/* Card (white in light theme) adapted for dark */
.delete-card {
  margin-top: 60px;
  padding: 20px;
  max-width: 700px;
  margin: 40px auto;
  background-color: #1f1f1f;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.05);
}

.delete-title {
  background-color: transparent;
  border-bottom: none;
  padding-bottom: 0;
}

.header img {
  max-width: 200px;
  height: auto;
  margin-bottom: 10px;
}

h1 {
  color: var(--primary-color);
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

p {
  font-size: 16px;
  margin-bottom: 20px;
}

ol {
  margin: 20px 0;
  padding-left: 20px;
  list-style-type: decimal;
}

li {
  margin-bottom: 15px;
  font-size: 16px;
}

/* Note Box */
.note {
  background: var(--note-background);
  border-left: 5px solid var(--note-border);
  padding: 15px;
  margin-top: 30px;
  border-radius: 8px;
  font-size: 14px;
  color: #ccc;
}

.note strong {
  font-weight: 600;
  color: #fff;
}

/* Mobile responsiveness */
@media (max-width: 576px) {
  .header img {
    max-width: 120px;
    margin: 0 auto 20px;
    display: block;
  }
}

.app-header {
  display: flex;
  align-items: center;
  padding: 20px 0;
}

.app-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  margin-right: 20px;
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.1);
}

.app-popup {
  display: none;
  position: fixed;
  top: 60px;
  left: 105px;
  width: calc(70% - 105px);
  z-index: 999;
  background-color: rgba(30, 30, 30, 0.95);
  box-shadow: rgba(255, 255, 255, 0.1) 0px 4px 5px 0px;
  padding: 25px 20px;
  margin: 10px;
  border-radius: 10px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: translateY(-20px);
  color: #f1f1f1;
}

.app-popup.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.app-popup .app-icon {
  width: 50px;
  height: 50px;
  margin-left: 10px;
  margin-right: 10px;
}

.app-popup h2 {
  font-size: 1.25rem;
  margin: 0;
  color: #ffffff;
}


.section-card {
  background-color: #1f1f1f;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.08),
              0 1px 2px rgba(255, 255, 255, 0.05);
  padding: 20px;
  margin-bottom: 20px;
  color: #f1f1f1;
}

.section-card strong {
  font-weight: bold;
  color: #ffffff;
}

.section-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 2px solid #444;
  padding-bottom: 5px;
  font-family: var(--body-font);
  color: var(--primary-color);
}

.section-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
  color: #ccc;
}

.section-card i {
  color: var(--primary-color);
  margin-right: 10px;
}

.section-card a {
  text-decoration: none;
  color: var(--primary-color);
}

.section-card a:hover {
  text-decoration: underline;
}

.btn-light {
  background-color: rgba(255, 255, 255, 0.15);
  border: none;
  padding: 5px;
  border-radius: 50%;
  color: #fff;
}

.btn-light:hover {
  background-color: rgba(255, 255, 255, 0.25);
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

a:hover {
  color: #9abfff;
}

.content {
  margin-left: 35px !important;
}

.icon {
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
  display: inline-block;
  filter: brightness(0) invert(1); /* makes dark icons white */
}

@media (max-width: 768px) {
  .app-popup {
    left: 0;
    width: calc(100% - 20px);
    border-radius: 10px;
  }
}

 footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.8em;
  color: #aaa; /* lighter for dark background */
}

.people-view-card {
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  transition: box-shadow 0.2s ease-in-out;
  cursor: pointer;
  background-color: #1f1f1f;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.05);
  margin-bottom: 10px;
  text-decoration: none;
  color: #f1f1f1;
}

.people-view-card:hover {
  box-shadow: 0 4px 8px rgba(255, 255, 255, 0.08);
}

.people-view-card img {
  width: 50px;
  height: 50px;
  margin-right: 10px;
  border-radius: 8px;
}

.people-view-details {
  width: 100px;
  height: 50px;
  margin-left: 12px;
}

.app-category {
  font-size: 0.85rem;
  color: #ccc;
}

.fixed-container {
  position: sticky;
  top: 90px;
  background-color: #2a2a2a;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 10px;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.05), 0 1px 2px rgba(255, 255, 255, 0.04);
  margin-top: 140px;
  color: #f1f1f1;
}

@media (max-width: 992px) {
  .fixed-container {
    position: static;
    margin-top: 0px;
    margin-bottom: 20px;
    width: 100%;
  }
}
