/* Volunteers Page Stylesheet */

.points-section {
  padding: 130px 1.5rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.points-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.points-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.points-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-family: var(--font-heading);
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: initial;
}

.points-header p {
  color: var(--color-text-secondary);
  font-size: 1rem;
  line-height: 1.5;
}

.table-wrapper {
  background: rgba(20, 15, 50, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.points-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.points-table th {
  padding: 0.6rem 0.85rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.points-table td {
  padding: 0.6rem 0.85rem;
  vertical-align: top;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  line-height: 1.4;
}

.points-table td a {
  color: #a58aff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(165, 138, 255, 0.4);
  transition: all var(--transition-normal);
}

.points-table td a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

.points-table tr:last-child td {
  border-bottom: none;
}

.points-table tr {
  transition: background-color var(--transition-normal);
}

.points-table tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.col-activity {
  width: 30%;
}

.col-description {
  width: 55%;
}

.col-positive {
  width: 15%;
}

.col-penalty,
.cell-penalty,
th.col-penalty,
td.col-penalty,
th.cell-penalty,
td.cell-penalty,
[data-label*="Negative"],
[data-label*="Penalty"],
.points-badge.badge-negative,
.penalty-desc {
  display: none !important;
}

.activity-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: #fff;
}

.activity-desc {
  color: var(--color-text-secondary);
}

.activity-desc .note {
  display: block;
  font-size: 0.85rem;
  color: #a58aff;
  opacity: 0.85;
  margin-top: 0.25rem;
  font-style: italic;
}

.points-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 45px;
  padding: 0.5rem 0.8rem;
  border-radius: 30px;
  background: linear-gradient(135deg, rgba(71, 33, 209, 0.3) 0%, rgba(32, 19, 113, 0.3) 100%);
  border: 1px solid rgba(165, 138, 255, 0.3);
  color: #ffffff;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
}

.points-badge.badge-positive {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
  border: 1px solid rgba(52, 211, 153, 0.3);
  color: #34d399;
}

.points-badge.badge-negative {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: #f87171;
}

.points-badge.badge-neutral {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--color-text-secondary);
}

.points-table tr:hover .points-badge {
  background: linear-gradient(135deg, rgba(71, 33, 209, 0.6) 0%, rgba(32, 19, 113, 0.6) 100%);
  border-color: rgba(165, 138, 255, 0.6);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(71, 33, 209, 0.4);
}

.points-table tr:hover .points-badge.badge-positive {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.3) 100%);
  border-color: rgba(52, 211, 153, 0.6);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}

.points-table tr:hover .points-badge.badge-negative {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.3) 0%, rgba(220, 38, 38, 0.3) 100%);
  border-color: rgba(248, 113, 113, 0.6);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.points-table tr:hover .points-badge.badge-neutral {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.1) 100%);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.badge-max {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.8;
  white-space: nowrap;
  margin-top: 0.1rem;
}

.penalty-desc {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 0.5rem;
  font-style: italic;
  line-height: 1.45;
}

/* Responsiveness */
@media (max-width: 768px) {
  .points-section {
    padding: 5rem 1rem 2rem;
  }
  
  .table-wrapper {
    padding: 0.75rem;
    border-radius: 12px;
  }
  
  .points-table th, .points-table td {
    padding: 1rem 0.75rem;
    font-size: 0.9rem;
  }
  
  .points-badge {
    min-width: 35px;
    padding: 0.4rem 0.6rem;
  }
  
  .activity-desc .note {
    font-size: 0.8rem;
  }
}

/* Volunteers List Section */
.volunteers-section {
  padding: 4rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Search Bar styling */
.search-container {
  position: relative;
  max-width: 500px;
  margin: 0 auto 2.5rem;
  display: flex;
  align-items: center;
}

.search-icon {
  position: absolute;
  left: 1.25rem;
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  pointer-events: none;
  transition: color var(--transition-normal);
  z-index: 2;
}

#volunteer-search {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3.25rem;
  border-radius: 50px;
  background: rgba(20, 15, 50, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
}

#volunteer-search:focus {
  border-color: #a58aff;
  box-shadow: 0 0 15px rgba(165, 138, 255, 0.3), 0 4px 20px rgba(0, 0, 0, 0.3);
}

#volunteer-search:focus + .search-icon {
  color: #a58aff;
}

