@import url('https://fonts.googleapis.com/css2?family=Comic+Neue&display=swap');:root {
  --bg-color: #d3eac0;
  --text-color: #333333;
  --header-bg: #f8f9fa;
  --footer-bg: #f8f9fa;
  --nav-bg: #e9ecef;
  --card-bg: #ffffff;
  --border-color: #dee2e6;
  --link-color: #007bff;
  --backgroundSize: 300px;
}

[data-theme="dark"] {
  --bg-color: #121212;
  --text-color: #e0e0e0;
  --header-bg: #1e1e1e;
  --footer-bg: #1e1e1e;
  --nav-bg: #2d2d2d;
  --card-bg: #1e1e1e;
  --border-color: #444;
  --link-color: #bb86fc;
}

/* Update your existing styles to use these variables */
.app-container {
  color: var(--text-color);
  background-image: url('../glass-frosting-design.png');
  background-size:cover ;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  

}

/* Header component */
header {
  background-color: var(--header-bg);
  z-index: 1;
}

/* Navbar component */
nav {
  background-color: var(--nav-bg);
  z-index: 1;
}

/* Footer component */
footer {
  background-color: var(--footer-bg);
  z-index: 1;
}

/* Add these styles to your App.css */

/* Base layout styles */
html, body, #root {
  height: 100%;
  margin: 0;
  padding: 0;
}

.app-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Organization Chart specific - prevent page scroll */
.app-container.org-chart-page {
  height: 100vh;
  overflow: hidden;
}

/* Main content area that will grow to push footer down */
.main-content {
  flex: 1; /* This makes the content area grow to fill available space */
  display: flex;
  flex-direction: column;
}

/* Footer styles */
.footer {
  margin-top: auto; /* Pushes footer to bottom */
  width: 100%;
}

/* Cards or other components */
.card {
  background-color: var(--card-bg);
  border-color: var(--border-color);
}

a {
  color: var(--link-color);
}

/*.app-container {
  position: relative;
  min-height: 100vh;
}*/


.content-wrapper {
  position: relative; /* Ensures content appears above background */
  z-index: 1; /* Higher than background's z-index */
}
:root {
  --primary-color: #81a83f;
  --secondary-color: #ffffff;
  --background-color: #cbf39e;
  --font-color: #4a6532;
  --box-shadow: 0 3px 8px rgba(129, 167, 61, 0.25);
  --border-color: #81a83f;
}

/* General Styles */
.dashboard-container {
  display: flex;
  padding: 20px;
  gap: 20px;
  min-height: 100vh;
  box-sizing: border-box;
}

.left-space {
  width: 150px;
  border-radius: 10px;
}

.main-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.events-column {
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height:fit-content;
}

/* Common Box Styles */
.welcome-box,
.quick-access-box,
.new-joinees-box,
.news-box,
.birthday-box,
.anniversary-box,
.thought-box,
.word-box,
.media-box,
.calendar-box {
  border-radius: 10px;
  padding: 20px;
  box-shadow: var(--box-shadow);
  border: 2px solid var(--primary-color);
  box-sizing: border-box;
}
.welcome-box {
  
  margin-bottom : 24px;
  backdrop-filter: blur(-23px);
}

/* Welcome Box */
.welcome-box h1 {
  color: var(--secondary-color);
  margin-bottom: 6px;
  font-weight: bold;
  font-size: 2rem;
}

.welcome-box h3 {
  color: var(--primary-color);
  font-weight: 400;
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.company-updates {
  list-style-type: none;
  padding-left: 0;
}

.company-updates li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 8px;
}

.company-updates li:last-child {
  border-bottom: none;
}

/* Thought & Word Boxes */
.thought-word-container {
  display: flex;
  gap: 15px;
  margin-bottom: 10px;
}

.card {
  flex: 1;
  background-color: var(--background-color);
  border: 1.5px solid var(--primary-color);
}


.thought-content {
  font-style: italic;
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 8px;
}

.thought-author {
  text-align: right;
  font-weight: 600;
  color: var(--secondary-color);
}

.thought-box, .word-box{
  
}

/* New Joinees Box (Same style as celebration boxes) */
.new-joinees-box {
  margin-bottom: 20px;
}

.new-joinees-box h2 {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: larger;
}

.new-joinees-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.new-joinee-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #d3e2b9;
}

.celebration-item{
  display: flex;
  border-bottom: 1px solid gray;
  padding: 15px 0px;
  gap: 12px;
  align-items: center;
}

.new-joinee-item:last-child,
.celebration-item:last-child {
  border-bottom: none;
}

/* Profile Image Styles */
.profile-pic,
.joinee-profile-container img.profile-pic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-color);
}

/* Detail Styles */
.joinee-details h3,
.celebration-details h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--secondary-color);
}

.joinee-details p,
.celebration-details p {
  margin: 4px 0 0 0;
  font-size: 0.85rem;
  color: #666;
}

.joinee-details .role {
  font-weight: 500;
  color: var(--primary-color);
}

.joinee-details .department {
  color: var(--secondary-color);
}

.joinee-details .joining-date {
  font-size: 0.8rem;
  color: #ffffff;
  font-style: italic;
}

/* Media Box */
.media-box {
  margin-bottom: 20px;
}

.media-box h2 {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-slideshow {
  position: relative;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.media-nav-btn {
  flex-shrink: 0;
  align-self: center;
  /* background:var(--secondary); */
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  aspect-ratio: 1 / 1;
  line-height: 1;
  cursor: pointer;
  color:#000;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

 

.media-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

.media-slideshow a {
  color: #2563eb; /* blue-600 */
  text-decoration: underline;
  cursor: pointer;
}

.media-slideshow a:hover {
  color: #1e40af; /* blue-800 */
}

.media-content {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.media-info {
  padding: 15px;
  background: white;
}

.media-info h3 {
  color: var(--secondary-color);
  margin: 0 0 10px 0;
  font-size: 1.2rem;
}

.media-review {
  font-style: italic;
  color: #444;
  line-height: 1.5;
  margin-bottom: 8px;
}

.media-rating {
  font-weight: bold;
  color: #ff9800;
  font-size: 0.9rem;
}

.media-content-text {
  color: #444;
  line-height: 1.5;
}

.media-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.media-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.media-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

/* News Box */



.news-box {
  padding: 20px;
  background: var(--background-color);
  border-radius: 16px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.news-box h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.news-list-container {
  display: grid;
   flex-direction: column;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 10px;
  overflow-y: auto;
  max-height: 500px;
}

.news-card {
   width: 90%;
  max-height: 250px;
  padding: 0.5rem;
  border: 1px solid #4caf50;
  border-radius: 0.5rem;
  transition: all 0.3s ease-in-out;
}

.news-card::-webkit-scrollbar {
  width: 4px;
}

.news-card::-webkit-scrollbar-thumb {
  background: #a3d3a3;
  border-radius: 4px;
}

 
.news-card:hover {
 overflow-y: auto;
  background-color: #f9fff9;
}

.news-title {
  margin-bottom: 10px;
  word-break: break-word;
}

/* Custom scrollbar */
.news-list-container::-webkit-scrollbar {
  width: 8px;
}

.news-list-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.news-list-container::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 10px;
}

.news-list-container::-webkit-scrollbar-thumb:hover {
  background: #555;
}
.news-image-container {
  flex: 0 0 120px;
  margin-right: 15px;
}

.news-image {
  width: 100%;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  margin-bottom: 12px;
}

.news-content {
  flex: 1;
}

.news-content h3 {
  font-size: 1.1rem;
  margin: 0 0 6px 0;
  color: var(--secondary-color);
}

.news-title{
  width: 80%;
  place-self: center;
}

.news-date svg {
  margin-right: 5px;
  font-size: 1rem;
}

.news-excerpt {
  color: #444;
  margin: 10px 0;
  line-height: 1.4;
}

.read-more-btn {
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-weight: 500;
  cursor: pointer;
  padding: 5px 0;
}

.read-more-btn:hover {
  text-decoration: underline;
}

.quick-access-box {
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 20px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 3px 8px rgba(129, 167, 61, 0.25);
  box-sizing: border-box;

}

.quick-access-box h2 {
  color: var(--secondary-color);
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.quick-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quick-item {
  background-color: #d8e4a2;
  padding: 32px;
  border-radius: 10px;
  text-align: center;
  font-weight: 600;
  color: var(--secondary-color);
  height: 80px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease;
}

.quick-item:hover {
  transform: translateY(-4px);
}

/* News Styles */
.news-list-container {
  max-height: 500px;
  overflow-y: auto;
  padding-right: 10px;
}

.news-item {
  display: flex;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}



.celebration-details h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--secondary-color);
}

.celebration-details p {
  margin: 4px 0 0 0;
  font-size: 0.85rem;
  color: #666;
}

/* Calendar Header */
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  line-height:0.5;
}

.calendar-selectors {
  display: flex;
  gap: 10px;
}

.calendar-selectors select {
  padding: 2px 2px;
  border: 1px solid var(--primary-color);
  border-radius: 4px;
  background-color: var(--background-color);
  color: var(--font-color);
  font-size: 0.9rem;
}

/* Weekday Headers */
.calendar-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 6px;
  text-align: center;
}

.calendar-weekday {
  font-weight: 700;
  color: var(--secondary-color);
  padding: 8px 0;
  background-color: var(--primary-color);
  border-radius: 8px;
}

/* Calendar Grid */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #f7f7f7;
  font-weight: 500;
  font-size: 14px;
  position: relative;
  transition: all 0.2s ease;
  color: var(--font-color);
}

