.teacher-subnav {
  background: rgba(30, 30, 36, 0.4);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 20px;
  border: 1px solid rgba(255,255,255,0.05);
}

.teacher-subnav .nav-pills .nav-link {
  color: rgba(255,255,255,0.7);
  border-radius: 8px;
  margin: 0 5px;
  padding: 10px 20px;
  transition: all 0.2s ease;
  font-weight: 500;
}

.teacher-subnav .nav-pills .nav-link:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.teacher-subnav .nav-pills .nav-link.active {
  background: #2196f3;
  color: #fff;
  box-shadow: 0 4px 10px rgba(33, 150, 243, 0.3);
}
.teacher-subnav .nav-icon {
  margin-right: 8px;
}

/* ---- Extracted from: views/faq.view.php ---- */
.common-page-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 1.5rem;
  overflow: hidden;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.info-item {
  padding: 1rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.info-item:hover {
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.faq-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 2rem 0;
  position: relative;
  overflow: hidden;
}

.faq-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.01)"/><circle cx="80" cy="40" r="1" fill="rgba(255,255,255,0.01)"/><circle cx="40" cy="80" r="1.5" fill="rgba(255,255,255,0.01)"/><circle cx="90" cy="90" r="1" fill="rgba(255,255,255,0.01)"/><circle cx="10" cy="60" r="1" fill="rgba(255,255,255,0.01)"/></svg>');
  pointer-events: none;
  z-index: 0;
}

/* FAQ Header */
.faq-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 2;
}

.header-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff6b6b, #ffa500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: white;
  box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-1px); }
}

.header-text h1 {
  color: white;
  font-weight: 700;
  font-size: 2.5rem;
  margin: 0 0 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header-text .faq-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  margin: 0;
  font-weight: 400;
}

.header-decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  pointer-events: none;
}

.decoration-bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(255, 255, 255, 0.6);
  animation: bubbleFloat 4s ease-in-out infinite;
}

.bubble-1 {
  width: 40px;
  height: 40px;
  top: 20px;
  right: 30px;
  animation-delay: 0s;
}

.bubble-2 {
  width: 30px;
  height: 30px;
  top: 60px;
  right: 80px;
  animation-delay: 1s;
}

.bubble-3 {
  width: 35px;
  height: 35px;
  top: 90px;
  right: 20px;
  animation-delay: 2s;
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-10px) scale(1.1); }
}

/* FAQ Search */
.faq-search {
  margin-bottom: 2rem;
}

.search-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.search-icon {
  position: absolute;
  left: 2.5rem;
  top: 40%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  z-index: 2;
}

.search-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-input:focus {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.25);
  color: white;
  outline: none;
}

.search-hint {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  font-style: italic;
}

/* FAQ Categories */
.faq-categories {
  margin-bottom: 3rem;
  position: relative;
  z-index: 1;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.category-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
}