#volunteer-search::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.volunteers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.volunteer-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  border-radius: 16px;
  background: rgba(20, 15, 50, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.volunteer-avatar-wrapper {
  flex-shrink: 0;
}

.volunteer-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Premium Gradients for Avatars */
.avatar-grad-1 { background: linear-gradient(135deg, #a58aff 0%, #4721d1 100%); }
.avatar-grad-2 { background: linear-gradient(135deg, #ff9900 0%, #ff5500 100%); }
.avatar-grad-3 { background: linear-gradient(135deg, #00b4db 0%, #0083b0 100%); }
.avatar-grad-4 { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.avatar-grad-5 { background: linear-gradient(135deg, #ea384d 0%, #d31027 100%); }
.avatar-grad-6 { background: linear-gradient(135deg, #f4c4f3 0%, #fc67fa 100%); }

.volunteer-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  flex-grow: 1;
}

.volunteer-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  transition: color 0.3s ease;
}

.volunteer-role {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.volunteer-link-icon {
  color: rgba(255, 255, 255, 0.3);
  font-size: 1.15rem;
  transition: all 0.3s ease;
  margin-left: auto;
}

/* Hover effects */
.volunteer-card:hover {
  background: rgba(165, 138, 255, 0.08);
  border-color: rgba(165, 138, 255, 0.3);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(165, 138, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.volunteer-card:hover .volunteer-avatar {
  transform: scale(1.08) rotate(5deg);
}

.volunteer-card:hover .volunteer-name {
  color: #a58aff;
}

.volunteer-card:hover .volunteer-link-icon {
  color: #0077b5;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .volunteers-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
  }
}

@media (max-width: 480px) {
  .volunteers-grid {
    grid-template-columns: 1fr;
  }
  .volunteer-card {
    padding: 0.9rem 1.1rem;
    gap: 1rem;
  }
}



/* Google Sheet Embed Section */
.sheet-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sheet-wrapper {
  background: rgba(20, 15, 50, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.sheet-actions {
  display: flex;
  justify-content: flex-end;
}

.sheet-actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.iframe-container {
  position: relative;
  width: 100%;
  height: 600px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.2);
}

.iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .sheet-section {
    padding: 3rem 1rem;
  }
  
  .sheet-wrapper {
    padding: 1rem;
  }
  
  .iframe-container {
    height: 450px;
  }
}

/* Password Protection Section */
.password-section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px - 150px);
  padding: 4rem 2rem;
}

.password-container {
  background: rgba(20, 15, 50, 0.5);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

.password-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(196, 181, 253, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.lock-icon {
  font-size: 2.2rem;
  color: #c4b5fd;
  margin-bottom: 1rem;
  animation: lock-float 3s ease-in-out infinite;
}

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

.password-header h1 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: #ffffff;
  background: none;
  -webkit-text-fill-color: initial;
}

.password-header p {
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.password-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.password-form input[type="password"] {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-normal);
  text-align: center;
  font-family: inherit;
}

.password-form input[type="password"]:focus {
  border-color: #c4b5fd;
  box-shadow: 0 0 12px rgba(196, 181, 253, 0.25);
}

.password-form button {
  padding: 0.75rem;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: var(--color-aws-orange);
  border: 1px solid var(--color-aws-orange);
  color: #fff;
  transition: all var(--transition-normal);
  box-shadow: 0 4px 14px rgba(71, 33, 209, 0.3);
}

.password-form button:hover {
  background: var(--color-aws-orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(71, 33, 209, 0.5);
}

.error-message {
  color: #ff4a4a;
  font-size: 0.9rem;
  margin-top: 1.25rem;
  min-height: 20px;
  font-weight: 500;
  transition: opacity 0.3s ease;
}

/* Mobile Responsive Points Table */
@media (max-width: 600px) {
  .points-table, 
  .points-table thead, 
  .points-table tbody, 
  .points-table th, 
  .points-table td, 
  .points-table tr {
    display: block;
  }
  
  .points-table thead {
    display: none;
  }
  
  .points-table tr {
    margin-bottom: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.015);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  }
  
  .points-table tr:last-child {
    margin-bottom: 0;
  }
  
  .points-table td {
    padding: 0.5rem 0;
    border-bottom: none;
    font-size: 0.95rem;
    width: 100% !important;
    text-align: left !important;
  }
  
  .points-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #a58aff;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
  }
  
  .points-badge {
    margin-top: 0.25rem;
    transform: none !important;
  }
}

/* Update Notice Card */
.update-notice-card {
  max-width: 1200px;
  margin: 7rem auto 0; /* Clear fixed navbar */
  padding: 1.25rem 1.75rem;
  background: rgba(165, 138, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(165, 138, 255, 0.2);
  border-left: 4px solid var(--color-aws-orange);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-normal);
}

.update-notice-card:hover {
  border-left-color: #ff9900;
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(165, 138, 255, 0.1);
}

.update-notice-icon {
  font-size: 1.5rem;
  color: var(--color-aws-orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.update-notice-content {
  color: #e2daff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  font-family: var(--font-heading);
}

/* Adjust top padding of content when notice is visible to prevent double-spacing */
.update-notice-card ~ #volunteers-main .points-section {
  padding-top: 2rem;
}

/* Extra responsiveness for mobile devices */
@media (max-width: 768px) {
  .update-notice-card {
    margin: 6.5rem 1rem 0; /* Align with navbar spacing on mobile */
    padding: 1rem 1.25rem;
    gap: 0.9rem;
    align-items: flex-start; /* Top-align icon for wrapped text */
  }
  .update-notice-icon {
    font-size: 1.25rem;
    margin-top: 0.15rem; /* Align icon nicely with text line */
  }
  .update-notice-content {
    font-size: 0.9rem;
  }
  .update-notice-card ~ #volunteers-main .points-section {
    padding-top: 1.5rem;
  }
  .points-container {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .password-section {
    padding: 2rem 1rem;
  }
  .password-container {
    padding: 2.5rem 1.5rem;
  }
}

/* Notice Cards Container */
.points-cards-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

/* Points Milestone Card */
.points-milestone-card {
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.08) 0%, rgba(255, 153, 0, 0.02) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 153, 0, 0.25);
  border-left: 4px solid var(--color-aws-orange);
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.5rem;
  transition: all var(--transition-normal);
  max-width: 1200px;
  width: 100%;
}

.points-milestone-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(255, 153, 0, 0.15);
  border-color: rgba(255, 153, 0, 0.4);
}

.milestone-icon {
  font-size: 1.5rem;
  color: var(--color-aws-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: star-pulse 2s infinite ease-in-out;
}

@keyframes star-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

.milestone-content {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  font-family: var(--font-heading);
}

.milestone-content strong {
  color: var(--color-aws-orange);
}

@media (max-width: 768px) {
  .points-milestone-card {
    padding: 1rem 1.25rem;
    gap: 0.9rem;
    align-items: flex-start;
  }
  .milestone-icon {
    font-size: 1.25rem;
    margin-top: 0.15rem;
  }
  .milestone-content {
    font-size: 0.9rem;
  }
}

/* Points Requirement Card */
.points-requirement-card {
  background: linear-gradient(135deg, rgba(165, 138, 255, 0.08) 0%, rgba(165, 138, 255, 0.02) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(165, 138, 255, 0.25);
  border-left: 4px solid #a58aff;
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  margin-bottom: 0.5rem;
  transition: all var(--transition-normal);
  max-width: 1200px;
  width: 100%;
}

.points-requirement-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(165, 138, 255, 0.15);
  border-color: rgba(165, 138, 255, 0.4);
}

.requirement-icon {
  font-size: 1.5rem;
  color: #a58aff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: requirement-pulse 2s infinite ease-in-out;
}

@keyframes requirement-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.85; }
}

.requirement-content {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
  font-family: var(--font-heading);
}

.requirement-content strong {
  color: #a58aff;
}

.requirement-content a {
  color: #a58aff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(165, 138, 255, 0.4);
  transition: all var(--transition-normal);
}

.requirement-content a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

@media (max-width: 768px) {
  .points-requirement-card {
    padding: 1rem 1.25rem;
    gap: 0.9rem;
    align-items: flex-start;
  }
  .requirement-icon {
    font-size: 1.25rem;
    margin-top: 0.15rem;
  }
  .requirement-content {
    font-size: 0.9rem;
  }
}/* Social Links Inline List (Requirement Card) */
.social-links-inline {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  margin-left: 0.25rem;
}

.social-links-inline a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  color: #a58aff;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px dashed rgba(165, 138, 255, 0.4);
  transition: all var(--transition-normal);
}

.social-links-inline a:hover {
  color: #fff;
  border-bottom-color: #fff;
}

/* Leaderboard Section & Accordion Styles */
.leaderboard-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.leaderboard-wrapper {
  background: rgba(20, 15, 50, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.accordion-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.accordion-item {
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.01);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.accordion-item:hover {
  border-color: rgba(165, 138, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.accordion-header {
  width: 100%;
  padding: 0.85rem 1.15rem;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  outline: none;
  transition: background-color var(--transition-normal);
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.leaderboard-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a58aff 0%, #4721d1 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.leaderboard-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff;
  transition: color var(--transition-normal);
}

.volunteer-code {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #c4b5fd;
  background: rgba(196, 181, 253, 0.12);
  border: 1px solid rgba(196, 181, 253, 0.25);
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  margin-left: 0.5rem;
  vertical-align: middle;
  letter-spacing: 0.5px;
  font-family: monospace;
}

.accordion-header:hover .leaderboard-name,
.accordion-header.active .leaderboard-name {
  color: #c4b5fd;
}

.accordion-header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.points-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff !important;
  font-family: var(--font-heading);
}

.total-points-badge {
  background: linear-gradient(135deg, rgba(71, 33, 209, 0.4) 0%, rgba(32, 19, 113, 0.4) 100%);
  border: 1px solid rgba(196, 181, 253, 0.35);
  color: #ffffff !important;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: var(--font-heading);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.accordion-icon {
  color: var(--color-text-secondary);
  font-size: 1rem;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), color var(--transition-normal);
}

.accordion-header:hover .accordion-icon {
  color: #fff;
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(0, 0, 0, 0.15);
}

.accordion-panel-content {
  padding: 1rem 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Leaderboard Table Styles */
.leaderboard-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.leaderboard-table th {
  padding: 0.6rem 0.85rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  color: #fff;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.leaderboard-table td {
  padding: 0.6rem 0.85rem;
  vertical-align: middle;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.88rem;
  color: #fff;
}

.leaderboard-table tr:last-child td {
  border-bottom: none;
}

.leaderboard-table .cell-total {
  font-weight: 700;
  color: #ffffff;
}

.leaderboard-table th.col-month,
.leaderboard-table td[data-label="Month"] {
  font-weight: 600;
  color: #fff;
}

/* Accordion Mobile Responsiveness */
@media (max-width: 768px) {
  .leaderboard-section {
    padding: 3rem 1rem;
  }
  .leaderboard-wrapper {
    padding: 1rem;
  }
  .accordion-header {
    padding: 1rem 1.25rem;
  }
  .leaderboard-name {
    font-size: 1rem;
  }
  .leaderboard-avatar {
    width: 32px;
    height: 32px;
    font-size: 0.75rem;
  }
  .total-points-badge {
    font-size: 0.75rem;
    padding: 0.3rem 0.6rem;
  }
  .accordion-panel-content {
    padding: 1rem;
  }
  .leaderboard-table th, 
  .leaderboard-table td {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }
}

/* Combined Leaderboard Details Styles */
.leaderboard-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.leaderboard-role {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.leaderboard-linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 119, 181, 0.15);
  border: 1px solid rgba(0, 119, 181, 0.3);
  color: #00a0dc;
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
  z-index: 5;
}

.leaderboard-linkedin-btn:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0, 119, 181, 0.3);
}

.leaderboard-loading {
  text-align: center;
  color: var(--color-text-secondary);
  font-style: italic;
  padding: 1rem;
}

@media (max-width: 480px) {
  .leaderboard-linkedin-btn {
    padding: 0.35rem 0.6rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 600px) {
  .accordion-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1.25rem 1rem;
  }

  .accordion-header-left {
    width: 100%;
  }

  .accordion-header-right {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 0.75rem;
  }

  /* Make the chevron align right, and LinkedIn / Points badge align left */
  .accordion-header-right .accordion-icon {
    margin-left: auto;
  }

  /* Compact LinkedIn button on mobile */
  .leaderboard-linkedin-btn {
    padding: 0 !important;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    justify-content: center;
    font-size: 0 !important; /* Hide text */
    gap: 0 !important;
  }

  .leaderboard-linkedin-btn i {
    font-size: 1rem;
    margin: 0;
  }
}

/* Leaderboard Tiers & Show More Styles */
.leaderboard-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 auto 2.5rem;
  max-width: 600px;
}

.tab-btn {
  padding: 0.6rem 1.25rem;
  border-radius: 30px;
  background: rgba(20, 15, 50, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--color-text-secondary);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
}

.tab-btn:hover {
  border-color: rgba(165, 138, 255, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.tab-btn.active {
  background: linear-gradient(135deg, rgba(165, 138, 255, 0.2) 0%, rgba(71, 33, 209, 0.2) 100%);
  border-color: #a58aff;
  color: #fff;
  box-shadow: 0 0 15px rgba(165, 138, 255, 0.25), 0 4px 15px rgba(0, 0, 0, 0.2);
}

.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.load-more-btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  background: transparent;
  border: 2px solid #a58aff;
  color: #fff;
  font-family: var(--font-heading);
  box-shadow: 0 4px 15px rgba(165, 138, 255, 0.15);
  transition: all var(--transition-normal);
}

.load-more-btn:hover {
  background: #a58aff;
  border-color: #a58aff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(165, 138, 255, 0.4);
}

/* Copy Code Button Styles */
.volunteer-code-container {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  vertical-align: middle;
}

.copy-code-btn {
  background: transparent;
  border: none;
  color: var(--color-text-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  opacity: 0.6;
}

.copy-code-btn:hover {
  color: #a58aff;
  opacity: 1;
  transform: scale(1.1);
}

/* Leaderboard Badges Container */
.leaderboard-badges-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.35rem;
}

/* Base Volunteer Badge Style */
.vol-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 0.18rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  line-height: 1;
}

.vol-badge:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

/* Custom Role Badge (AWS UG Kolkata Leader, etc.) */
.vol-badge.badge-role {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(109, 40, 217, 0.15) 100%);
  border: 1px solid rgba(167, 139, 250, 0.35);
  color: #c4b5fd;
}

.vol-badge.badge-role:hover {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.3) 0%, rgba(109, 40, 217, 0.3) 100%);
  border-color: rgba(167, 139, 250, 0.6);
  color: #fff;
}

/* Active Volunteer Badge */
.vol-badge.badge-active-vol {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12) 0%, rgba(5, 150, 105, 0.12) 100%);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #34d399;
}