.calendar-day:hover {
  transform: scale(1.05);
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

.calendar-day.today {
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
}

.calendar-day.holiday {
  background-color: #ffefc0;
  border: 1px solid #ff9800;
  color: #000;
}

.calendar-day.weekend {
  background-color: #f0f0f0;
  color: #888;
}

.calendar-day.empty {
  background-color: transparent;
  border: none;
}

.calendar-day.event {
  background-color: #e3f2fd;
  border: 1px solid #2196f3;
  color: #000;
}

.holiday-dot {
  position: absolute;
  bottom: 3px;
  right: 3px;
  width: 6px;
  height: 6px;
  background-color: #ff5722;
  border-radius: 50%;
}

.event-dot {
  position: absolute;
  bottom: 3px;
  left: 3px;
  width: 6px;
  height: 6px;
  background-color: #0000FF;
  border-radius: 50%;
}

.holiday-list {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #eee;
}

.holiday-list h3 {
  color:  #ff5722;
  margin-bottom: 10px;
}

.event-list h3 {
  color: #0000FF;
  margin-bottom: 10px;
}


.holiday-list ul {
  list-style-type: none;
  padding-left: 0;
}

.holiday-list li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  color: var(--font-color);
}

.holiday-list li:last-child {
  border-bottom: none;
}

