:root {
  --primary: #005E21;
  --secondary: #A0A37E;
  --accent: #484A49;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --border: #ddd;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  color: var(--accent);
  background-color: var(--light-gray);
}

/* Header */
header {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.5rem 0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  overflow: visible;
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 50px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: visible;
  position: relative;
  z-index: 100;
}

.logo-container img {
  height: 60px;
  width: auto;
  margin-top: -5px;
  position: relative;
  z-index: 100;
}

.nav-links {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  position: relative;
}

.nav-links a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--secondary);
}

.nav-links a.active {
  background-color: var(--secondary);
  color: var(--primary);
  font-weight: 600;
}

/* Main Content */
main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 2rem;
  border-radius: 10px;
  text-align: center;
  margin-bottom: 3rem;
}

/* Feature Section with Image and Cards */
.feature-section {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
  align-items: stretch;
}

.feature-image {
  flex: 0 0 45%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.feature-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-content .card {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.feature-content .card:first-child {
  background-color: rgba(160, 163, 126, 0.2);
}

.feature-content .card:nth-child(2) {
  background-color: rgba(72, 74, 73, 0.2);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--white);
  color: var(--primary);
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
  border: 2px solid var(--white);
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover {
  background-color: transparent;
  color: var(--white);
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  border: 2px solid var(--secondary);
}

.btn-secondary:hover {
  background-color: transparent;
  color: var(--secondary);
}

.btn-danger {
  background-color: #dc3545;
  color: var(--white);
  border: 2px solid #dc3545;
}

.btn-danger:hover {
  background-color: transparent;
  color: #dc3545;
}

/* Cards */
.card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.card p {
  color: var(--accent);
  line-height: 1.8;
}

/* Forms */
.form-container {
  max-width: 500px;
  margin: 0 auto;
  background: var(--white);
  padding: 3rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
  color: var(--primary);
  margin-bottom: 2rem;
  text-align: center;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--accent);
  font-weight: 500;
}

.form-group input {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--border);
  border-radius: 5px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid var(--border);
  border-radius: 5px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
  resize: vertical;
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.error {
  background-color: #fee;
  color: #c33;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  text-align: center;
}

.success {
  background-color: #efe;
  color: #3c3;
  padding: 1rem;
  border-radius: 5px;
  margin-bottom: 1rem;
  text-align: center;
}

/* Dashboard */
.dashboard-header {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.profile-header-container {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.profile-header-left {
  flex-shrink: 0;
}

.profile-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary);
}

.profile-avatar-placeholder {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--primary);
}

.profile-header-center {
  flex-grow: 1;
}

.profile-header-center h1 {
  color: var(--primary);
  margin-bottom: 0.25rem;
  font-size: 1.75rem;
}

.profile-header-center p {
  color: var(--accent);
  margin: 0;
  font-size: 0.95rem;
}

.profile-header-right {
  flex-shrink: 0;
}

.gear-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: color 0.3s ease;
  text-decoration: none;
}

.gear-icon:hover {
  color: var(--secondary);
}

.dashboard-header h1 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

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

.dashboard-section {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.dashboard-section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--secondary);
}

/* File List */
.file-list {
  list-style: none;
}

.file-item {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s;
}

.file-item:hover {
  background-color: var(--light-gray);
}

.file-item:last-child {
  border-bottom: none;
}

.file-info {
  flex: 1;
}

.file-name {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.3rem;
  transition: color 0.2s ease;
}

.file-name:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.file-meta {
  font-size: 0.85rem;
  color: #666;
}

.file-download {
  padding: 0.5rem 1rem;
  background-color: var(--secondary);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-size: 0.9rem;
  transition: background-color 0.3s;
}

.file-download:hover {
  background-color: var(--primary);
}

