/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #000;
  background: #fff;
  width: 100%;
  overflow-x: hidden;
}

/* Dark mode styles */
body.dark-mode {
  background: #222;
  color: #fff;
}

body.dark-mode .site-header {
  background: #333;
  border-bottom: 1px solid #555;
}

body.dark-mode .header-top-bar {
  background: #2a2a2a;
}

body.dark-mode .social-links a,
body.dark-mode .help-button,
body.dark-mode .dark-mode-toggle {
  color: #fff;
}

body.dark-mode .social-links a:hover,
body.dark-mode .help-button:hover,
body.dark-mode .dark-mode-toggle:hover {
  color: #ff5c5c;
}

body.dark-mode .dropdown-content {
  background: #333;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

body.dark-mode .dropdown-content a {
  color: #fff;
}

body.dark-mode .dropdown-content a:hover {
  background: #444;
}

body.dark-mode .header-links a {
  color: #fff;
}

body.dark-mode .header-links a:hover {
  color: #ff5c5c;
}

body.dark-mode .header-links a::after {
  background-color: #ff5c5c;
}

body.dark-mode .main-menu-overlay {
  background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
}

body.dark-mode .overlay-menu a {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .overlay-menu a:hover {
  color: #ff5c5c;
}

body.dark-mode .menu-header h2,
body.dark-mode .menu-newsletter h3 {
  color: #ff5c5c;
}

body.dark-mode .menu-header p,
body.dark-mode .menu-newsletter p {
  color: #ccc;
}

body.dark-mode .menu-quick-links a {
  color: #ccc;
}

body.dark-mode .menu-quick-links a:hover {
  color: #ff5c5c;
}

body.dark-mode .newsletter-form input {
  background: #444;
  border-color: #555;
  color: #fff;
}

body.dark-mode .search-overlay {
  background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
}

body.dark-mode .search-form input {
  background: #444;
  color: #fff;
}

body.dark-mode .menu-toggle {
  color: #fff;
}

body.dark-mode .menu-toggle:hover {
  color: #ff5c5c;
}

/* Site Header */
.site-header {
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  position: relative;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
  width: 100%;
}

.site-header.scrolled {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Top bar */
.header-top-bar {
  background: #f8f8f8;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #e0e0e0;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.language-toggle select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    cursor: pointer;
}

.language-toggle select:focus {
    outline: none;
    border-color: #007bff;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.8rem;
}

.social-links a {
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
  color: #b10036;
  transform: translateY(-2px);
}

/* Help Dropdown */
.help-dropdown {
  position: relative;
}

.help-button {
  background: none;
  border: none;
  color: #000;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.help-button:hover {
  color: #b10036;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #fff;
  min-width: 120px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 1001;
}

.help-dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content a {
  display: block;
  padding: 0.75rem 1rem;
  color: #000;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.3s ease;
}

.dropdown-content a:hover {
  background: #f0f0f0;
}

/* Dark Mode Toggle */
.dark-mode-toggle {
  background: none;
  border: none;
  color: #000;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease, transform 0.2s ease;
}

.dark-mode-toggle:hover {
  color: #b10036;
  transform: scale(1.1);
}

/* Main header with grid */
.header-main {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0.5rem 1rem;
  max-width: 100%;
}

/* Left section: Menu button */
.header-left {
  display: flex;
  align-items: center;
  justify-self: start;
}

/* Menu button */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  position: relative;
  z-index: 2100;
  font-size: 0.9rem;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle:hover {
  color: #b10036;
  transform: scale(1.05);
}

.menu-toggle[aria-expanded="true"] {
  color: #b10036;
  opacity: 0;
  pointer-events: none; /* Prevents interaction while invisible */
}

/* Center logo */
.header-center {
  justify-self: center;
}

.site-logo {
  font-family: 'Cutive', Georgia, serif;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

.site-logo .logo-text {
  font-size: 1.5rem;
  text-transform: lowercase;
  color: #b10036;
  font-weight: bold;
  letter-spacing: -0.5px;
}

/* Right section: Navigation */
.header-right {
  display: flex;
  align-items: center;
  justify-self: end;
}

.header-links ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.header-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  font-size: 0.85rem;
}

.header-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #b10036;
  transition: width 0.3s ease;
}

.header-links a:hover {
  color: #b10036;
}

.header-links a:hover::after {
  width: 100%;
}

.search-button {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.2s ease;
  padding: 5px;
}

body.dark-mode .search-button {
  color: #fff;
}

.search-button:hover {
  color: #b10036;
  transform: scale(1.1);
}

/* Fullscreen menu overlay */
.main-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fff 0%, #f7f7f7 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  overflow-y: auto;
  padding: 1.5rem;
  z-index: 2000;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05);
}