/* Responsive Styles */
@media (max-width: 1080px) {
  .dashboard-container {
    flex-direction: column;
  }
  .events-column {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .quick-access-grid {
    grid-template-columns: 1fr;
  }
  
  .news-item {
    flex-direction: column;
  }
  
  .news-image-container {
    margin-right: 0;
    margin-bottom: 10px;
  }
}

/* Icons & Links */
.icon-title {
  color: var(--primary-color);
  font-size: 1.5rem !important;
}

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

a:hover {
  text-decoration: underline;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calendar-selectors {
  display: flex;
  gap: 0.5rem;
}

.calendar-selectors select {
  padding: 4px 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1rem;
}
:root {
  --primary: #FFF8F0;
  --secondary: #80A23F;
  --accent: #3F3F3F;
  --darker-secondary: #689710;
}

/* Base Sidebar */
.sidenav {
  position: fixed;
  left: 2vw;
  top: calc(50% + 80px); /* slight offset to account for header height */
  transform: translateY(-50%);
  width: 80px;
  border-radius: 40px;
  background-color: var(--secondary);
  color: white;
  transition: width 0.4s ease, top 0.4s ease;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

/* expanded state */
.sidenav.expanded {
  width: 250px;
}

/* Inner layout */
.sidenav-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Nav items */
.nav-items {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 0;
  list-style: none;
  margin: 0;
}

.nav-item {
  display: flex;
  justify-content: flex-start;
}

.nav-item a,
.nav-button {
  display: flex;
  align-items: center;
  padding: 12px 20px;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
  background-color: transparent;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.nav-item a:hover,
.nav-button:hover {
  background-color: var(--darker-secondary);
}

.nav-icon {
  font-size: 20px;
  min-width: 20px;
}

.nav-item span {
  margin-left: 15px;
  white-space: nowrap;
}

/* Nav item wrapper for submenu */
.nav-item-wrapper {
  width: 100%;
}

/* Submenu styles */
.submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  padding-left: 20px;
}

.submenu li {
  margin: 0;
}

.submenu a {
  display: block;
  padding: 8px 20px;
  color: white;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s;
}

.submenu a:hover {
  background-color: var(--darker-secondary);
}

.nav-button span {
  flex: 1;
}

.mainnav-button {
  display: flex;
  align-items: center;
  padding: 10px 16px !important;
  color: white;
  text-decoration: none;
  transition: all 0.2s;
  background-color: inherit !important;
  border: inherit !important;
  margin: 0px !important;
  border: none;
  cursor: pointer;
  width: 100%;
  text-align: left;
}

.mainnav-button:hover {
  color: white !important;
  background-color: transparent !important;
}

.mainnav-button {
  font-size: inherit !important;
}

/* More item */
.more-item {
  align-self: center;
  margin-top: auto;
  margin-bottom: auto;
  justify-content: center;
}

/* Footer profile */
.nav-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.user-profile {
  display: flex;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #3498db;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.user-info {
  margin-left: 15px;
  white-space: nowrap;
}

.user-name {
  font-weight: bold;
}

.user-email {
  font-size: 12px;
  opacity: 0.8;
}

/* ✅ Responsive Fixes */
@media (max-height: 700px) {
  .sidenav {
    top: auto;                 /* Remove vertical centering */
    bottom: 20px;              /* Stick near bottom */
    transform: none;           /* Cancel translateY */
    border-radius: 20px;       /* Slightly smaller rounding for mobile */
    height: auto;              /* Allow flexible height */
  }

  .nav-items {
    padding: 10px 0;
  }

  .nav-item a,
  .nav-button {
    padding: 10px 16px;
  }

  .nav-icon {
    font-size: 18px;
  }
}

/* Even smaller screens (mobile landscape or low height) */
@media (max-height: 500px) {
  .sidenav {
    bottom: 10px;
    left: 1vw;
    width: 70px;
  }

  .sidenav.expanded {
    width: 180px;
  }

  .nav-item span {
    font-size: 12px;
  }
  .mainnav-button span {
    font-size: 12px;
  }
}

@media (max-height: 800px) {
  .sidenav {
    top: auto;            /* cancel vertical centering */
    bottom: 20px;         /* stick near bottom */
    transform: none;      /* no translate shift */
  }
}

@media (max-height: 500px) {
  .sidenav {
    bottom: 10px;
    left: 1vw;
    width: 70px;
  }
}
:root{
  --primary-color: #81a73d; /* Primary color for the dashboard */
  --secondary-color: #4a6532; /* Secondary color for text */
  --background-color: #f9fcef; /* Background color for the dashboard */
  --box-shadow: 0 3px 8px rgba(129, 167, 61, 0.25); /* Box shadow for boxes */
  --border-color: #81a73d; /* Border color for boxes */
}

.suggestion-container {
  max-width: 75%;
  margin: 50px auto;
  max-width: 800px;
  padding: 2rem;
  background: var(--background-color);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  
}

.suggestion-container h1 {
    
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.suggestion-container p {
  color: var(--primary-color);
  margin-bottom: 2rem;
}


.suggestion-container h1 {
  color: #2c3e50;
  margin-bottom: 1rem;
}

.suggestion-container p {
  color: #7f8c8d;
  margin-bottom: 2rem;
}

.suggestion-form {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

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

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


.form-input, .form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
  margin-bottom: 1rem;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.submit-button {
  background-color: #3498db;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.submit-button:hover {
  background-color: #2980b9;
}

.submit-button:disabled {
  background-color: #bdc3c7;
  cursor: not-allowed;
}

.error-message {
  color: #e74c3c;
  margin-top: 0.5rem;
}

.thank-you-message {
  margin: 25px auto 28% auto;
  max-width: 800px;
  
  padding: 2rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto;
}

.thank-you-message h2 {
  color: #2ecc71;
  margin-bottom: 1rem;
}

.resubmit-button {
  background-color: #2ecc71;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.resubmit-button:hover {
  background-color: #27ae60;
}.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 35px 20px;
  height: 160px;
  background: #80a73d !important;
  color: white;
  position: relative; 
  width:100%;
  
}

.left-section,
.right-section {
  width: 150px; /* Match logo width for symmetry */
  display: flex;
  justify-content: flex-end;
}

.center-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 10px;
}

.company-icon {
  width: 260px;
  
}.div-block-2 {
  background-color: #000000;
  padding: 20px 0;
  
  
  width: 100%;
}

.container.w-container {
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 20px;
  margin-top: auto;
  
}

.div-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.copy-right {
  font-size: 14px;
  color: #ffffff;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  margin: 0;
}

/* Responsive styling */
@media (max-width: 768px) {
  .copy-right {
    font-size: 12px;
  }
}
:root {
  --primary-color: #81a83f;
  --secondary-color: #ffffff;
  --background-color: #ffffff;
  --font-color: #4a6532;
  --box-shadow: 0 3px 8px rgba(129, 167, 61, 0.25);
  --border-color: #81a83f;
}
/* Base styles */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.app-layout {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.app-header {
  background: var(--primary-color);
  color: white;
  padding: 15px 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.app-header h1 {
  margin: 0;
  font-size: 1.5rem;
}

.app-main-container {
  display: flex;
  flex: 1;
  overflow: hidden;
}

.app-footer {
  background: #f5f5f5;
  padding: 10px 20px;
  border-top: 1px solid #ddd;
  text-align: center;
}

.sidebar {
  width: 250px;
  background-color: #f5f5f5;
  border-right: 1px solid #ddd;
  overflow-y: auto;
  padding: 10px;
}

.sidebar-header {
  font-weight: bold;
  padding: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.tabs {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.tab {
  padding: 10px 15px;
  text-align: left;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 4px;
  margin-bottom: 5px;
  transition: background-color 0.2s;
}

.tab:hover {
  background-color: #e9e9e9;
}

.tab.active {
  background-color: var(--font-color);
  color: white;
}

.main-content {
  flex: 1;
  overflow: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.main-content h2 {
  margin-top: 0;
}

/* Org chart styles */
.org-chart-container {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  place-items: center;
}

.transform-wrapper {
  width: 100%;
  height: 100%;
}

.org-chart-wrapper {
  padding: 20px;
  min-height: 100%;
  min-width: 100%;
}


.org-chart {
  display: inline-block;
  white-space: nowrap;
}
/* Node styling */
.node { display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px 0;
  min-width: 200px;
  position: relative;
}

.node:not(:first-child)::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 20px;
  background-color: #ccc;
}

/* Style for children container */
.children {
  display: flex;
  justify-content: center;
  position: relative;
  padding-top: 20px;
  flex-wrap: wrap;
  gap: 20px;
}

/* Horizontal connector for multiple children */
.children.has-multiple::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  height: 1px;
  background-color: #ccc;
  transform: translateX(-50%);
  width: calc(100% - 40px);
}

.node-content {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  /* padding: 10px; */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
  width: 200px; /* Fixed width */
  height: 60px; /* Fixed height */
  box-sizing: border-box;
}

.node-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.node-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex-grow: 1;
  place-items: center;
}

.node-info.no-avatar {
  margin-left: 0;
}

.node-name {
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.node-title {
  color: #666;
  font-size: 0.9em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.children {
  display: flex;
  justify-content: center;
  padding-top: 20px;
  position: relative;
  flex-wrap: wrap;
  gap: 20px;
}

.children::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  border-left: 1px solid #ccc;
  height: 20px;
}

/* Org chart styling */
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ... (keep all other existing styles the same) ... */

.controls {
  position: absolute;
  top: 70px;
  right: 30px;
  z-index: 100;
  display: flex;
  gap: 5px;
}

.control {
  padding: 5px 10px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.control:hover {
  background: #0056b3;
}

h1 {
  margin-top: 0;
}

.content-wrapper{
  width: 80vw;
  place-self: center;
  place-content: center;
}

.org-chart-container {
  width: 100%;
  height: 100%;
  overflow: auto;
  position: relative;
  
}

.transform-wrapper {
  width: 100% !important;
  height: 100% !important;
  overflow: visible !important;
}


.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.children {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

/* Add these styles */
.react-flow__edge-path {
  stroke: #81a73d;
  stroke-width: 3;
}

.react-flow__edge-arrowhead {
  fill: #81a73d;
}

.react-flow__node {
  display: flex;
  justify-content: center;
  align-items: center;
}

.react-flow__controls {
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
  border-radius: 8px;
  overflow: hidden;
}

.react-flow__minimap {
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.2);
}
.react-flow__edge-path {
  stroke: #81a73d;
  stroke-width: 3;
}

.react-flow__edge-arrowhead {
  fill: #81a73d;
}

.react-flow__node-default,
.react-flow__node-editable {
  padding: 10px;
  border-radius: 5px;
  width: 200px;
  font-size: 12px;
}

/* Add to your CSS file */
.react-flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node-image-container {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 8px;
}

.node-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}/* this gets exported as style.css and can be used for the default theming */
/* these are the necessary styles for React Flow, they get used by base.css and style.css */
.react-flow {
  direction: ltr;
}
.react-flow__container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.react-flow__pane {
  z-index: 1;
  cursor: -webkit-grab;
  cursor: grab;
}
.react-flow__pane.selection {
    cursor: pointer;
  }
.react-flow__pane.dragging {
    cursor: -webkit-grabbing;
    cursor: grabbing;
  }
.react-flow__viewport {
  transform-origin: 0 0;
  z-index: 2;
  pointer-events: none;
}
.react-flow__renderer {
  z-index: 4;
}
.react-flow__selection {
  z-index: 6;
}
.react-flow__nodesselection-rect:focus,
.react-flow__nodesselection-rect:focus-visible {
  outline: none;
}
.react-flow .react-flow__edges {
  pointer-events: none;
  overflow: visible;
}
.react-flow__edge-path,
.react-flow__connection-path {
  stroke: #b1b1b7;
  stroke-width: 1;
  fill: none;
}
.react-flow__edge {
  pointer-events: visibleStroke;
  cursor: pointer;
}
.react-flow__edge.animated path {
    stroke-dasharray: 5;
    -webkit-animation: dashdraw 0.5s linear infinite;
            animation: dashdraw 0.5s linear infinite;
  }
.react-flow__edge.animated path.react-flow__edge-interaction {
    stroke-dasharray: none;
    -webkit-animation: none;
            animation: none;
  }
.react-flow__edge.inactive {
    pointer-events: none;
  }
.react-flow__edge.selected,
  .react-flow__edge:focus,
  .react-flow__edge:focus-visible {
    outline: none;
  }
.react-flow__edge.selected .react-flow__edge-path,
  .react-flow__edge:focus .react-flow__edge-path,
  .react-flow__edge:focus-visible .react-flow__edge-path {
    stroke: #555;
  }
.react-flow__edge-textwrapper {
    pointer-events: all;
  }
.react-flow__edge-textbg {
    fill: white;
  }
.react-flow__edge .react-flow__edge-text {
    pointer-events: none;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
.react-flow__connection {
  pointer-events: none;
}
.react-flow__connection .animated {
    stroke-dasharray: 5;
    -webkit-animation: dashdraw 0.5s linear infinite;
            animation: dashdraw 0.5s linear infinite;
  }
.react-flow__connectionline {
  z-index: 1001;
}
.react-flow__nodes {
  pointer-events: none;
  transform-origin: 0 0;
}
.react-flow__node {
  position: absolute;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  pointer-events: all;
  transform-origin: 0 0;
  box-sizing: border-box;
  cursor: -webkit-grab;
  cursor: grab;
}
.react-flow__node.dragging {
    cursor: -webkit-grabbing;
    cursor: grabbing;
  }
.react-flow__nodesselection {
  z-index: 3;
  transform-origin: left top;
  pointer-events: none;
}
.react-flow__nodesselection-rect {
    position: absolute;
    pointer-events: all;
    cursor: -webkit-grab;
    cursor: grab;
  }
.react-flow__handle {
  position: absolute;
  pointer-events: none;
  min-width: 5px;
  min-height: 5px;
  width: 6px;
  height: 6px;
  background: #1a192b;
  border: 1px solid white;
  border-radius: 100%;
}
.react-flow__handle.connectionindicator {
    pointer-events: all;
    cursor: crosshair;
  }
.react-flow__handle-bottom {
    top: auto;
    left: 50%;
    bottom: -4px;
    transform: translate(-50%, 0);
  }
.react-flow__handle-top {
    left: 50%;
    top: -4px;
    transform: translate(-50%, 0);
  }
.react-flow__handle-left {
    top: 50%;
    left: -4px;
    transform: translate(0, -50%);
  }
.react-flow__handle-right {
    right: -4px;
    top: 50%;
    transform: translate(0, -50%);
  }
.react-flow__edgeupdater {
  cursor: move;
  pointer-events: all;
}
.react-flow__panel {
  position: absolute;
  z-index: 5;
  margin: 15px;
}
.react-flow__panel.top {
    top: 0;
  }
.react-flow__panel.bottom {
    bottom: 0;
  }
.react-flow__panel.left {
    left: 0;
  }
.react-flow__panel.right {
    right: 0;
  }
.react-flow__panel.center {
    left: 50%;
    transform: translateX(-50%);
  }
.react-flow__attribution {
  font-size: 10px;
  background: rgba(255, 255, 255, 0.5);
  padding: 2px 3px;
  margin: 0;
}
.react-flow__attribution a {
    text-decoration: none;
    color: #999;
  }
@-webkit-keyframes dashdraw {
  from {
    stroke-dashoffset: 10;
  }
}
@keyframes dashdraw {
  from {
    stroke-dashoffset: 10;
  }
}
.react-flow__edgelabel-renderer {
  position: absolute;
  width: 100%;
  height: 100%;
  pointer-events: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.react-flow__edge.updating .react-flow__edge-path {
      stroke: #777;
    }
.react-flow__edge-text {
    font-size: 10px;
  }
.react-flow__node.selectable:focus,
  .react-flow__node.selectable:focus-visible {
    outline: none;
  }
.react-flow__node-default,
.react-flow__node-input,
.react-flow__node-output,
.react-flow__node-group {
  padding: 10px;
  border-radius: 3px;
  width: 150px;
  font-size: 12px;
  color: #222;
  text-align: center;
  border-width: 1px;
  border-style: solid;
  border-color: #1a192b;
  background-color: white;
}
.react-flow__node-default.selectable:hover, .react-flow__node-input.selectable:hover, .react-flow__node-output.selectable:hover, .react-flow__node-group.selectable:hover {
      box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.08);
    }
.react-flow__node-default.selectable.selected,
    .react-flow__node-default.selectable:focus,
    .react-flow__node-default.selectable:focus-visible,
    .react-flow__node-input.selectable.selected,
    .react-flow__node-input.selectable:focus,
    .react-flow__node-input.selectable:focus-visible,
    .react-flow__node-output.selectable.selected,
    .react-flow__node-output.selectable:focus,
    .react-flow__node-output.selectable:focus-visible,
    .react-flow__node-group.selectable.selected,
    .react-flow__node-group.selectable:focus,
    .react-flow__node-group.selectable:focus-visible {
      box-shadow: 0 0 0 0.5px #1a192b;
    }
.react-flow__node-group {
  background-color: rgba(240, 240, 240, 0.25);
}
.react-flow__nodesselection-rect,
.react-flow__selection {
  background: rgba(0, 89, 220, 0.08);
  border: 1px dotted rgba(0, 89, 220, 0.8);
}
.react-flow__nodesselection-rect:focus,
  .react-flow__nodesselection-rect:focus-visible,
  .react-flow__selection:focus,
  .react-flow__selection:focus-visible {
    outline: none;
  }
.react-flow__controls {
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.08);
}
.react-flow__controls-button {
    border: none;
    background: #fefefe;
    border-bottom: 1px solid #eee;
    box-sizing: content-box;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 16px;
    height: 16px;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
    padding: 5px;
  }
.react-flow__controls-button:hover {
      background: #f4f4f4;
    }
.react-flow__controls-button svg {
      width: 100%;
      max-width: 12px;
      max-height: 12px;
    }
.react-flow__controls-button:disabled {
      pointer-events: none;
    }
.react-flow__controls-button:disabled svg {
        fill-opacity: 0.4;
      }
.react-flow__minimap {
  background-color: #fff;
}
.react-flow__minimap svg {
  display: block;
}
.react-flow__resize-control {
  position: absolute;
}
.react-flow__resize-control.left,
.react-flow__resize-control.right {
  cursor: ew-resize;
}
.react-flow__resize-control.top,
.react-flow__resize-control.bottom {
  cursor: ns-resize;
}
.react-flow__resize-control.top.left,
.react-flow__resize-control.bottom.right {
  cursor: nwse-resize;
}
.react-flow__resize-control.bottom.left,
.react-flow__resize-control.top.right {
  cursor: nesw-resize;
}
/* handle styles */
.react-flow__resize-control.handle {
  width: 4px;
  height: 4px;
  border: 1px solid #fff;
  border-radius: 1px;
  background-color: #3367d9;
  transform: translate(-50%, -50%);
}
.react-flow__resize-control.handle.left {
  left: 0;
  top: 50%;
}
.react-flow__resize-control.handle.right {
  left: 100%;
  top: 50%;
}
.react-flow__resize-control.handle.top {
  left: 50%;
  top: 0;
}
.react-flow__resize-control.handle.bottom {
  left: 50%;
  top: 100%;
}
.react-flow__resize-control.handle.top.left {
  left: 0;
}
.react-flow__resize-control.handle.bottom.left {
  left: 0;
}
.react-flow__resize-control.handle.top.right {
  left: 100%;
}
.react-flow__resize-control.handle.bottom.right {
  left: 100%;
}
/* line styles */
.react-flow__resize-control.line {
  border-color: #3367d9;
  border-width: 0;
  border-style: solid;
}
.react-flow__resize-control.line.left,
.react-flow__resize-control.line.right {
  width: 1px;
  transform: translate(-50%, 0);
  top: 0;
  height: 100%;
}
.react-flow__resize-control.line.left {
  left: 0;
  border-left-width: 1px;
}
.react-flow__resize-control.line.right {
  left: 100%;
  border-right-width: 1px;
}
.react-flow__resize-control.line.top,
.react-flow__resize-control.line.bottom {
  height: 1px;
  transform: translate(0, -50%);
  left: 0;
  width: 100%;
}
.react-flow__resize-control.line.top {
  top: 0;
  border-top-width: 1px;
}
.react-flow__resize-control.line.bottom {
  border-bottom-width: 1px;
  top: 100%;
}
/* Reuse your existing variables */
:root {
  --primary: #FFF8F0;
  --secondary: #80A23F;
  --accent: #3F3F3F;
  --darker-secondary: #689710;
  --news-background: #ddd;
  --spacing-sm: 8px;
  --spacing-md: 20px;
  --spacing-lg: 30px;
  --spacing-xl: 40px;
  --border-radius-sm: 4px;
  --border-radius-md: 7px;
  --border-radius-lg: 8px;
  --transition-normal: 0.3s;
}

/* Management Container */
.news-management-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--spacing-xl);
  font-family: inherit;
}

.management-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-xl);
  border-bottom: 1px solid #ddd;
  padding-bottom: var(--spacing-md);
}

.management-header h1 {
  color: var(--accent);
  margin: 0;
}

/* Form Styles */
.management-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.article-form {
  background-color: var(--news-background);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-md);
}

.article-form h2 {
  color: var(--accent);
  margin-top: 0;
  margin-bottom: var(--spacing-lg);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

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

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--spacing-sm);
  border: 1px solid var(--darker-secondary);
  border-radius: var(--border-radius-sm);
  font-family: inherit;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-row {
  display: flex;
  gap: var(--spacing-md);
}

.form-row .form-group {
  flex: 1;
}

.form-actions {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

/* Button Styles */
button {
  cursor: pointer;
  padding: var(--spacing-sm) var(--spacing-md);
  border: none;
  border-radius: var(--border-radius-sm);
  font-family: inherit;
  font-weight: 500;
  transition: all var(--transition-normal);
}

.back-button {
  background-color: var(--accent);
  color: white;
}

.back-button:hover {
  background-color: #2a2a2a;
}

.submit-button {
  background-color: var(--secondary);
  color: var(--secondary);
}

.submit-button:hover {
  background-color: var(--darker-secondary);
}

.cancel-button {
  background-color: #ccc;
  color: var(--accent);
}

.cancel-button:hover {
  background-color: #bbb;
}

.edit-button {
  background-color: var(--secondary);
  color: white;
}

.delete-button {
  background-color: #e74c3c;
  color: white;
}

/* Articles List */
.articles-list {
  background-color: var(--news-background);
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-md);
  max-height: 80vh;
  overflow-y: auto;
}

.articles-list h2 {
  color: var(--accent);
  margin-top: 0;
}

.no-articles {
  color: #666;
  text-align: center;
  padding: var(--spacing-lg);
}

.article-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
  
  
}

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