/* Meetup Section */
.meetup-info {
  background: var(--primary);
  color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.meetup-info h3 {
  margin-bottom: 1rem;
}

.meetup-details {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.meetup-detail {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Sponsor Section */
.sponsor-section {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: var(--secondary);
  border-radius: 10px;
}

.sponsor-section p {
  color: var(--white);
  margin-bottom: 1rem;
}

.sponsor-link {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
}

.sponsor-link:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--accent);
  color: var(--white);
  text-align: center;
  padding: 2rem;
  margin-top: 4rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .card-container,
  .dashboard-grid {
    grid-template-columns: 1fr;
  }

  .feature-section {
    flex-direction: column;
  }

  .feature-image {
    flex: 1;
  }

  .form-container {
    padding: 2rem 1rem;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
}

.modal.show {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  animation: slideIn 0.3s ease;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
}

.modal-header h2 {
  color: var(--primary);
  margin: 0;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--accent);
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  color: var(--primary);
}

.modal-body {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.modal-body .warning {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1rem;
  margin: 1rem 0;
  border-radius: 4px;
}

.modal-body .warning-icon {
  color: #ffc107;
  font-weight: bold;
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.modal-footer {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

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

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

/* Markdown content styling */
.markdown-content {
  margin-left: 10px;
}

.markdown-content p {
  margin-bottom: 0.75rem;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3,
.markdown-content h4,
.markdown-content h5,
.markdown-content h6 {
  color: var(--primary);
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.markdown-content h1 { font-size: 1.75rem; }
.markdown-content h2 { font-size: 1.5rem; }
.markdown-content h3 { font-size: 1.25rem; }
.markdown-content h4 { font-size: 1.1rem; }

.markdown-content ul,
.markdown-content ol {
  margin: 0.5rem 0 0.75rem 1.5rem;
}

.markdown-content li {
  margin-bottom: 0.25rem;
}

.markdown-content code {
  background: #f4f4f4;
  padding: 0.2rem 0.4rem;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.markdown-content pre {
  background: #f4f4f4;
  padding: 1rem;
  border-radius: 5px;
  overflow-x: auto;
  margin: 0.75rem 0;
}

.markdown-content pre code {
  background: none;
  padding: 0;
}

.markdown-content a {
  color: var(--primary);
  text-decoration: underline;
}

.markdown-content a:hover {
  color: var(--secondary);
}

.markdown-content blockquote {
  border-left: 4px solid var(--secondary);
  padding-left: 1rem;
  margin: 0.75rem 0;
  color: var(--accent);
  font-style: italic;
}

.markdown-content strong {
  font-weight: 600;
  color: var(--primary);
}

.markdown-content em {
  font-style: italic;
}

.markdown-content hr {
  border: none;
  border-top: 2px solid var(--border);
  margin: 1rem 0;
}

/* Forum Styles */
.forum-main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2rem;
}

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

.forum-header h1 {
  color: var(--primary);
  font-size: 2rem;
}

.forum-filters {
  margin-bottom: 1.5rem;
}

.category-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.category-filter {
  padding: 0.6rem 1.5rem;
  border-radius: 25px;
  background-color: var(--secondary);
  color: white;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  opacity: 0.7;
}

.category-filter:hover {
  opacity: 0.85;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.category-filter.active {
  background-color: var(--primary);
  color: white;
  opacity: 1;
  box-shadow: 0 3px 8px rgba(0, 94, 33, 0.3);
}

.forum-search {
  margin-bottom: 2rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.search-form input[type="text"] {
  flex: 1;
  padding: 0.75rem;
  border: 1px solid var(--border);
  border-radius: 5px;
  font-size: 1rem;
}

.search-form .btn {
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  height: auto;
  line-height: 1;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.question-card {
  display: flex;
  gap: 1rem;
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.question-card:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.question-avatar img,
.question-avatar .avatar-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.avatar-placeholder {
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.question-content {
  flex: 1;
}

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

.question-header h3 {
  margin: 0;
  flex: 1;
}

.question-header h3 a {
  color: var(--primary);
  text-decoration: none;
}

.question-header h3 a:hover {
  text-decoration: underline;
}

.question-badges {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.badge-category {
  color: white;
}

.badge-accepted {
  background: #d4edda;
  color: #155724;
}

.question-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
}

.question-stats {
  display: flex;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: var(--accent);
}

.no-questions {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 8px;
}

/* Forum Question Detail */
.forum-question-main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
}

.breadcrumb {
  margin-bottom: 1.5rem;
  color: var(--accent);
}

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

.breadcrumb a:hover {
  text-decoration: underline;
}

.question-detail {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.question-author,
.response-author {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.author-info strong {
  color: var(--primary);
  font-size: 1.1rem;
}

.author-info span {
  font-size: 0.875rem;
  color: #666;
}

.question-body h1 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.question-content,
.response-content {
  line-height: 1.7;
  color: var(--accent);
}

.question-actions,
.response-actions {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
}

.question-actions .btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  height: auto;
  line-height: 1;
}

.responses-section {
  margin-bottom: 2rem;
}

.responses-section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary);
}

.response {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.response-accepted {
  border: 2px solid var(--primary);
  box-shadow: 0 4px 8px rgba(0, 94, 33, 0.2);
}

.accepted-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
  padding: 0.5rem 1rem;
  background: #d4edda;
  border-radius: 5px;
}

.response-author .author-avatar {
  width: 50px;
  height: 50px;
}

.add-response-section {
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.add-response-section h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Members Directory Styles */
.members-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.members-header {
  text-align: center;
  margin-bottom: 2rem;
}

.members-header h1 {
  color: var(--primary);
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.members-header p {
  color: var(--accent);
  font-size: 1.1rem;
}

.members-search {
  margin-bottom: 2rem;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.member-tile {
  background: white;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s;
}

.member-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.member-avatar {
  margin-bottom: 1rem;
}

.member-avatar img,
.avatar-placeholder-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.avatar-placeholder-large {
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
}

.member-info h3 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.member-joined {
  font-size: 0.875rem;
  color: #666;
}

.no-members {
  text-align: center;
  padding: 3rem;
  background: white;
  border-radius: 8px;
  grid-column: 1 / -1;
}

/* Member Profile Modal */
.member-profile-modal {
  padding: 1rem;
}

.profile-modal-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--primary);
}

.profile-modal-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}

.avatar-placeholder-modal {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.profile-modal-header h2 {
  color: var(--primary);
  margin: 0;
}

.profile-modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.profile-field strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.5rem;
}

.profile-field p {
  color: var(--accent);
  line-height: 1.6;
  margin: 0;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.page-info {
  color: var(--accent);
  font-weight: 600;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.close {
  position: absolute;
  right: 1.5rem;
  top: 1rem;
  color: var(--accent);
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close:hover {
  color: var(--primary);
}

.loading,
.error {
  text-align: center;
  padding: 2rem;
  color: var(--accent);
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

.toggle-switch input:checked + .toggle-slider {
  background-color: var(--primary);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Red Toggle Switch Variant (for blocking) */
.toggle-switch.toggle-red input:checked + .toggle-slider {
  background-color: #dc3545;
}

/* Toast Notification System */
#notification-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 400px;
}

.notification {
  background-color: white;
  border-left: 5px solid var(--primary);
  padding: 1rem 1.5rem;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  animation: slideIn 0.3s ease-out;
  min-width: 300px;
  max-width: 400px;
}

.notification.closing {
  animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
  from {
    transform: translateX(calc(100% + 20px));
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(calc(100% + 20px));
    opacity: 0;
  }
}

.notification-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.notification-content {
  flex: 1;
}

.notification-title {
  font-weight: 600;
  margin: 0 0 0.25rem 0;
  color: var(--dark);
  font-size: 1rem;
}

.notification-message {
  margin: 0;
  color: var(--accent);
  font-size: 0.9rem;
  line-height: 1.4;
}

.notification-close {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.2s;
}

.notification-close:hover {
  color: var(--dark);
}

/* Notification Types */
.notification.success {
  border-left-color: #28a745;
}

.notification.success .notification-icon {
  color: #28a745;
}

.notification.error {
  border-left-color: #dc3545;
}

.notification.error .notification-icon {
  color: #dc3545;
}

.notification.warning {
  border-left-color: #ffc107;
}

.notification.warning .notification-icon {
  color: #ffc107;
}

.notification.info {
  border-left-color: var(--primary);
}

.notification.info .notification-icon {
  color: var(--primary);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  #notification-container {
    left: 10px;
    right: 10px;
    max-width: none;
  }

  .notification {
    min-width: auto;
    max-width: none;
  }
}