.main-menu-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.menu-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  position: fixed;
  right: 15px;
  top: 15px;
  z-index: 2100;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

body.dark-mode .menu-close {
  color: #fff;
}

.menu-close:hover {
  color: #b10036;
  transform: rotate(90deg);
}

/* Menu header section */
.menu-header {
  padding: 15px 0;
  margin-bottom: 30px;
  text-align: center;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  margin-top: 20px;
}

.menu-header h2 {
  font-size: 1.8rem;
  color: #b10036;
  margin-bottom: 8px;
  font-weight: 300;
}

.menu-header p {
  font-size: 0.95rem;
  color: #555;
  max-width: 600px;
  margin: 0 auto;
  padding: 0 10px;
}

/* Overlay navigation */
.overlay-menu {
  max-width: 100%;
  margin: 2rem auto;
}

.overlay-menu ul {
  list-style: none;
  margin: 1.5rem 0;
  padding: 0;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.overlay-menu li {
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
  perspective: 1000px;
}

.overlay-menu li:hover {
  transform: translateY(-3px);
}

.overlay-menu a {
  color: #222;
  font-size: 1.2rem;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease, transform 0.3s ease;
  display: block;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.overlay-menu a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #b10036;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}

.overlay-menu a:hover {
  color: #b10036;
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.overlay-menu a:hover::before {
  transform: scaleY(1);
}

/* Menu category icons */
.overlay-menu a i {
  margin-right: 10px;
  font-size: 1rem;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(177, 0, 54, 0.1);
  border-radius: 50%;
  color: #b10036;
  transition: background 0.3s ease, transform 0.3s ease;
}

.overlay-menu a:hover i {
  background: rgba(177, 0, 54, 0.2);
  transform: rotate(15deg);
}

/* Menu bottom section */
.menu-footer {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
}

.menu-quick-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 25px;
  padding: 0 10px;
}

.menu-quick-links a {
  color: #555;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.menu-quick-links a:hover {
  color: #b10036;
}

.menu-newsletter {
  max-width: 90%;
  margin: 0 auto;
  padding: 15px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

body.dark-mode .menu-newsletter {
  background: rgba(255, 255, 255, 0.1);
}

.menu-newsletter h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: #222;
}

.menu-newsletter p {
  font-size: 0.85rem;
  color: #555;
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-form input {
  width: 100%;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
}

.newsletter-form button {
  background: #b10036;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}

.newsletter-form button:hover {
  background: #900029;
  transform: translateY(-2px);
}

/* Search overlay */
.search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.05);
}

.search-overlay[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.search-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease, transform 0.3s ease;
  z-index: 2100;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

body.dark-mode .search-close {
  color: #fff;
}

.search-close:hover {
  color: #b10036;
  transform: rotate(90deg);
}

.search-form-container {
  width: 90%;
  max-width: 600px;
}

.search-form {
  display: flex;
  position: relative;
}

.search-form input[type="text"] {
  width: 100%;
  padding: 12px 15px;
  font-size: 1.1rem;
  border: none;
  border-radius: 50px;
  background: white;
  outline: none;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s ease;
}

.search-form input[type="text"]:focus {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.search-form button {
  position: absolute;
  right: 5px;
  top: 5px;
  height: calc(100% - 10px);
  background: #b10036;
  border: none;
  font-size: 1.1rem;
  padding: 0 20px;
  cursor: pointer;
  transition: background 0.3s ease;
  border-radius: 50px;
  color: white;
}

.search-form button:hover {
  background: #900029;
}

/* Initiatives section */
.initiatives-section {
  text-align: center;
  margin: 40px 0;
}

.initiatives-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

body.dark-mode .initiatives-title {
  color: #fff;
}

.box-container {
  display: flex;
  justify-content: space-around;
  max-width: 800px;
  margin: 20px auto;
}

.box {
  width: 150px;
  height: 150px;
  background-color: #f0f0f0;
  border: 2px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s;
  text-decoration: none;
}

body.dark-mode .box {
  background-color: #444;
  border-color: #555;
}

.box:hover {
  transform: scale(1.05);
  border-color: #666;
}

.box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Responsive adjustments */
@media screen and (max-width: 480px) {
  .header-main {
    padding: 0.4rem;
  }
  
  .social-links a:nth-child(3),
  .social-links a:nth-child(4) {
    display: none;
  }
  
  .header-links ul li:not(:nth-child(1)):not(:last-child) {
    display: none;
  }
  
  .site-logo .logo-text {
    font-size: 1.3rem;
  }
}

@media screen and (min-width: 481px) and (max-width: 667px) {
  .header-links ul li:nth-child(2),
  .header-links ul li:nth-child(3) {
    display: none;
  }
  
  .site-logo .logo-text {
    font-size: 1.4rem;
  }
}

@media screen and (min-width: 668px) and (max-width: 768px) {
  .header-links ul li:nth-child(2) {
    display: none;
  }
  
  .site-logo .logo-text {
    font-size: 1.5rem;
  }
  
  .overlay-menu ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .header-main {
    padding: 0.75rem;
  }
  
  .overlay-menu ul {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .site-logo .logo-text {
    font-size: 1.8rem;
  }
  
  .newsletter-form {
    flex-direction: row;
  }
}

@media screen and (min-width: 1025px) {
  .header-main {
    padding: 1rem 2rem;
  }
  
  .overlay-menu ul {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .site-logo .logo-text {
    font-size: 2rem;
  }
  
  .social-links {
    gap: 1rem;
  }
  
  .header-links ul {
    gap: 1rem;
  }
  
  .header-links a {
    font-size: 0.95rem;
  }
  
  .newsletter-form {
    flex-direction: row;
  }
}

/* Animation classes */
.fade-in {
  animation: fadeIn 0.5s ease forwards;
}

.slide-in {
  animation: slideIn 0.5s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

/* Footer */
.site-footer {
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
  position: relative;
  z-index: 1000;
  width: 100%;
  padding: 0.5rem 1rem;
}

body.dark-mode .site-footer {
  background: #333;
  border-top: 1px solid #555;
}

/* Desktop Footer */
.desktop-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  max-width: 100%;
}

/* Left section: Copyright */
.footer-left {
  display: flex;
  align-items: center;
  justify-self: start;
}

.footer-left p {
  font-size: 0.85rem;
  color: #555;
  margin: 0;
}

body.dark-mode .footer-left p {
  color: #ccc;
}

/* Center section: Logo */
.footer-center {
  justify-self: center;
}

.site-logo {
  font-family: 'Cutive', Georgia, serif;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease;
}

.site-logo:hover {
  transform: scale(1.05);
}

.site-logo .logo-text {
  font-size: 1.5rem;
  text-transform: lowercase;
  color: #b10036;
  font-weight: bold;
  letter-spacing: -0.5px;
}

/* Right section: Navigation */
.footer-right {
  display: flex;
  align-items: center;
  justify-self: end;
}

.footer-links ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  transition: color 0.3s ease, transform 0.2s ease;
  position: relative;
  font-size: 0.85rem;
}

body.dark-mode .footer-links a {
  color: #fff;
}

.footer-links a:hover {
  color: #b10036;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #b10036;
  transition: width 0.3s ease;
}

.footer-links a:hover::after {
  width: 100%;
}

/* Mobile Footer */
.mobile-footer {
  display: none;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #fff;
  border-top: 1px solid #e0e0e0;
  z-index: 1000;
  padding: 0.5rem 0;
}

body.dark-mode .mobile-footer {
  background: #333;
  border-top: 1px solid #555;
}

.mobile-footer-nav {
  display: flex;
  justify-content: space-around;
}

.footer-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #007bff;
  text-decoration: none;
  font-size: 0.75rem;
}

.footer-icon i {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

body.dark-mode .footer-icon {
  color: #fff;
}

.footer-icon:hover {
  color: #b10036;
}

/* Off-Screen Menu */
.off-screen-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background-color: #fff;
  box-shadow: -2px 0 5px rgba(0,0,0,0.5);
  transition: right 0.3s ease;
  z-index: 2000;
}

body.dark-mode .off-screen-menu {
  background-color: #333;
}

.off-screen-menu.active {
  right: 0;
}

.off-screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background-color: #007bff;
  color: #fff;
}

.close-btn {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.off-screen-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.off-screen-nav li {
  padding: 1rem;
  border-bottom: 1px solid #e0e0e0;
}

body.dark-mode .off-screen-nav li {
  border-bottom: 1px solid #555;
}

.off-screen-nav a {
  text-decoration: none;
  color: #333;
  font-size: 1rem;
}

body.dark-mode .off-screen-nav a {
  color: #fff;
}

.off-screen-nav a:hover {
  color: #b10036;
}

/* Media Queries */
@media (max-width: 768px) {
  .desktop-footer {
    display: none;
  }
  .mobile-footer {
    display: block;
  }
}

@media (min-width: 769px) {
  .mobile-footer {
    display: none;
  }
  .desktop-footer {
    display: grid;
  }
}

@media screen and (max-width: 480px) {
  .footer-icon {
    font-size: 0.65rem;
  }
  .footer-icon i {
    font-size: 1rem;
  }
}

@media screen and (min-width: 481px) and (max-width: 768px) {
  .mobile-footer-nav {
    padding: 0.75rem 0;
  }
}

@media screen and (min-width: 769px) {
  .desktop-footer {
    padding: 1rem 2rem;
  }
  .footer-links ul {
    gap: 1rem;
  }
  .footer-links a {
    font-size: 0.95rem;
  }
}

/* Main Content */
.main-content {
    padding: 2rem 1rem;
    min-height: calc(100vh - 200px); /* Adjust based on header/footer height */
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: linear-gradient(135deg, #fff 0%, #f7f7f7 100%);
}

body.dark-mode .main-content {
    background: linear-gradient(135deg, #333 0%, #2a2a2a 100%);
}

/* Login Container */
.login-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    width: 100%;
    max-width: 450px;
    animation: fadeIn 0.5s ease;
    margin-bottom: 2rem;
}

body.dark-mode .login-container {
    background: #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Page Title */
.page-title {
    color: #b10036;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 700;
}

body.dark-mode .page-title {
    color: #ff5c5c;
}

/* Messages */
.error-message {
    background: #ffebee;
    color: #c62828;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-align: center;
}

body.dark-mode .error-message {
    background: #c62828;
    color: #fff;
}

.success-message {
    background: #e8f5e9;
    color: #b10036;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    text-align: center;
}

body.dark-mode .success-message {
    background: #2a2a2a;
    color: #ff5c5c;
}

/* Form Group */
.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    color: #000;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

body.dark-mode .form-group label {
    color: #fff;
}

.form-group label i {
    margin-right: 0.5rem;
    color: #b10036;
}

body.dark-mode .form-group label i {
    color: #ff5c5c;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    background: #fff;
    color: #000;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body.dark-mode .form-group input {
    background: #555;
    border-color: #666;
    color: #fff;
}

.form-group input:focus {
    border-color: #b10036;
    outline: none;
    box-shadow: 0 0 5px rgba(177, 0, 54, 0.2);
}

body.dark-mode .form-group input:focus {
    border-color: #ff5c5c;
    box-shadow: 0 0 5px rgba(255, 92, 92, 0.3);
}

.form-group .is-invalid {
    border-color: #c62828;
}

.form-group .error {
    color: #c62828;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

body.dark-mode .form-group .error {
    color: #ff9999;
}

/* Buttons */
.btn {
    background: #b10036;
    color: #fff;
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    text-align: center;
    text-decoration: none;
    display: block;
    transition: background 0.3s ease, transform 0.3s ease;
}

.btn:hover {
    background: #900029;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #555;
    color: #fff;
}

.btn-secondary:hover {
    background: #777;
    transform: translateY(-2px);
}

body.dark-mode .btn-secondary {
    background: #777;
}

body.dark-mode .btn-secondary:hover {
    background: #999;
}

/* Links */
.links {
    text-align: center;
    margin-top: 1.5rem;
}

.links p {
    margin: 0.5rem 0;
    color: #555;
}

body.dark-mode .links p {
    color: #ccc;
}

.links a {
    color: #b10036;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

body.dark-mode .links a {
    color: #ff5c5c;
}

.links a:hover {
    color: #900029;
    text-decoration: underline;
}

body.dark-mode .links a:hover {
    color: #ff9999;
}

/* Responsive adjustments for login */
@media (max-width: 768px) {
    .login-container {
        padding: 2rem;
    }
    .page-title {
        font-size: 2rem;
    }
    .main-content {
        padding: 1rem;
    }
}
/* Dashboard Container */
.dashboard-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    width: 100%;
    max-width: 800px; /* Wider than login for more content */
    animation: fadeIn 0.5s ease;
    margin-bottom: 2rem;
}

body.dark-mode .dashboard-container {
    background: #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Dashboard Welcome */
.dashboard-welcome {
    text-align: center;
    margin-bottom: 2rem;
}

.dashboard-welcome p {
    color: #555;
    font-size: 1.1rem;
}

body.dark-mode .dashboard-welcome p {
    color: #ccc;
}

/* Section Title */
.section-title {
    color: #b10036;
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

body.dark-mode .section-title {
    color: #ff5c5c;
}

/* Dashboard Actions */
.dashboard-actions {
    margin-bottom: 2rem;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.action-buttons .btn {
    width: auto;
    padding: 0.75rem 1.5rem;
}

/* Dashboard Info */
.dashboard-info {
    margin-bottom: 2rem;
}

.info-card {
    background: #f7f7f7;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.dark-mode .info-card {
    background: #555;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.info-card p {
    margin: 0.5rem 0;
    color: #000;
    font-size: 1rem;
}

body.dark-mode .info-card p {
    color: #fff;
}

.info-card strong {
    color: #b10036;
}

body.dark-mode .info-card strong {
    color: #ff5c5c;
}

/* Responsive adjustments for dashboard */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 2rem;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    .action-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}
/* Submit Container */
.submit-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    width: 100%;
    max-width: 800px;
    margin-bottom: 2rem;
}

body.dark-mode .submit-container {
    background: #444;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Form Adjustments */
.submit-container textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    resize: vertical;
}

body.dark-mode .submit-container textarea {
    background: #555;
    border-color: #666;
    color: #fff;
}

.submit-container textarea.is-invalid {
    border-color: #b10036;
}

.form-group {
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .submit-container {
        padding: 2rem;
    }
}
/* Review Table */
.review-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.review-table th, .review-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

body.dark-mode .review-table th, body.dark-mode .review-table td {
    border-bottom: 1px solid #666;
}

.review-table th {
    background: #f7f7f7;
    color: #b10036;
}

body.dark-mode .review-table th {
    background: #555;
    color: #ff5c5c;
}

.review-table td form {
    display: flex;
    gap: 0.5rem;
}

.review-table td .btn {
    padding: 0.5rem 1rem;
}
.article-content {
    font-family: 'Georgia', serif;
    line-height: 1.6;
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}
@media (max-width: 768px) {
    .article-content { font-size: 16px; padding: 10px; }
    .toc { display: none; } /* Floating TOC on desktop only */
}