.article-preview {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex: 1;
}

.article-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius-sm);
}

.article-info h3 {
  margin: 0;
  font-size: 1rem;
  color: var(--accent);
}

.article-meta {
  margin: var(--spacing-sm) 0 0;
  font-size: 0.8rem;
  color: #666;
}

.article-actions {
  display: flex;
  gap: var(--spacing-sm);
}

@media (max-width: 900px) {
  .management-content {
    grid-template-columns: 1fr;
  }
}

input[type="file"] {
  width: 100%;
  padding: var(--spacing-sm);
  border: 1px solid #ddd;
  border-radius: var(--border-radius-sm);
  background-color: white;
}

.image-preview {
  margin-top: var(--spacing-sm);
  text-align: center;
}

.preview-image {
  max-width: 100%;
  max-height: 200px;
  border-radius: var(--border-radius-sm);
  margin-bottom: var(--spacing-sm);
}

.file-info {
  font-size: 0.8rem;
  color: #666;
  margin: 0;
}

.article-thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--border-radius-sm);
}
:root {
  --primary-color: #81a73d;
  --secondary-color: #4a6532;
  --background-color: #f9fcef;
  --box-shadow: 0 3px 8px rgba(129, 167, 61, 0.25);
  --border-color: #81a73d;
}
h1{
  font-size: 30px;
}
body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  background-color: var(--background-color);
  backdrop-filter: blur(3px);
}

.sudoku-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../popquiz.jpg');
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(6px);
  padding: 20px;
  box-sizing: border-box;
}

.start-screen {
  backdrop-filter: blur(10px);
  padding: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  color: white;
}

.start-screen input {
  padding: 10px 15px;
  margin-top: 10px;
  font-size: 1rem;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  margin-bottom: 15px;
  width: 200px;
}

.start-screen button {
  background: black;
  border: none;
  padding: 10px 20px;
  color: white;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  margin: 5px;
}

.button-group {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.how-to-play {
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
  color: white;
  text-align: left;
}

.how-to-play h3 {
  margin-top: 0;
}

.leaderboard-container {
  margin-top: 20px;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 8px;
  max-height: 300px;
  overflow-y: auto;
  color: white;
}

.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  color: white;
}

.leaderboard-table th,
.leaderboard-table td {
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.leaderboard-table th {
  background-color: rgba(255, 255, 255, 0.1);
}

.leaderboard-table tr:nth-child(even) {
  background-color: rgba(255, 255, 255, 0.05);
}

.no-results {
  text-align: center;
  padding: 15px;
}

.game-container {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  padding: 12px;
  box-shadow: var(--box-shadow);
  backdrop-filter: blur(6px);
  max-width: 420px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: center;
}

.headerss {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
  margin-bottom: 10px;
  padding: 15px;
  background:none;
  border-radius: 0px;
  box-shadow: var(--box-shadow);
  font-size: 30px;
}

.header h2 {
  margin: 0;
  font-size: 38px;
  text-align: center;
}

.timer {
  font-size: 1rem;
  color: white;
  margin-top: 5px;
}

.controls-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.controls-row button {
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 17px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.54);
  color: white;
  border: none;
  box-shadow: var(--box-shadow);
  transition: all 0.2s;
}

.controls-row button:hover {
  background-color: var(--secondary-color);
}

.controls-row button:disabled {
  background-color: rgba(0, 0, 0, 0.2);
  cursor: not-allowed;
}

.message {
  font-size: 1.1rem;
  font-weight: bold;
  color: white;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 10px 20px;
  border-radius: 6px;
  margin: 10px 0;
  text-align: center;
  backdrop-filter: blur(5px);
}

.sudoku-board {
  display: flex;
  flex-direction: column;
  border-radius: 8px;
  border: 2px solid black;
  box-shadow: 0 0 20px rgba(74, 101, 50, 0.6);
  background: rgba(255, 255, 255, 0.39);
}

.board-row {
  display: flex;
}

.cell {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
  border: 1px solid #2c2c2c;
  background-color: rgba(255, 255, 255, 0.23);
  color: #333;
  transition: background-color 0.2s, box-shadow 0.2s;
}