.vol-badge.badge-active-vol:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22) 0%, rgba(5, 150, 105, 0.22) 100%);
  border-color: rgba(52, 211, 153, 0.55);
  color: #fff;
}

/* Inactive Volunteer Badge */
.vol-badge.badge-inactive {
  background: linear-gradient(135deg, rgba(75, 85, 99, 0.15) 0%, rgba(55, 65, 81, 0.15) 100%);
  border: 1px solid rgba(156, 163, 175, 0.25);
  color: #9ca3af;
}

.vol-badge.badge-inactive:hover {
  background: linear-gradient(135deg, rgba(75, 85, 99, 0.25) 0%, rgba(55, 65, 81, 0.25) 100%);
  border-color: rgba(156, 163, 175, 0.45);
  color: #fff;
}

/* 100+ Points Badge */
.vol-badge.badge-100 {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(29, 78, 216, 0.12) 100%);
  border: 1px solid rgba(96, 165, 250, 0.35);
  color: #93c5fd;
}

.vol-badge.badge-100:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.22) 0%, rgba(29, 78, 216, 0.22) 100%);
  border-color: rgba(96, 165, 250, 0.55);
  color: #fff;
}

/* 200+ Points Badge */
.vol-badge.badge-200 {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.12) 0%, rgba(13, 148, 136, 0.12) 100%);
  border: 1px solid rgba(45, 212, 191, 0.35);
  color: #99f6e4;
}