.category-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.account-category .category-icon { background: linear-gradient(135deg, #ffecd2, #fcb69f); color: #fd7e14; }
.support-category .category-icon { background: linear-gradient(135deg, #a8edea, #fed6e3); color: #20c997; }
.feedback-category .category-icon { background: linear-gradient(135deg, #d299c2, #fef9d7); color: #6f42c1; }
.legal-category .category-icon { background: linear-gradient(135deg, #c2e9fb, #a1c4fd); color: #0d6efd; }

.category-title {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
}

.category-description {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.4;
}

/* FAQ Sections */
.faq-section {
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border-left: 4px solid;
}

.account-section .section-header { border-left-color: #fd7e14; }
.support-section .section-header { border-left-color: #20c997; }
.feedback-section .section-header { border-left-color: #6f42c1; }
.legal-section .section-header { border-left-color: #0d6efd; }

.section-icon {
  font-size: 1.5rem;
  color: white;
}

.section-title {
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  margin: 0;
}

/* FAQ Items */
.faq-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.faq-question {
  background: none;
  border: none;
  width: 100%;
  padding: 1.5rem;
  text-align: left;
  color: white;
  transition: all 0.3s ease;
}

.faq-question:focus {
  outline: none;
  box-shadow: none;
}

.question-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.question-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
}

.question-text h6 {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
  margin: 0 0 0.25rem 0;
}

.question-preview {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  margin: 0;
}

.question-arrow {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1.2rem;
  margin-left: auto;
  transition: all 0.3s ease;
}

.faq-question:not(.collapsed) .question-arrow {
  transform: rotate(180deg);
  color: white;
}

.faq-answer {
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
}

.answer-content {
  max-width: none;
}

.answer-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.answer-steps {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.step {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.step:last-child {
  margin-bottom: 0;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  color: white;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
}

.answer-note {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 193, 7, 0.05));
  border: 1px solid rgba(255, 193, 7, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  color: rgba(255, 255, 255, 0.9);
}

.answer-tip {
  background: linear-gradient(135deg, rgba(25, 135, 84, 0.1), rgba(25, 135, 84, 0.05));
  border: 1px solid rgba(25, 135, 84, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.tip-icon {
  color: rgba(25, 135, 84, 0.8);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.tip-content strong {
  color: white;
  display: block;
  margin-bottom: 0.5rem;
}

.tip-content ul {
  margin: 0;
  padding-left: 1.2rem;
}

.tip-content li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.answer-quote {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
  position: relative;
}

.quote-icon {
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.quote-text {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
  font-size: 1rem;
  margin: 0;
  position: relative;
  z-index: 1;
}

.answer-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-icon {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.feature-item span {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
}

/* Action Buttons */
.answer-actions {
  margin-top: 2rem;
  text-align: center;
}

.action-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.primary-button {
  background: linear-gradient(135deg, #ff6b6b, #ffa500);
  color: white;
}

.primary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.secondary-button {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
}

.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.success-button {
  background: linear-gradient(135deg, #28a745, #20c997);
  color: white;
}

.success-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.info-button {
  background: linear-gradient(135deg, #17a2b8, #138496);
  color: white;
}

.info-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
}

/* Contact Section */
.faq-contact {
  margin-top: 3rem;
}

.contact-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  position: relative;
  z-index: 1;
}

.contact-icon {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: linear-gradient(135deg, #4ecdc4, #44a08d);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 8px 25px rgba(78, 205, 196, 0.3);
}

.contact-content {
  flex-grow: 1;
}

.contact-title {
  color: white;
  font-weight: 600;
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
}

.contact-text {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.contact-badges {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.contact-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Light theme overrides */







































































































/* Responsive Design */
@media (max-width: 768px) {
  .faq-container {
    padding: 1rem 0;
  }

  .faq-header {
    padding: 1.5rem;
  }

  .header-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .header-text h1 {
    font-size: 2rem;
  }

  .categories-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    padding: 0.75rem;
  }

  .faq-question {
    padding: 1rem;
  }

  .question-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .faq-answer {
    padding: 1.5rem;
  }

  .answer-steps {
    padding: 1rem;
  }

  .answer-features {
    grid-template-columns: 1fr;
  }

  .contact-card {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .contact-badges {
    justify-content: center;
  }
}

/* Animation classes */
.run-animation {
  animation: slideInUp 1.2s ease-out;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Search functionality */
.faq-item.hidden {
  display: none;
}

.category-card.inactive {
  opacity: 0.3;
  pointer-events: none;
}


/* ---- Extracted from: views/modules/contract.view.php ---- */
.contract-text-section {
  background-color: rgba(100, 200, 255, 0.05);
  border-radius: 8px;
}

.contract-content {
  line-height: 1.8;
  font-size: 0.95rem;
}

.section-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  border-bottom: 2px solid rgba(100, 200, 255, 0.2);
  padding-bottom: 0.5rem;
}

.info-item {
  padding: 1rem;
  border-radius: 8px;
  background-color: rgba(100, 200, 255, 0.03);
  transition: all 0.2s ease;
}

.info-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.info-value {
  font-size: 1rem;
  font-weight: 500;
  word-break: break-word;
}

.guardian-card {
  background-color: rgba(100, 200, 255, 0.03);
  border-color: rgba(100, 200, 255, 0.1) !important;
  transition: all 0.2s ease;
}

.guardian-card:hover {
  background-color: rgba(100, 200, 255, 0.08);
  border-color: rgba(100, 200, 255, 0.2) !important;
}

.approval-section {
  border: 2px solid rgba(100, 200, 255, 0.2);
  border-radius: 12px;
}

/* Light theme overrides */









































/* ---- Extracted from: views/modules/diary.view.php ---- */
.diary-overview {
  background: linear-gradient(135deg, rgba(19, 24, 39, 0.96), rgba(28, 35, 53, 0.9));
  border-radius: 18px;
  border: 1px solid rgba(167, 139, 250, 0.25);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.45);
}

.diary-entries-section,
.diary-add-section {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.82), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.15);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.28);
}

.section-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #f8fafc;
  border-bottom: 2px solid rgba(167, 139, 250, 0.4);
  padding-bottom: 0.7rem;
  margin-bottom: 1.5rem;
}

.info-item {
  padding: 1.1rem 1.2rem;
  border-radius: 14px;
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.15);
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.info-item:hover {
  background: rgba(167, 139, 250, 0.08);
  transform: translateY(-1px);
}

.info-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.72);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.55rem;
}

.info-value {
  font-size: 1.08rem;
  font-weight: 600;
  color: #f8fafc;
  margin: 0;
}

.diary-grid {
  display: flex;
  flex-wrap: wrap;
}

.diary-entry-card {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.95), rgba(22, 33, 54, 0.92));
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 16px;
  padding: 1.4rem 1.4rem 1rem;
  transition: all 0.25s ease;
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.2);
  display: flex;
  flex-direction: column;
}

.diary-entry-card:hover {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.98), rgba(24, 35, 58, 0.98));
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(2, 6, 23, 0.28);
}

.diary-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.entry-date {
  display: flex;
  align-items: center;
  font-size: 1.08rem;
  font-weight: 600;
  color: rgba(248, 250, 252, 0.92);
}

.date-text {
  color: #e9d5ff;
}

.entry-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.delete-entry-btn,
.toggle-entry-btn {
  background: rgba(148, 163, 184, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.12);
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(226, 232, 240, 0.75);
}

.delete-entry-btn:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.toggle-entry-btn:hover {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.22);
  color: #ddd6fe;
}

.diary-entry-content {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(148, 163, 184, 0.18);
  display: none;
  flex-direction: column;
  flex: 1;
  overflow: visible !important;
  height: auto !important;
  max-height: none !important;
  transition: none !important;
}

.diary-entry-content.is-open {
  display: flex;
}

.entry-image-container {
  text-align: center;
  margin-bottom: 1rem;
}

.entry-image {
  max-width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: cover;
  border: 2px solid rgba(167, 139, 250, 0.3);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.entry-image:hover {
  border-color: rgba(196, 181, 253, 0.7);
  transform: scale(1.01);
}

.entry-description {
  margin: 1rem 0;
}

.description-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(248, 250, 252, 0.9);
  margin: 0;
}

.entry-comment,
.diary-edit-form,
.diary-comment-form {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(30, 41, 59, 0.9));
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.entry-comment {
  padding: 1rem 1rem 0.75rem;
}

.entry-comment strong {
  color: #e9d5ff;
}

.entry-comment p {
  color: rgba(226, 232, 240, 0.88);
  line-height: 1.6;
  margin-bottom: 0;
}

.diary-edit-form,
.diary-comment-form {
  padding: 1rem;
  margin-top: 1rem;
}

.entry-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
}

.entry-footer small {
  color: rgba(148, 163, 184, 0.9) !important;
}

.no-entries-message {
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 16px;
  border: 2px dashed rgba(148, 163, 184, 0.24);
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.9);
  margin-bottom: 0.5rem;
}

.diary-input,
.diary-textarea {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 10px;
  background: rgba(15, 23, 42, 0.85);
  color: rgba(248, 250, 252, 0.95);
  box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.45);
}

.diary-input:focus,
.diary-textarea:focus {
  border-color: rgba(196, 181, 253, 0.7);
  box-shadow: 0 0 0 0.2rem rgba(167, 139, 250, 0.2);
  background: rgba(17, 24, 39, 0.98);
  color: white;
}

.diary-textarea {
  min-height: 120px;
}

.input-group-text {
  background: rgba(148, 163, 184, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.22);
  color: #c4b5fd;
}

.diary-comment-form textarea,
.diary-edit-form textarea {
  background: rgba(15, 23, 42, 0.9) !important;
  color: #f8fafc !important;
}

.diary-comment-form .btn,
.diary-edit-form .btn,
.diary-add-section .btn {
  border-radius: 10px;
}

.diary-add-section .card-button {
  border: 0;
  background: linear-gradient(135deg, #8b5cf6, #ec4899);
  color: white;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.25);
}

.class-summary-panel {
  padding: 0.75rem 0 1rem;
}

.class-summary-table-wrapper {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.96), rgba(17, 24, 39, 0.92));
  box-shadow: 0 12px 30px rgba(2, 6, 23, 0.3);
}

.summary-chart-card .card-body {
  height: 320px;
  min-height: 320px;
  max-height: 320px;
  overflow: hidden;
}

.summary-chart-canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 300px !important;
}

.class-summary-table {
  min-width: 1200px;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
}

.class-summary-table thead th {
  background: rgba(30, 41, 59, 0.98);
  color: #e2e8f0;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.9rem 0.8rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  position: sticky;
  top: 0;
  z-index: 1;
}

.class-summary-table tbody td {
  padding: 0.85rem 0.8rem;
  color: rgba(248, 250, 252, 0.88);
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  vertical-align: middle;
}

.class-summary-table tbody tr:hover {
  background: rgba(167, 139, 250, 0.06);
}

.class-summary-table .btn-outline-light {
  border-color: rgba(148, 163, 184, 0.25);
  color: #f8fafc;
}

.class-summary-table .btn-outline-light:hover {
  border-color: rgba(196, 181, 253, 0.7);
  background: rgba(167, 139, 250, 0.12);
}

.class-summary-table .text-success {
  color: #86efac !important;
}

.class-summary-table .text-muted {
  color: rgba(148, 163, 184, 0.9) !important;
}

@media (max-width: 768px) {
  .class-summary-panel {
    padding: 0.5rem 0;
  }
}

/* Light theme overrides */





















































































































/* ---- Extracted from: views/modules/document.view.php ---- */
.documents-overview {
  background: linear-gradient(135deg, rgba(173, 216, 230, 0.1), rgba(240, 248, 255, 0.05));
  border-radius: 12px;
  border-left: 4px solid rgba(173, 216, 230, 0.6) !important;
}

.documents-display-section {
  background-color: rgba(173, 216, 230, 0.03);
  padding: 2rem;
  border-radius: 12px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  border-bottom: 2px solid rgba(173, 216, 230, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.info-item {
  padding: 1rem;
  border-radius: 8px;
  background-color: rgba(173, 216, 230, 0.05);
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.info-item:hover {
  background-color: rgba(173, 216, 230, 0.08);
  transform: translateY(-1px);
}

.info-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.info-value {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

/* .document-card {
  background-color: rgba(173, 216, 230, 0.05);
  border: 1px solid rgba(173, 216, 230, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.document-card:hover {
  background-color: rgba(173, 216, 230, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(173, 216, 230, 0.15);
} */

.document-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.document-icon {
  flex-shrink: 0;
}

.document-meta {
  text-align: right;
}

.document-type {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.document-date {
  display: block;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.document-body {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.document-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.document-description {
  font-size: 0.9rem;
  margin: 0;
}

.document-footer {
  margin-top: auto;
}

.document-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, rgba(173, 216, 230, 0.8), rgba(135, 206, 235, 0.6));
  color: rgba(0, 0, 0, 0.8);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(173, 216, 230, 0.3);
}

.document-download-btn:hover {
  background: linear-gradient(135deg, rgba(135, 206, 235, 0.9), rgba(173, 216, 230, 0.7));
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(173, 216, 230, 0.3);
  color: rgba(0, 0, 0, 0.9);
  text-decoration: none;
}

.no-documents-message {
  text-align: center;
  padding: 3rem 2rem;
  background-color: rgba(173, 216, 230, 0.02);
  border-radius: 12px;
  border: 2px dashed rgba(173, 216, 230, 0.2);
}

/* Light theme overrides */
















































































/* ---- Extracted from: views/modules/grade.view.php ---- */
.grades-overview {
  background: linear-gradient(135deg, rgba(144, 238, 144, 0.1), rgba(152, 251, 152, 0.05));
  border-radius: 12px;
  border-left: 4px solid rgba(144, 238, 144, 0.6) !important;
}

.grades-display-section,
.grades-edit-section {
  background-color: rgba(144, 238, 144, 0.03);
  padding: 2rem;
  border-radius: 12px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  border-bottom: 2px solid rgba(144, 238, 144, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.info-item {
  padding: 1rem;
  border-radius: 8px;
  background-color: rgba(144, 238, 144, 0.05);
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.info-item:hover {
  background-color: rgba(144, 238, 144, 0.08);
  transform: translateY(-1px);
}

.info-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.info-value {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}
 /*
.grade-card,
.grade-edit-card {
  background-color: rgba(144, 238, 144, 0.05);
  border: 1px solid rgba(144, 238, 144, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
}

.grade-card:hover,
.grade-edit-card:hover {
  background-color: rgba(144, 238, 144, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(144, 238, 144, 0.1);
}

.grade-card-empty {
  opacity: 0.7;
} */

.grade-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.grade-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.grade-score {
  font-size: 1.2rem;
  font-weight: 700;
}

.grade-progress {
  height: 8px;
  border-radius: 4px;
  background-color: rgba(144, 238, 144, 0.1);
  margin-bottom: 0.5rem;
}

.grade-footer {
  text-align: center;
  margin-top: 0.5rem;
}

.grade-edit-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

.grade-slider-container {
  position: relative;
}

.grade-slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(144, 238, 144, 0.2);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.grade-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(144, 238, 144, 0.8);
  cursor: pointer;
  border: 2px solid rgba(144, 238, 144, 1);
}

.grade-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(144, 238, 144, 0.8);
  cursor: pointer;
  border: 2px solid rgba(144, 238, 144, 1);
}

.slider-value {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.current-value {
  font-size: 1.2rem;
  color: rgba(144, 238, 144, 1);
}

/* Light theme overrides */



























































































/* ---- Extracted from: views/modules/kriterier.view.php ---- */
.kriterier-overview {
  background: linear-gradient(135deg, rgba(255, 218, 185, 0.1), rgba(255, 239, 213, 0.05));
  border-radius: 12px;
  border-left: 4px solid rgba(255, 218, 185, 0.6) !important;
}

.kriterier-display-section,
.kriterier-edit-section {
  background-color: rgba(255, 218, 185, 0.03);
  padding: 2rem;
  border-radius: 12px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  border-bottom: 2px solid rgba(255, 218, 185, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.info-item {
  padding: 1rem;
  border-radius: 8px;
  background-color: rgba(255, 218, 185, 0.05);
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.info-item:hover {
  background-color: rgba(255, 218, 185, 0.08);
  transform: translateY(-1px);
}

.info-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.info-value {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.kriterie-card,
.kriterie-edit-card {
  background-color: rgba(255, 218, 185, 0.05);
  border: 1px solid rgba(255, 218, 185, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.kriterie-card:hover,
.kriterie-edit-card:hover {
  background-color: rgba(255, 218, 185, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 218, 185, 0.1);
}

.kriterie-card.approved {
  border-color: rgba(40, 167, 69, 0.3);
  background-color: rgba(40, 167, 69, 0.05);
}

.kriterie-card.pending {
  border-color: rgba(255, 193, 7, 0.3);
  background-color: rgba(255, 193, 7, 0.05);
}

.kriterie-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.kriterie-status {
  font-size: 1.5rem;
}

.kriterie-number {
  font-size: 0.8rem;
}

.kriterie-body {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.kriterie-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.kriterie-description {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.kriterie-footer {
  margin-top: auto;
}

.kriterie-checkbox-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.kriterie-checkbox {
  width: 18px;
  height: 18px;
  accent-color: rgba(255, 218, 185, 0.8);
}

.kriterie-checkbox-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.progress-summary {
  background-color: rgba(255, 218, 185, 0.05);
  border-color: rgba(255, 218, 185, 0.2) !important;
}

.progress-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.kriterier-progress {
  height: 10px;
  border-radius: 5px;
  background-color: rgba(255, 218, 185, 0.1);
}

.completion-stats {
  padding: 1rem;
  background-color: rgba(255, 218, 185, 0.1);
  border-radius: 8px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 218, 185, 1);
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 0.25rem;
}

.no-kriterier-message {
  text-align: center;
  padding: 3rem 2rem;
  background-color: rgba(255, 218, 185, 0.02);
  border-radius: 12px;
  border: 2px dashed rgba(255, 218, 185, 0.2);
}

.kriterie-edit-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.kriterie-edit-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.kriterie-edit-number {
  font-size: 0.8rem;
}

.kriterie-edit-body {
  flex-grow: 1;
}

.kriterie-form-check {
  margin-bottom: 0;
}

.kriterie-edit-checkbox {
  width: 20px;
  height: 20px;
  accent-color: rgba(255, 218, 185, 0.8);
  border-color: rgba(255, 218, 185, 0.4);
}

.kriterie-edit-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-left: 0.5rem;
  cursor: pointer;
}

.checkbox-text {
  flex-grow: 1;
}

.checkbox-status {
  margin-left: 0.5rem;
}

/* Light theme overrides */























































































































/* ---- Extracted from: views/modules/profile.view.php ---- */
.profile-overview {
  background: linear-gradient(135deg, rgba(147, 112, 219, 0.1), rgba(186, 85, 211, 0.05));
  border-radius: 12px;
  border-left: 4px solid rgba(147, 112, 219, 0.6) !important;
}

.profile-edit-section {
  background-color: rgba(147, 112, 219, 0.03);
  padding: 2rem;
  border-radius: 12px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  border-bottom: 2px solid rgba(147, 112, 219, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.subsection-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(147, 112, 219, 0.2);
}

.info-item {
  padding: 1rem;
  border-radius: 8px;
  background-color: rgba(147, 112, 219, 0.05);
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.info-item:hover {
  background-color: rgba(147, 112, 219, 0.08);
  transform: translateY(-1px);
}

.info-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.info-value {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.profile-section {
  background-color: rgba(147, 112, 219, 0.02);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid rgba(147, 112, 219, 0.1);
}

.form-label {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

/* Light theme overrides */

















































/* Custom checkbox styling for profile flags */
.profile-section .form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.35rem;
  transition: all 0.2s ease;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  cursor: pointer;
  margin-right: 0.5rem;
}

.profile-section .form-check-input:checked {
  background: linear-gradient(135deg, #8f6bff, #5e2dd8);
  border-color: #8f6bff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}

.profile-section .form-check-input:focus {
  outline: none;
  box-shadow: 0 0 0 0.25rem rgba(147, 112, 219, 0.35);
}

.profile-section .form-check-input:not(:checked) {
  background: rgba(255, 255, 255, 0.1);
}


/* ---- Extracted from: views/modules/timestamp.view.php ---- */
/* Sick Toggle Checkbox - Large and Clickable */
  .sick-checkbox {
    display: none;
  }

  .sick-toggle-card {
    position: relative;
    border: 2px solid rgba(220, 53, 69, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(220, 53, 69, 0.02);
  }

  .sick-toggle-card:hover {
    background: rgba(220, 53, 69, 0.05);
    border-color: rgba(220, 53, 69, 0.5);
  }

  .sick-toggle-label {
    cursor: pointer;
    margin: 0;
    width: 100%;
  }

  /* Custom Toggle Switch */
  .toggle-switch {
    position: relative;
    width: 70px;
    height: 40px;
    background: rgba(220, 53, 69, 0.2);
    border-radius: 20px;
    transition: background 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
  }

  .toggle-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 34px;
    height: 34px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .sick-checkbox:checked + .sick-toggle-label .toggle-switch {
    background: #28a745;
  }

  .sick-checkbox:checked + .sick-toggle-label .toggle-slider {
    left: 33px;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.4);
  }

  /* Time Section Animation */
  #timeSection {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: top;
    overflow: hidden;
  }

  /* Timestamp card header layout */
  .timestamp-card .card-header {
    justify-content: space-between;
    align-items: center;
  }

  .timestamp-card .remove-button-time .btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    color: #fff;
  }

  .timestamp-card .remove-button-time .btn-danger:hover {
    background-color: #c82333;
    border-color: #bd2130;
    color: #fff;
  }

/* ---- Extracted from: views/modules/visit.view.php ---- */
.visit-overview {
  background: linear-gradient(135deg, rgba(175, 238, 238, 0.1), rgba(224, 255, 255, 0.05));
  border-radius: 12px;
  border-left: 4px solid rgba(175, 238, 238, 0.6) !important;
}

.visit-entries-section,
.visit-add-section {
  background-color: rgba(175, 238, 238, 0.03);
  padding: 2rem;
  border-radius: 12px;
}

.section-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: white;
  border-bottom: 2px solid rgba(175, 238, 238, 0.3);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

.info-item {
  padding: 1rem;
  border-radius: 8px;
  background-color: rgba(175, 238, 238, 0.05);
  transition: all 0.2s ease;
  margin-bottom: 0.5rem;
}

.info-item:hover {
  background-color: rgba(175, 238, 238, 0.08);
  transform: translateY(-1px);
}

.info-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

.info-value {
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
}

.visit-entry-card {
  background-color: rgba(175, 238, 238, 0.05);
  border: 1px solid rgba(175, 238, 238, 0.2);
  border-radius: 12px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.visit-entry-card:hover {
  background-color: rgba(175, 238, 238, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(175, 238, 238, 0.1);
}

.visit-entry-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.visit-date {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.date-text {
  color: rgba(175, 238, 238, 1);
}

.visit-actions {
  display: flex;
  gap: 0.5rem;
}

.delete-visit-btn,
.toggle-visit-btn {
  background: none;
  border: none;
  padding: 0.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: rgba(255, 255, 255, 0.6);
}

.delete-visit-btn:hover {
  background-color: rgba(220, 53, 69, 0.1);
  color: rgba(220, 53, 69, 0.8);
}

.toggle-visit-btn:hover {
  background-color: rgba(175, 238, 238, 0.1);
  color: rgba(175, 238, 238, 0.8);
}

.visit-entry-content {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(175, 238, 238, 0.2);
}

.visit-comment {
  margin-bottom: 1rem;
}

.comment-header {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
}

.comment-label {
  color: rgba(175, 238, 238, 0.8);
}

.comment-text {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.5rem 0 0 0;
  padding: 1rem;
  background-color: rgba(175, 238, 238, 0.05);
  border-radius: 8px;
  border-left: 3px solid rgba(175, 238, 238, 0.4);
}

.visit-footer {
  margin-top: 1rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(175, 238, 238, 0.1);
}

.no-visits-message {
  text-align: center;
  padding: 3rem 2rem;
  background-color: rgba(175, 238, 238, 0.02);
  border-radius: 12px;
  border: 2px dashed rgba(175, 238, 238, 0.2);
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.visit-input,
.visit-textarea {
  border: 1px solid rgba(175, 238, 238, 0.3);
  border-radius: 6px;
  background-color: rgba(175, 238, 238, 0.05);
  color: rgba(255, 255, 255, 0.9);
}

.visit-input:focus,
.visit-textarea:focus {
  border-color: rgba(175, 238, 238, 0.6);
  box-shadow: 0 0 0 0.2rem rgba(175, 238, 238, 0.25);
  background-color: rgba(175, 238, 238, 0.08);
}

.input-group-text {
  background-color: rgba(175, 238, 238, 0.1);
  border: 1px solid rgba(175, 238, 238, 0.3);
  color: rgba(175, 238, 238, 0.8);
}

/* The Track */
.toggle-switch-container {
    background-color: rgba(40, 48, 56, 0.5); /* Deepened version of your BG */
    border-radius: 12px; /* Slightly more modern than full round */
    padding: 5px;
    display: inline-flex;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* The Buttons */
.tab-link-button {
    border-radius: 8px !important;
    padding: 10px 20px !important;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6) !important; /* Muted white for inactive */
    transition: all 0.2s ease-in-out;
    border: none !important;
}

/* The Active Toggle State */
.tab-link-button.active {
    background-color: rgb(58, 68, 77) !important; /* Matching your card bg */
    color: #ffffff !important; /* Pure white for active */
    /* Light border/glow to make it pop */
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.4), 
        inset 0 1px 1px rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px);
}

/* Hover state for the "unselected" side */
.tab-link-button:not(.active):hover {
    color: #ffffff !important;
    background-color: rgba(255, 255, 255, 0.05);
}

/* Base state - smooth transition */
.card-list-hover {
    transition: all 0.3s ease-in-out;
    border: 0px solid transparent !important; /* Prevents jumping when border appears */
    cursor: pointer;
}

/* Hover state */
.card-list-hover:hover {
    /* 1. Lighten the border slightly */
    border-color: rgba(13, 110, 253, 0.5) !important; /* Bootstrap Primary Blue at 50% opacity */
    
    /* 2. Create the glow effect */
    /* format: x-offset y-offset blur spread color */
    box-shadow: 0 0 15px rgba(13, 110, 253, 0.25) !important;
    
    /* 3. Optional: Subtle lift to enhance the "highlight" feel */
    transform: translateY(-4px);
    
    /* 4. Keep background slightly lighter on hover */
    background-color: rgba(255, 255, 255, 0.03) !important;
}