.cell:hover {
  background-color: rgba(129, 167, 61, 0.15);
}

.cell.selected {
  background-color: rgba(129, 167, 61, 0.3);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.cell.invalid {
  color: #e74c3c;
  background-color: rgba(255, 0, 0, 0.1);
}

.prefilled {
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.05);
  color: black;
}

.thick-border-right {
  border-right: 2px solid black;
}

.thick-border-bottom {
  border-bottom: 2px solid black;
}

.number-pad {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.number-btn {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.54);
  color: white;
  border: none;
  box-shadow: var(--box-shadow);
  transition: all 0.2s;
}

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

.loading-screen {
  color: white;
  font-size: 1.5rem;
  text-align: center;
}

@media (max-width: 600px) {
  .cell {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .start-screen input {
    width: 100%;
  }

  .controls-row {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .number-pad {
    gap: 5px;
  }
}
:root {
  --primary-color: #81a73d;
  --secondary-color: #4a6532;
  --background-color: #f9fcef;
  --box-shadow: 0 4px 12px rgba(129, 167, 61, 0.15);
  --border-color: #4a6532;
}

body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, sans-serif;
  position: relative;
  z-index: 0;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.6);
  z-index: -1;
}

.popquizwrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url('../popquiz.jpg'); /* update if needed */
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(6px);
  padding: 20px;
  box-sizing: border-box;
}

.start-screen,
.result-section {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  color: white;
  max-width: 500px;
  width: 100%;
}

.start-screen input,
.date-picker {
  padding: 10px 15px;
  margin-top: 10px;
  font-size: 1rem;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  margin-bottom: 15px;
  width: 80%;
  color: white;
}

.start-button,
.nav-button,
.submit-button,
.restart-button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid #ffffff;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  margin: 10px 5px;
  transition: all 0.3s ease;
}

.start-button:hover,
.nav-button:hover,
.submit-button:hover,
.restart-button:hover {
  background: rgba(255, 255, 255, 0.4);
  color: black;
}

.how-to-play {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 8px;
}

.leaderboard-container {
  margin-top: 20px;
  backdrop-filter: blur(6px);
  background: rgba(255, 255, 255, 0.15);
  padding: 25px;
  border-radius: 8px;
  max-height: 300px;
  overflow-y: auto;
}

.leaderboard-container table,
.result-table {
  width: 100%;
  border-collapse: collapse;
  color: white;
}

.leaderboard-container th,
.leaderboard-container td,
.result-table th,
.result-table td {
  padding: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  text-align: center;
}

.no-results {
  text-align: center;
  padding: 10px;
}

.quiz-container {
  text-align: center;
  max-width: 700px;
  width: 100%;
}

.timer {
  font-size: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.question-box {
  background: rgba(255, 255, 255, 0.4);
  border: 2px solid black;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.question-box h3 {
  font-size: 24px;
  background: rgba(0, 0, 0, 0.5);
  border: 2px solid black;
  padding: 10px 15px;
  border-radius: 8px;
  color: white;
}

.options-list {
  list-style: none;
  padding: 0;
}

.options-list li {
  background: rgba(126, 88, 88, 0.14);
  color: black;
  font-size: 20px;
  border: 2px solid black;
  padding: 10px;
  margin: 8px 0;
  border-radius: 8px;
  cursor: pointer;
}

.options-list li:hover {
  background: rgba(255, 255, 255, 0.6);
}

.selected-option {
  background: rgb(220, 242, 92) !important;
  color: rgb(0, 0, 0) !important;
}

.navigation-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding: 5px;
  text-align: center;
}




@keyframes slideInLeft {
  0% {
    transform: translateX(-150%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}



@keyframes slideInRight {
  0% {
    transform: translateX(150%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}



@keyframes fadeIn {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}



.game-list-wrapper {
  position: relative;
  z-index: 0;
  /* existing styles */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  min-height: 100vh;
  background-image: url('../game_bg.jpg');
  background-size: cover;
  width: 100%;
  background-repeat: no-repeat;
}



.games-fullscreen-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: url('../game_bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -10; /* push behind everything */
}



.games-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.3); /* optional overlay */
  z-index: -9;
}



.game-list-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.3); /* White overlay with 60% opacity */
  z-index: -10;
}



.game-list-title {
  font-size: 2.8rem;
  color: #1b250b;
  margin-bottom: 40px;
  text-align: center;

  /* 💡 Transparent background box */
  background-color: rgba(255, 255, 255, 1); /* 40% opaque white */
  padding: 12px 24px;
  border-radius: 12px;
  display: inline-block;
}



.game-card-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 60px;
}



.game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  padding: 20px;
  cursor: pointer;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.95);
  transition: transform 0.3s ease;
  opacity: 0;
}



.slide-left {
  animation: slideInLeft 1s ease forwards;
}



.slide-right {
  animation: slideInRight 1s ease forwards;
  animation-delay: 0.3s;
}



.game-card:hover {
  transform: scale(1.07);
}



.game-logo {
  font-size: 96px;
  color: #4a6532;
  margin-bottom: 16px;
}



.game-name {
  font-size: 1.4rem;
  font-weight: 600;
  color: #4a6532;
  text-align: center;
}



.scoreboard-title {
  font-size: 2rem;
  color: #ffffff;
  text-shadow: 2px 2px 4px #000;
  margin-bottom: 20px;
  text-align: center;
}



.scoreboard-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}



.scoreboard {
  background-color: rgba(255, 255, 255, 0.92);
  padding: 20px 25px;
  border-radius: 16px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  width: 300px;
  opacity: 0;
}



.fade-in {
  animation: fadeIn 1s ease forwards;
}



.scoreboard h3 {
  color: #4a6532;
  font-size: 1.5rem;
  margin-bottom: 16px;
  text-align: center;
}



.scoreboard table {
  width: 100%;
  border-collapse: collapse;
}



.scoreboard th,
.scoreboard td {
  padding: 10px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid #ccc;
}



.scoreboard th:first-child,
.scoreboard td:first-child {
  width: 40px;
  text-align: center;
}



.scoreboard th {
  background-color: #81a73d;
  color: white;
}
:root {
    --primary-color: #81a73d;
    --secondary-color: #4a6532;
    --background-color: #f9fcef;
    --box-shadow: 0 3px 8px rgba(129, 167, 61, 0.25);
    --border-color: #81a73d;
    --background-paper: #ffffff;
    --text-primary: rgba(0, 0, 0, 0.87);
    --text-secondary: rgba(0, 0, 0, 0.6);
    --divider: rgba(0, 0, 0, 0.12);

  }

/* Main container */
.suggestion-management-container {
    padding: 24px;
    margin: 40px 5vw 40px 5vw;
    min-height: 80vh;
    max-width: 80vw;
    place-self: center;
    background-color: var(--background-color);
    border: 1.5px solid var(--primary-color);
  }
  
  /* Title styling */
  .suggestion-management-title {
    font-weight: 700;
    color: var(--text-primary);
    
  }
  
  /* Grid container */
  .suggestions-grid {
    width: 100%;
  }
  
  /* Grid item */
  .suggestion-grid-item {
    min-height: 100%;
    width: 80vw;
  }
  
  /* Card styling */
  .suggestion-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--background-paper);
    border-radius: 8px;
    border: 1px solid var(--divider);
  }
  
  .suggestion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 3px 5px -1px rgba(0,0,0,0.2), 
                0px 5px 8px 0px rgba(0,0,0,0.14), 
                0px 1px 14px 0px rgba(0,0,0,0.12);
  }
  
  /* Card content */
  .card-content {
    flex-grow: 1;
    padding: 16px;
  }
  
  /* Subject text */
  .suggestion-subject {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary-color);
  }
  
  /* Content text */
  .suggestion-content {
    line-height: 1.6;
    color: var(--text-secondary);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
  }
  :root {
  --primary-color: #81a73d;
  --secondary-color: #4a6532;
  --background-color: #f9fcef;
  --box-shadow: 0 4px 12px rgba(129, 167, 61, 0.15);
  --border-color: #4a6532;
  --fixed-bg: #81a73d;
}

/* Background wrapper for both login and admin screens */
.background-wrapper {
  min-height: 100vh;
  background-color: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 2rem;
}

/* Panel container style shared by login and admin */
.quiz-manager, .login-container {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  color: var(--secondary-color);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  width: 100%;
  max-width: 1000px;
}