.vol-badge.badge-200:hover {
  background: linear-gradient(135deg, rgba(45, 212, 191, 0.22) 0%, rgba(13, 148, 136, 0.22) 100%);
  border-color: rgba(45, 212, 191, 0.55);
  color: #fff;
}

/* 300+ Points Badge */
.vol-badge.badge-300 {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(180, 83, 9, 0.12) 100%);
  border: 1px solid rgba(251, 191, 36, 0.35);
  color: #fde047;
}

.vol-badge.badge-300:hover {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.22) 0%, rgba(180, 83, 9, 0.22) 100%);
  border-color: rgba(251, 191, 36, 0.55);
  color: #fff;
}

/* 400+ Points Badge */
.vol-badge.badge-400 {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12) 0%, rgba(194, 65, 12, 0.12) 100%);
  border: 1px solid rgba(251, 146, 60, 0.35);
  color: #fed7aa;
}

.vol-badge.badge-400:hover {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.22) 0%, rgba(194, 65, 12, 0.22) 100%);
  border-color: rgba(251, 146, 60, 0.55);
  color: #fff;
}

/* 500+ Points Badge (Glowing Premium Capsule) */
.vol-badge.badge-500 {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15) 0%, rgba(219, 39, 119, 0.15) 50%, rgba(245, 158, 11, 0.15) 100%);
  border: 1px solid rgba(244, 63, 94, 0.45);
  color: #fecdd3;
  box-shadow: 0 0 10px rgba(236, 72, 153, 0.25);
  animation: badgeGlow 4s infinite alternate;
}