/* Header */
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.logout-btn {
  background-color: transparent;
  border: 2px solid var(--secondary-color);
  color: var(--secondary-color);
  padding: 0.4rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

h2 {
  font-size: 1.8rem;
}

/* Timer setting section */
.timer-setting {
  margin-bottom: 1.5rem;
}

.timer-setting input {
  margin-left: 0.5rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
}

.timer-setting button {
  margin-left: 0.5rem;
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.timer-setting button:hover {
  background-color: var(--secondary-color);
}

/* Input form */
.input-form {
  background: #fff;
  padding: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: var(--box-shadow);
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.input-form input {
  padding: 0.6rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
}

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

.input-form button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.input-form button:hover {
  background-color: var(--secondary-color);
}

.message {
  color: rgb(0, 0, 0);
  font-size: 0.95rem;
  margin-top: 0.5rem;
}

/* Quiz table */
.quiz-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: var(--box-shadow);
  border-radius: 8px;
  overflow: hidden;
}

.quiz-table th,
.quiz-table td {
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  text-align: left;
  vertical-align: top;
}

.quiz-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 600;
}

.quiz-table td {
  background-color: #fcfff9;
}

.quiz-table ul {
  padding-left: 1.2rem;
  margin: 0;
}

.quiz-table button {
  background-color: transparent;
  border: 1px solid var(--border-color);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  margin-right: 0.4rem;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.quiz-table button:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Login container overrides */
.login-container h2 {
  font-size: 1.8rem;
  color: var(--secondary-color);
}
.login-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh; /* full viewport height */
  text-align: center;
  gap: 1rem;
  background-color: var(--background-color);
}

.login-container h2 {
  font-size: 1.8rem;
  color: var(--secondary-color);
}

.login-container input {
  padding: 0.6rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  width: 100%;
  max-width: 300px;
  outline: none;
}

.login-container button {
  background-color: var(--primary-color);
  color: white;
  font-weight: bold;
  border: none;
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-container button:hover {
  background-color: var(--secondary-color);
}

.login-container .message {
  color: red;
  font-size: 0.95rem;
}
.career-framework-container {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  overflow: hidden;
  min-height: 0;
  scrollbar-width: auto;
  scrollbar-color: #888 #e0e0e0;
}

.career-framework-header {
  padding: 15px 40px;
  /* background-color: white;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
  text-align: center;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 10;
}

.career-framework-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.hierarchy-canvas {
  flex: 1;
  padding: 20px 100px 20px 100px;
  /* background-color: #fafafa; */
  min-height: 0;
  overflow: auto;
  scrollbar-width: auto;
  scrollbar-color: #888 #e0e0e0;
}

.hierarchy-content {
  min-width: max-content;
  min-height: max-content;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 20px 20px 20px;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 18px;
  color: #666;
}

.root-level {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.root-node {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tree-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.node-content-emp {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.employee-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-left: 4px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  width: 250px;
  min-width: 250px;
  max-width: 250px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.employee-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  border-color: #4a90e2;
}

.employee-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.connector-line-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.collapse-button-on-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #f5f5f5;
  color: #666;
  border: 1px solid #999;
  border-radius: 2px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  z-index: 10;
  font-size: 9px;
  font-weight: 600;
}

.collapse-button-on-line:hover {
  background: #e0e0e0;
  border-color: #666;
  color: #333;
}

.collapse-button-on-line svg {
  font-size: 12px;
}

.member-count-text {
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  color: #666;
}

.child-count-badge {
  margin-top: 8px;
  padding: 4px 12px;
  background: #f0f7ff;
  border: 1px solid #4a90e2;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  color: #4a90e2;
  text-align: center;
}

.employee-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e0e0e0;
}

.employee-info {
  flex: 1;
  min-width: 0;
}

.employee-name {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.employee-designation {
  margin: 2px 0;
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.employee-id {
  margin: 0;
  font-size: 11px;
  color: #999;
}

.connector-line {
  width: 2px;
  height: 30px;
  background-color: #d0d0d0;
  margin: 0 auto;
}

.children-container {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 0;
}

.children-wrapper {
  display: flex;
  gap: 40px;
  position: relative;
  padding-top: 30px;
  justify-content: center;
}

/* Horizontal connecting line between children - dynamically positioned by JavaScript */
.children-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  height: 2px;
  background-color: #d0d0d0;
  left: var(--line-left, 0);
  right: var(--line-right, 0);
}

/* Single child - no horizontal line */
.children-wrapper[data-child-count="1"]::before {
  display: none;
}

.child-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.vertical-line {
  width: 2px;
  height: 30px;
  background-color: #d0d0d0;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

/* Scrollbar styling */
.hierarchy-canvas::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

.hierarchy-canvas::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 7px;
  border: 1px solid #d0d0d0;
}

.hierarchy-canvas::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 7px;
  border: 2px solid #e0e0e0;
}

.hierarchy-canvas::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.hierarchy-canvas::-webkit-scrollbar-corner {
  background: #e0e0e0;
}

/* Color variations for different tree levels (rows) */
/* Level 0 - Top/Root - Purple */
.employee-card[data-level="0"] {
  border-left: 4px solid #9b59b6 !important;
}

/* Level 1 - Blue */
.employee-card[data-level="1"] {
  border-left: 4px solid #3498db !important;
}

/* Level 2 - Pink */
.employee-card[data-level="2"] {
  border-left: 4px solid #e91e63 !important;
}

/* Level 3 - Deep Purple */
.employee-card[data-level="3"] {
  border-left: 4px solid #9c27b0 !important;
}

/* Level 4 - Cyan */
.employee-card[data-level="4"] {
  border-left: 4px solid #00bcd4 !important;
}

/* Level 5 - Orange */
.employee-card[data-level="5"] {
  border-left: 4px solid #ff9800 !important;
}

/* Level 6 - Green */
.employee-card[data-level="6"] {
  border-left: 4px solid #4caf50 !important;
}

/* Level 7 - Red */
.employee-card[data-level="7"] {
  border-left: 4px solid #f44336 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hierarchy-canvas {
    padding: 20px;
  }
  
  .children-wrapper {
    gap: 20px;
  }
  
  .root-level {
    gap: 30px;
  }
  
  .employee-card {
    min-width: 160px;
    padding: 10px 12px;
  }
  
  .employee-avatar {
    width: 40px;
    height: 40px;
  }
}.org-chart-container {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  background-color: #f5f5f5;
  overflow: hidden;
  min-width: 0;
  min-height: 0;
  scrollbar-width: auto;
  scrollbar-color: #888 #e0e0e0;
  padding-left: 0;
}

.org-chart-header {
  padding: 15px 40px;
  /* background-color: white;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); */
  flex-shrink: 0;
  position: sticky;
  top: 0;
  background-color: #f5f5f5;
  z-index: 10;
}

.org-chart-header h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  color: #333;
}

.org-hierarchy-canvas {
  flex: 1;
  width: 100%;
  min-width: 0;
  padding: 24px;
  /* background-color: #fafafa; */
  min-height: 0;
  text-align: left;
  overflow: auto;
  box-sizing: border-box;
  padding-left: 140px;
}

.org-hierarchy-content {
  width: max-content;
  min-height: max-content;
  display: block;
  text-align: left;
  padding: 0;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  font-size: 18px;
  color: #666;
}

.org-chart-container .root-level {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  justify-content: flex-start;
}

.org-chart-container .root-node {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tree-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.node-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  margin-bottom: 30px;
}

.designation-card {
  background: white;
  border: 2px solid #e0e0e0;
  border-left: 4px solid #e0e0e0;
  border-radius: 8px;
  padding: 16px 20px;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.designation-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
  border-color: #4a90e2;
}

.designation-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.designation-info {
  flex: 1;
  min-width: 0;
}

.designation-name {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.designation-description {
  margin: 4px 0 0 0;
  font-size: 12px;
  color: #666;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.connector-line-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.collapse-button-on-line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #f5f5f5;
  color: #666;
  border: 1px solid #999;
  border-radius: 2px;
  width: 16px;
  height: 16px;
  min-width: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  z-index: 10;
  font-size: 9px;
  font-weight: 600;
}

.collapse-button-on-line:hover {
  background: #e0e0e0;
  border-color: #666;
  color: #333;
}

.collapse-button-on-line svg {
  font-size: 12px;
}

.member-count-text {
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  color: #666;
}

.connector-line {
  width: 2px;
  height: 30px;
  background-color: #d0d0d0;
  margin: 0 auto;
}

.children-container {
  display: flex;
  justify-content: center;
  position: relative;
  margin-top: 0;
}

.org-chart-container .children-wrapper {
  display: flex;
  gap: 40px;
  position: relative;
  padding-top: 30px;
  justify-content: center;
  /* overflow: visible; */
}

/* .children-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  height: 2px;
  background-color: #d0d0d0;
  left: var(--line-left, 50%);
  right: var(--line-right, 50%);
  min-width: 0;
} */

/* Horizontal connecting line between children - dynamically positioned by JavaScript */
.org-chart-container .children-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  height: 2px;
  background-color: #d0d0d0;
  left: var(--line-left, 0);
  right: var(--line-right, 0);
}

/* Single child - no horizontal line */
.org-chart-container .children-wrapper[data-child-count="1"]::before {
  display: none;
}

.child-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.vertical-line {
  width: 2px;
  height: 30px;
  background-color: #d0d0d0;
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
}

/* Scrollbar styling */
.org-hierarchy-canvas::-webkit-scrollbar {
  width: 14px;
  height: 14px;
}

.org-hierarchy-canvas::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 7px;
  border: 1px solid #d0d0d0;
}

.org-hierarchy-canvas::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 7px;
  border: 2px solid #e0e0e0;
}

.org-hierarchy-canvas::-webkit-scrollbar-thumb:hover {
  background: #555;
}

.org-hierarchy-canvas::-webkit-scrollbar-corner {
  background: #e0e0e0;
}

/* Color variations for different tree levels (rows) */
/* Level 0 - Top/Root - Purple */
.designation-card[data-level="0"] {
  border-left: 4px solid #9b59b6 !important;
}

/* Level 1 - Blue */
.designation-card[data-level="1"] {
  border-left: 4px solid #3498db !important;
}

/* Level 2 - Pink */
.designation-card[data-level="2"] {
  border-left: 4px solid #e91e63 !important;
}

/* Level 3 - Deep Purple */
.designation-card[data-level="3"] {
  border-left: 4px solid #9c27b0 !important;
}

/* Level 4 - Cyan */
.designation-card[data-level="4"] {
  border-left: 4px solid #00bcd4 !important;
}

/* Level 5 - Orange */
.designation-card[data-level="5"] {
  border-left: 4px solid #ff9800 !important;
}

/* Level 6 - Green */
.designation-card[data-level="6"] {
  border-left: 4px solid #4caf50 !important;
}

/* Level 7 - Red */
.designation-card[data-level="7"] {
  border-left: 4px solid #f44336 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .org-hierarchy-canvas {
    padding: 20px;
    padding-left: 140px;
  }
  
  .children-wrapper {
    gap: 20px;
  }
  
  .root-level {
    gap: 30px;
  }
  
  .designation-card {
    min-width: 160px;
    padding: 12px 16px;
  }
}
/*! tailwindcss v4.1.10 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-space-y-reverse: 0;
      --tw-space-x-reverse: 0;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-tracking: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-ease: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --color-red-500: oklch(63.7% .237 25.331);
    --color-red-600: oklch(57.7% .245 27.325);
    --color-red-700: oklch(50.5% .213 27.518);
    --color-yellow-500: oklch(79.5% .184 86.047);
    --color-green-300: oklch(87.1% .15 154.449);
    --color-green-400: oklch(79.2% .209 151.711);
    --color-green-600: oklch(62.7% .194 149.214);
    --color-green-700: oklch(52.7% .154 150.069);
    --color-blue-500: oklch(62.3% .214 259.815);
    --color-blue-600: oklch(54.6% .245 262.881);
    --color-blue-700: oklch(48.8% .243 264.376);
    --color-blue-800: oklch(42.4% .199 265.638);
    --color-gray-50: oklch(98.5% .002 247.839);
    --color-gray-100: oklch(96.7% .003 264.542);
    --color-gray-200: oklch(92.8% .006 264.531);
    --color-gray-300: oklch(87.2% .01 258.338);
    --color-gray-500: oklch(55.1% .027 264.364);
    --color-gray-600: oklch(44.6% .03 256.802);
    --color-gray-700: oklch(37.3% .034 259.733);
    --color-gray-800: oklch(27.8% .033 256.848);
    --color-black: #000;
    --color-white: #fff;
    --spacing: .25rem;
    --container-sm: 24rem;
    --container-md: 28rem;
    --container-xl: 36rem;
    --container-3xl: 48rem;
    --container-4xl: 56rem;
    --container-6xl: 72rem;
    --text-xs: .75rem;
    --text-xs--line-height: calc(1 / .75);
    --text-sm: .875rem;
    --text-sm--line-height: calc(1.25 / .875);
    --text-lg: 1.125rem;
    --text-lg--line-height: calc(1.75 / 1.125);
    --text-xl: 1.25rem;
    --text-xl--line-height: calc(1.75 / 1.25);
    --text-2xl: 1.5rem;
    --text-2xl--line-height: calc(2 / 1.5);
    --text-3xl: 1.875rem;
    --text-3xl--line-height: calc(2.25 / 1.875);
    --text-4xl: 2.25rem;
    --text-4xl--line-height: calc(2.5 / 2.25);
    --text-5xl: 3rem;
    --text-5xl--line-height: 1;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    --tracking-wide: .025em;
    --radius-md: .375rem;
    --radius-lg: .5rem;
    --radius-xl: .75rem;
    --ease-out: cubic-bezier(0, 0, .2, 1);
    --animate-bounce: bounce 1s infinite;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .relative {
    position: relative;
  }

  .-top-2 {
    top: calc(var(--spacing) * -2);
  }

  .top-0 {
    top: calc(var(--spacing) * 0);
  }

  .top-2 {
    top: calc(var(--spacing) * 2);
  }

  .-right-2 {
    right: calc(var(--spacing) * -2);
  }

  .right-0 {
    right: calc(var(--spacing) * 0);
  }

  .right-2 {
    right: calc(var(--spacing) * 2);
  }

  .z-10 {
    z-index: 10;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .m-0 {
    margin: calc(var(--spacing) * 0);
  }

  .mx-auto {
    margin-inline: auto;
  }

  .-mt-1 {
    margin-top: calc(var(--spacing) * -1);
  }

  .mt-1 {
    margin-top: calc(var(--spacing) * 1);
  }

  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }

  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }

  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }

  .mt-10 {
    margin-top: calc(var(--spacing) * 10);
  }

  .mr-50 {
    margin-right: calc(var(--spacing) * 50);
  }

  .mb-0 {
    margin-bottom: calc(var(--spacing) * 0);
  }

  .mb-1 {
    margin-bottom: calc(var(--spacing) * 1);
  }

  .mb-2 {
    margin-bottom: calc(var(--spacing) * 2);
  }

  .mb-3 {
    margin-bottom: calc(var(--spacing) * 3);
  }

  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }

  .mb-6 {
    margin-bottom: calc(var(--spacing) * 6);
  }

  .ml-4 {
    margin-left: calc(var(--spacing) * 4);
  }

  .ml-20 {
    margin-left: calc(var(--spacing) * 20);
  }

  .ml-40 {
    margin-left: calc(var(--spacing) * 40);
  }

  .ml-50 {
    margin-left: calc(var(--spacing) * 50);
  }

  .ml-auto {
    margin-left: auto;
  }

  .block {
    display: block;
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline-block {
    display: inline-block;
  }

  .h-6 {
    height: calc(var(--spacing) * 6);
  }

  .h-10 {
    height: calc(var(--spacing) * 10);
  }

  .h-14 {
    height: calc(var(--spacing) * 14);
  }

  .h-16 {
    height: calc(var(--spacing) * 16);
  }

  .h-48 {
    height: calc(var(--spacing) * 48);
  }

  .h-\[25vh\] {
    height: 25vh;
  }

  .h-\[40vh\] {
    height: 40vh;
  }

  .h-\[50vh\] {
    height: 50vh;
  }

  .h-\[calc\(80vh-90px\)\] {
    height: calc(80vh - 90px);
  }

  .h-full {
    height: 100%;
  }

  .h-screen {
    height: 100vh;
  }

  .min-h-screen {
    min-height: 100vh;
  }

  .w-1\/2 {
    width: 50%;
  }

  .w-6 {
    width: calc(var(--spacing) * 6);
  }

  .w-10 {
    width: calc(var(--spacing) * 10);
  }

  .w-14 {
    width: calc(var(--spacing) * 14);
  }

  .w-16 {
    width: calc(var(--spacing) * 16);
  }

  .w-40 {
    width: calc(var(--spacing) * 40);
  }

  .w-48 {
    width: calc(var(--spacing) * 48);
  }

  .w-50 {
    width: calc(var(--spacing) * 50);
  }

  .w-auto {
    width: auto;
  }

  .w-fit {
    width: fit-content;
  }

  .w-full {
    width: 100%;
  }

  .max-w-3xl {
    max-width: var(--container-3xl);
  }

  .max-w-4xl {
    max-width: var(--container-4xl);
  }

  .max-w-6xl {
    max-width: var(--container-6xl);
  }

  .max-w-md {
    max-width: var(--container-md);
  }

  .max-w-none {
    max-width: none;
  }

  .max-w-sm {
    max-width: var(--container-sm);
  }

  .max-w-xl {
    max-width: var(--container-xl);
  }

  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }

  .flex-1 {
    flex: 1;
  }

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

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .cursor-pointer {
    cursor: pointer;
  }

  .resize {
    resize: both;
  }

  .resize-none {
    resize: none;
  }

  .grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .flex-col {
    flex-direction: column;
  }

  .flex-row {
    flex-direction: row;
  }

  .items-center {
    align-items: center;
  }

  .items-start {
    align-items: flex-start;
  }

  .justify-between {
    justify-content: space-between;
  }

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

  .justify-start {
    justify-content: flex-start;
  }

  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }

  .gap-4 {
    gap: calc(var(--spacing) * 4);
  }

  .gap-6 {
    gap: calc(var(--spacing) * 6);
  }

  :where(.space-y-3 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 3) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-4 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 4) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-6 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-8 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 8) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 8) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-y-10 > :not(:last-child)) {
    --tw-space-y-reverse: 0;
    margin-block-start: calc(calc(var(--spacing) * 10) * var(--tw-space-y-reverse));
    margin-block-end: calc(calc(var(--spacing) * 10) * calc(1 - var(--tw-space-y-reverse)));
  }

  :where(.space-x-2 > :not(:last-child)) {
    --tw-space-x-reverse: 0;
    margin-inline-start: calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));
    margin-inline-end: calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)));
  }

  :where(.space-x-3 > :not(:last-child)) {
    --tw-space-x-reverse: 0;
    margin-inline-start: calc(calc(var(--spacing) * 3) * var(--tw-space-x-reverse));
    margin-inline-end: calc(calc(var(--spacing) * 3) * calc(1 - var(--tw-space-x-reverse)));
  }

  :where(.space-x-4 > :not(:last-child)) {
    --tw-space-x-reverse: 0;
    margin-inline-start: calc(calc(var(--spacing) * 4) * var(--tw-space-x-reverse));
    margin-inline-end: calc(calc(var(--spacing) * 4) * calc(1 - var(--tw-space-x-reverse)));
  }

  .overflow-hidden {
    overflow: hidden;
  }

  .rounded {
    border-radius: .25rem;
  }

  .rounded-full {
    border-radius: 3.40282e38px;
  }

  .rounded-lg {
    border-radius: var(--radius-lg);
  }

  .rounded-md {
    border-radius: var(--radius-md);
  }

  .rounded-xl {
    border-radius: var(--radius-xl);
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .border-2 {
    border-style: var(--tw-border-style);
    border-width: 2px;
  }

  .border-4 {
    border-style: var(--tw-border-style);
    border-width: 4px;
  }

  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }

  .border-\[\#4a6532\] {
    border-color: #4a6532;
  }

  .border-gray-200 {
    border-color: var(--color-gray-200);
  }

  .border-gray-300 {
    border-color: var(--color-gray-300);
  }

  .border-white {
    border-color: var(--color-white);
  }

  .border-yellow-500 {
    border-color: var(--color-yellow-500);
  }

  .bg-\[\#81a73d\] {
    background-color: #81a73d;
  }

  .bg-black\/50 {
    background-color: #00000080;
  }

  @supports (color: color-mix(in lab, red, red)) {
    .bg-black\/50 {
      background-color: color-mix(in oklab, var(--color-black) 50%, transparent);
    }
  }

  .bg-blue-500 {
    background-color: var(--color-blue-500);
  }

  .bg-blue-600 {
    background-color: var(--color-blue-600);
  }

  .bg-gray-50 {
    background-color: var(--color-gray-50);
  }

  .bg-gray-100 {
    background-color: var(--color-gray-100);
  }

  .bg-gray-200 {
    background-color: var(--color-gray-200);
  }

  .bg-red-500 {
    background-color: var(--color-red-500);
  }

  .bg-red-600 {
    background-color: var(--color-red-600);
  }

  .bg-white {
    background-color: var(--color-white);
  }

  .object-contain {
    object-fit: contain;
  }

  .object-cover {
    object-fit: cover;
  }

  .object-top {
    object-position: top;
  }

  .p-0\.5 {
    padding: calc(var(--spacing) * .5);
  }

  .p-1 {
    padding: calc(var(--spacing) * 1);
  }

  .p-2 {
    padding: calc(var(--spacing) * 2);
  }

  .p-3 {
    padding: calc(var(--spacing) * 3);
  }

  .p-4 {
    padding: calc(var(--spacing) * 4);
  }

  .p-5 {
    padding: calc(var(--spacing) * 5);
  }

  .p-6 {
    padding: calc(var(--spacing) * 6);
  }

  .p-8 {
    padding: calc(var(--spacing) * 8);
  }

  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }

  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }

  .px-3 {
    padding-inline: calc(var(--spacing) * 3);
  }

  .px-4 {
    padding-inline: calc(var(--spacing) * 4);
  }

  .px-6 {
    padding-inline: calc(var(--spacing) * 6);
  }

  .px-10 {
    padding-inline: calc(var(--spacing) * 10);
  }

  .py-0\.5 {
    padding-block: calc(var(--spacing) * .5);
  }

  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }

  .py-2 {
    padding-block: calc(var(--spacing) * 2);
  }

  .pt-2 {
    padding-top: calc(var(--spacing) * 2);
  }

  .pt-5 {
    padding-top: calc(var(--spacing) * 5);
  }

  .pr-2 {
    padding-right: calc(var(--spacing) * 2);
  }

  .pb-1 {
    padding-bottom: calc(var(--spacing) * 1);
  }

  .pb-2 {
    padding-bottom: calc(var(--spacing) * 2);
  }

  .pb-3 {
    padding-bottom: calc(var(--spacing) * 3);
  }

  .pb-4 {
    padding-bottom: calc(var(--spacing) * 4);
  }

  .pb-5 {
    padding-bottom: calc(var(--spacing) * 5);
  }

  .pb-7 {
    padding-bottom: calc(var(--spacing) * 7);
  }

  .pl-2 {
    padding-left: calc(var(--spacing) * 2);
  }

  .pl-3 {
    padding-left: calc(var(--spacing) * 3);
  }

  .pl-25 {
    padding-left: calc(var(--spacing) * 25);
  }

  .text-center {
    text-align: center;
  }

  .text-left {
    text-align: left;
  }

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

  .text-2xl {
    font-size: var(--text-2xl);
    line-height: var(--tw-leading, var(--text-2xl--line-height));
  }

  .text-3xl {
    font-size: var(--text-3xl);
    line-height: var(--tw-leading, var(--text-3xl--line-height));
  }

  .text-4xl {
    font-size: var(--text-4xl);
    line-height: var(--tw-leading, var(--text-4xl--line-height));
  }

  .text-5xl {
    font-size: var(--text-5xl);
    line-height: var(--tw-leading, var(--text-5xl--line-height));
  }

  .text-lg {
    font-size: var(--text-lg);
    line-height: var(--tw-leading, var(--text-lg--line-height));
  }

  .text-sm {
    font-size: var(--text-sm);
    line-height: var(--tw-leading, var(--text-sm--line-height));
  }

  .text-xl {
    font-size: var(--text-xl);
    line-height: var(--tw-leading, var(--text-xl--line-height));
  }

  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }

  .font-bold {
    --tw-font-weight: var(--font-weight-bold);
    font-weight: var(--font-weight-bold);
  }

  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }

  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }

  .tracking-wide {
    --tw-tracking: var(--tracking-wide);
    letter-spacing: var(--tracking-wide);
  }

  .whitespace-pre-line {
    white-space: pre-line;
  }

  .text-blue-600 {
    color: var(--color-blue-600);
  }

  .text-gray-500 {
    color: var(--color-gray-500);
  }

  .text-gray-600 {
    color: var(--color-gray-600);
  }

  .text-gray-700 {
    color: var(--color-gray-700);
  }

  .text-gray-800 {
    color: var(--color-gray-800);
  }

  .text-green-600 {
    color: var(--color-green-600);
  }

  .text-white {
    color: var(--color-white);
  }

  .underline {
    text-decoration-line: underline;
  }

  .opacity-0 {
    opacity: 0;
  }

  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-md {
    --tw-shadow: 0 4px 6px -1px var(--tw-shadow-color, #0000001a), 0 2px 4px -2px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-sm {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, #0000001a), 0 1px 2px -1px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .shadow-xl {
    --tw-shadow: 0 20px 25px -5px var(--tw-shadow-color, #0000001a), 0 8px 10px -6px var(--tw-shadow-color, #0000001a);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .blur {
    --tw-blur: blur(8px);
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, visibility, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .transition-opacity {
    transition-property: opacity;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }

  .ease-out {
    --tw-ease: var(--ease-out);
    transition-timing-function: var(--ease-out);
  }

  @media (hover: hover) {
    .group-hover\:opacity-100:is(:where(.group):hover *) {
      opacity: 1;
    }

    .hover\:animate-bounce:hover {
      animation: var(--animate-bounce);
    }

    .hover\:overflow-y-auto:hover {
      overflow-y: auto;
    }

    .hover\:scroll-smooth:hover {
      scroll-behavior: smooth;
    }

    .hover\:bg-black\/75:hover {
      background-color: #000000bf;
    }

    @supports (color: color-mix(in lab, red, red)) {
      .hover\:bg-black\/75:hover {
        background-color: color-mix(in oklab, var(--color-black) 75%, transparent);
      }
    }

    .hover\:bg-blue-700:hover {
      background-color: var(--color-blue-700);
    }

    .hover\:bg-gray-300:hover {
      background-color: var(--color-gray-300);
    }

    .hover\:bg-green-300:hover {
      background-color: var(--color-green-300);
    }

    .hover\:bg-green-600:hover {
      background-color: var(--color-green-600);
    }

    .hover\:bg-green-700:hover {
      background-color: var(--color-green-700);
    }

    .hover\:bg-red-700:hover {
      background-color: var(--color-red-700);
    }

    .hover\:text-blue-800:hover {
      color: var(--color-blue-800);
    }

    .hover\:shadow-lg:hover {
      --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, #0000001a), 0 4px 6px -4px var(--tw-shadow-color, #0000001a);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }

  .focus\:ring-2:focus {
    --tw-ring-shadow: var(--tw-ring-inset, ) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }

  .focus\:ring-green-400:focus {
    --tw-ring-color: var(--color-green-400);
  }

  .focus\:outline-none:focus {
    --tw-outline-style: none;
    outline-style: none;
  }

  @media (min-width: 40rem) {
    .sm\:grid-cols-2 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (min-width: 48rem) {
    .md\:grid-cols-3 {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }
}

.font-times {
  font-family: Times New Roman, Times, serif;
}

.font-ariel {
  font-family: Arial, Helvetica, sans-serif;
}

.text-lgreen {
  color: #81a73d;
}

.text-dgreen {
  color: #4a6532;
}

.text-light {
  color: #f9fcef;
}

.bg-lgreen {
  background-color: #81a73d;
}

.bg-light {
  background-color: #f9fcef;
}

.bg-dgreen {
  background-color: #4a6532;
}

.border-lgreen {
  border-color: #81a73d;
}

.border-dgreen {
  border-color: #4a6532;
}

.shadow-lgreen {
  box-shadow: 0 3px 8px #81a73d40;
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-space-y-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-space-x-reverse {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-font-weight {
  syntax: "*";
  inherits: false
}

@property --tw-tracking {
  syntax: "*";
  inherits: false
}

@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false
}

@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-ring-inset {
  syntax: "*";
  inherits: false
}

@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0;
}

@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}

@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-ease {
  syntax: "*";
  inherits: false
}

@keyframes bounce {
  0%, 100% {
    animation-timing-function: cubic-bezier(.8, 0, 1, 1);
    transform: translateY(-25%);
  }

  50% {
    animation-timing-function: cubic-bezier(0, 0, .2, 1);
    transform: none;
  }
}