.vol-badge.badge-500:hover {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.3) 0%, rgba(219, 39, 119, 0.3) 50%, rgba(245, 158, 11, 0.3) 100%);
  border-color: rgba(244, 63, 94, 0.7);
  color: #fff;
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.5);
}

@keyframes badgeGlow {
  0% {
    box-shadow: 0 0 8px rgba(236, 72, 153, 0.2), inset 0 0 4px rgba(236, 72, 153, 0.1);
  }
  100% {
    box-shadow: 0 0 16px rgba(236, 72, 153, 0.45), inset 0 0 8px rgba(236, 72, 153, 0.2);
  }
}





/* =============================================
   Volunteers Hero Section
   ============================================= */

.volunteers-hero {
  position: relative;
  padding: 8rem 2rem 4rem;
  text-align: center;
  overflow: hidden;
}

.volunteers-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(71, 33, 209, 0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(255, 153, 0, 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.volunteers-hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.volunteers-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 153, 0, 0.1);
  border: 1px solid rgba(255, 153, 0, 0.3);
  color: var(--color-aws-orange);
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-heading);
  letter-spacing: 0.3px;
}

.volunteers-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  margin: 0;
}

.volunteers-hero-accent {
  background: linear-gradient(135deg, #ff9900 0%, #ff5500 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.volunteers-hero-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 580px;
  margin: 0;
}

.volunteers-hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.hero-stat-number {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

@media (max-width: 768px) {
  .volunteers-hero {
    padding: 6.5rem 1.25rem 3rem;
  }
  .volunteers-hero-title {
    font-size: clamp(1.75rem, 7vw, 2.5rem);
  }
  .volunteers-hero-subtitle {
    font-size: 1rem;
  }
  .volunteers-hero-stats {
    gap: 1.25rem;
  }
  .hero-stat-number {
    font-size: 1.5rem;
  }
  .hero-stat-divider {
    height: 28px;
  }
}

@media (max-width: 480px) {
  .volunteers-hero-stats {
    gap: 1.5rem;
  }
  .volunteers-hero-stats .hero-stat:first-child {
    flex-basis: 100%;
    margin-bottom: 0.5rem;
  }
  .volunteers-hero-stats .hero-stat-divider:first-of-type {
    display: none;
  }
  .volunteers-hero-stats .hero-stat-divider:last-of-type {
    display: block;
    height: 28px;
  }
}

/* Volunteers Page Light Mode Overrides */
body.light-theme .points-header h1 {
  color: #0f172a !important;
  background: none !important;
  -webkit-background-clip: unset !important;
  background-clip: unset !important;
  -webkit-text-fill-color: #0f172a !important;
}
body.light-theme .section-header h2 {
  color: var(--color-text-primary) !important;
}
body.light-theme .section-subtitle {
  color: var(--color-text-secondary) !important;
}
body.light-theme .hr-line {
  background: rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .leaderboard-loading {
  color: var(--color-text-secondary) !important;
}
body.light-theme .leaderboard-wrapper {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03) !important;
}
body.light-theme .table-wrapper {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03) !important;
}
body.light-theme .points-table th {
  color: var(--color-text-primary) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .points-table td {
  color: var(--color-text-secondary) !important;
  border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}
body.light-theme .points-table td strong {
  color: var(--color-text-primary) !important;
}
body.light-theme .points-table tr:hover {
  background-color: rgba(0, 0, 0, 0.01) !important;
}
body.light-theme .points-badge.badge-positive {
  background: rgba(16, 185, 129, 0.12) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #047857 !important;
}
body.light-theme .cell-positive {
  color: #0f172a !important;
}
body.light-theme .accordion-item {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01) !important;
}
body.light-theme .accordion-item.active {
  border-color: rgba(165, 138, 255, 0.4) !important;
  box-shadow: 0 0 15px rgba(165, 138, 255, 0.06), 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}
body.light-theme .accordion-header-left .leaderboard-name {
  color: var(--color-text-primary) !important;
}
body.light-theme .accordion-panel {
  background: rgba(0, 0, 0, 0.02) !important;
  border-top-color: rgba(0, 0, 0, 0.05) !important;
}
body.light-theme .tab-btn {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: var(--color-text-secondary) !important;
}
body.light-theme .tab-btn.active {
  background: var(--color-aws-orange) !important;
  border-color: var(--color-aws-orange) !important;
  color: #ffffff !important;
}
body.light-theme .search-container input {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: var(--color-text-primary) !important;
}
body.light-theme .search-container input:focus {
  border-color: var(--color-aws-orange) !important;
  box-shadow: 0 0 0 3px rgba(71, 33, 209, 0.15) !important;
}
body.light-theme .points-milestone-card {
  background: linear-gradient(135deg, rgba(165, 138, 255, 0.06) 0%, rgba(165, 138, 255, 0.01) 100%) !important;
  border-color: rgba(165, 138, 255, 0.2) !important;
}
body.light-theme .points-milestone-card .milestone-content {
  color: var(--color-text-secondary) !important;
}
body.light-theme .points-milestone-card .milestone-content strong {
  color: var(--color-text-primary) !important;
}
body.light-theme .points-requirement-card {
  background: linear-gradient(135deg, rgba(255, 153, 0, 0.05) 0%, rgba(255, 153, 0, 0.01) 100%) !important;
  border-color: rgba(255, 153, 0, 0.2) !important;
}
body.light-theme .points-requirement-card .requirement-content {
  color: var(--color-text-secondary) !important;
}
body.light-theme .points-requirement-card .requirement-content strong {
  color: var(--color-text-primary) !important;
}
body.light-theme .total-points-badge {
  background: rgba(165, 138, 255, 0.05) !important;
  color: #8b5cf6 !important;
}
body.light-theme .volunteer-code {
  background: rgba(0, 0, 0, 0.04) !important;
  color: var(--color-text-secondary) !important;
}
body.light-theme .accordion-icon {
  color: var(--color-text-secondary) !important;
}
body.light-theme .leaderboard-avatar {
  color: #ffffff !important;
}
body.light-theme .load-more-btn {
  background: transparent !important;
  border: 2px solid var(--color-aws-orange) !important;
  color: var(--color-aws-orange) !important;
}
body.light-theme .load-more-btn:hover {
  background: var(--color-aws-orange) !important;
  color: #ffffff !important;
}
body.light-theme .update-notice-card {
  background: rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
}
body.light-theme .update-notice-content {
  color: var(--color-text-secondary) !important;
}
body.light-theme .update-notice-content strong {
  color: var(--color-text-primary) !important;
}
body.light-theme .update-notice-icon {
  color: var(--color-aws-orange) !important;
}

body.light-theme .password-container {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05) !important;
}
body.light-theme .password-glow {
  background: radial-gradient(circle at center, rgba(165, 138, 255, 0.05) 0%, transparent 60%) !important;
}
body.light-theme .password-header h1 {
  background: linear-gradient(135deg, var(--color-text-primary) 40%, var(--color-aws-orange) 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}
body.light-theme .password-header p {
  color: var(--color-text-secondary) !important;
}
body.light-theme .password-form input[type="password"] {
  background: #ffffff !important;
  border-color: rgba(0, 0, 0, 0.08) !important;
  color: var(--color-text-primary) !important;
}
body.light-theme .password-form input[type="password"]::placeholder {
  color: var(--color-text-secondary) !important;
  opacity: 0.7;
}
body.light-theme .password-form input[type="password"]:focus {
  border-color: var(--color-aws-orange) !important;
  box-shadow: 0 0 10px rgba(165, 138, 255, 0.15) !important;
}
body.light-theme .password-form button {
  background: var(--color-aws-orange) !important;
  border-color: var(--color-aws-orange) !important;
  color: #ffffff !important;
}
body.light-theme .password-form button:hover {
  background: var(--color-aws-orange-dark) !important;
}
body.light-theme .lock-icon {
  color: var(--color-aws-orange) !important;
  background: rgba(71, 33, 209, 0.05) !important;
  border-color: rgba(71, 33, 209, 0.15) !important;
}

body.light-theme .leaderboard-table th {
  color: var(--color-text-primary) !important;
  border-bottom-color: rgba(0, 0, 0, 0.08) !important;
}
body.light-theme .leaderboard-table td {
  color: var(--color-text-secondary) !important;
  border-bottom-color: rgba(0, 0, 0, 0.05) !important;
}
body.light-theme .leaderboard-table td[data-label="Month"] {
  color: var(--color-text-primary) !important;
}
body.light-theme .leaderboard-table .cell-total {
  color: #10b981 !important;
}

body.light-theme .vol-badge.badge-role {
  background: rgba(139, 92, 246, 0.08) !important;
  border-color: rgba(167, 139, 250, 0.3) !important;
  color: #6d28d9 !important;
}
body.light-theme .vol-badge.badge-active-vol {
  background: rgba(16, 185, 129, 0.08) !important;
  border-color: rgba(52, 211, 153, 0.3) !important;
  color: #059669 !important;
}
body.light-theme .vol-badge.badge-inactive {
  background: rgba(107, 114, 128, 0.08) !important;
  border-color: rgba(156, 163, 175, 0.3) !important;
  color: #4b5563 !important;
}
body.light-theme .vol-badge.badge-100 {
  background: rgba(59, 130, 246, 0.08) !important;
  border-color: rgba(96, 165, 250, 0.3) !important;
  color: #1d4ed8 !important;
}
body.light-theme .vol-badge.badge-200 {
  background: rgba(45, 212, 191, 0.08) !important;
  border-color: rgba(45, 212, 191, 0.3) !important;
  color: #0d9488 !important;
}
body.light-theme .vol-badge.badge-300 {
  background: rgba(245, 158, 11, 0.08) !important;
  border-color: rgba(251, 191, 36, 0.3) !important;
  color: #b45309 !important;
}
body.light-theme .vol-badge.badge-400 {
  background: rgba(249, 115, 22, 0.08) !important;
  border-color: rgba(251, 146, 60, 0.3) !important;
  color: #c2410c !important;
}
body.light-theme .vol-badge.badge-500 {
  background: rgba(236, 72, 153, 0.08) !important;
  border-color: rgba(244, 63, 94, 0.3) !important;
  color: #db2777 !important;
  box-shadow: none !important;
}

body.light-theme .points-table td a {
  color: var(--color-aws-orange) !important;
  border-bottom-color: rgba(71, 33, 209, 0.4) !important;
}
body.light-theme .points-table td a:hover {
  color: var(--color-aws-orange-dark) !important;
  border-bottom-color: var(--color-aws-orange-dark) !important;
}
body.light-theme .copy-code-btn:hover {
  color: var(--color-aws-orange) !important;
}
body.light-theme .leaderboard-linkedin-btn {
  background: rgba(0, 119, 181, 0.08) !important;
  border-color: rgba(0, 119, 181, 0.25) !important;
  color: #0077b5 !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03) !important;
}
body.light-theme .leaderboard-linkedin-btn:hover {
  background: #0077b5 !important;
  border-color: #0077b5 !important;
  color: #fff !important;
}

body.light-theme .volunteers-hero-title {
  color: var(--color-text-primary) !important;
}
body.light-theme .hero-stat-number {
  color: var(--color-text-primary) !important;
}
body.light-theme .hero-stat-divider {
  background: rgba(0, 0, 0, 0.12) !important;
}

/* Volunteer Grid and Card Styles */
.volunteer-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.volunteer-card {
  background: rgba(255, 255, 255, 0.01);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.volunteer-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(165, 138, 255, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.volunteer-card:hover {
  transform: translateY(-6px);
  border-color: rgba(165, 138, 255, 0.25);
  box-shadow: 0 12px 30px rgba(71, 33, 209, 0.15), 0 0 2px rgba(165, 138, 255, 0.2);
  background: rgba(255, 255, 255, 0.02);
}

.volunteer-card:hover::before {
  opacity: 1;
}

.volunteer-card .card-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.volunteer-card .leaderboard-avatar {
  width: 44px;
  height: 44px;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.volunteer-card .card-title-area {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.volunteer-card .leaderboard-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.volunteer-card .volunteer-code-container {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.volunteer-card .volunteer-code {
  margin-left: 0 !important;
  vertical-align: middle !important;
  font-family: monospace;
  font-size: 0.72rem;
  font-weight: 700;
  color: #a58aff !important;
  background: rgba(165, 138, 255, 0.08) !important;
  border: 1px solid rgba(165, 138, 255, 0.2) !important;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.volunteer-card .copy-code-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  font-size: 0.75rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.volunteer-card .copy-code-btn:hover {
  color: var(--color-aws-orange);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.volunteer-card .leaderboard-badges-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  min-height: 24px;
}

.volunteer-card .card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.15rem;
}

.volunteer-card .points-display {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.volunteer-card .points-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.volunteer-card .total-points-badge {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-aws-orange);
}

.volunteer-card .leaderboard-linkedin-btn {
  font-size: 0.8rem;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  background: rgba(0, 119, 181, 0.05);
  border: 1px solid rgba(0, 119, 181, 0.2);
  color: #0077b5;
  text-decoration: none;
  font-weight: 500;
  transition: all var(--transition-normal);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.volunteer-card .leaderboard-linkedin-btn:hover {
  background: #0077b5;
  border-color: #0077b5;
  color: #fff;
}

/* Light Mode Overrides for Cards */
body.light-theme .volunteer-card {
  background: #f8fafc !important;
  border-color: rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02) !important;
}

body.light-theme .volunteer-card::before {
  background: radial-gradient(circle at top right, rgba(71, 33, 209, 0.05), transparent 70%);
}

body.light-theme .volunteer-card:hover {
  border-color: rgba(71, 33, 209, 0.25) !important;
  box-shadow: 0 10px 25px rgba(71, 33, 209, 0.08) !important;
  background: #ffffff !important;
}

body.light-theme .volunteer-card .leaderboard-name {
  color: #0f172a !important;
}

body.light-theme .volunteer-card .volunteer-code {
  color: #4721d1 !important;
  background: rgba(71, 33, 209, 0.05) !important;
  border-color: rgba(71, 33, 209, 0.15) !important;
}

body.light-theme .volunteer-card .copy-code-btn {
  background: rgba(0, 0, 0, 0.03) !important;
  border-color: rgba(0, 0, 0, 0.05) !important;
  color: #64748b !important;
}
body.light-theme .volunteer-card .copy-code-btn:hover {
  background: rgba(71, 33, 209, 0.08) !important;
  border-color: rgba(71, 33, 209, 0.15) !important;
  color: #4721d1 !important;
}

body.light-theme .volunteer-card .points-label {
  color: #64748b !important;
}

body.light-theme .volunteer-card .card-footer {
  border-top-color: rgba(0, 0, 0, 0.06) !important;
}

