:root {
  --volt-purple: #502379;
  --volt-purple-dark: #3a1a58;
  --volt-purple-light: #6d2fa1;
  --volt-green: #1BBE6F;
  --volt-green-dark: #159956;
  --volt-white: #FFFFFF;
  --volt-gray-light: #f5f5f5;
  --volt-gray: #e0e0e0;
  --volt-text-dark: #333333;
}

* {
  font-family: 'Ubuntu', sans-serif;
}

/* Override Pico CSS grey colors for accessibility - NO GREY TEXT ANYWHERE */
p {
  color: #333 !important;
}

small {
  color: #333 !important;
}

label {
  color: #333 !important;
}

label small {
  color: #333 !important;
}

/* Ensure all form helper text is dark */
input + small,
input ~ small,
[type="text"] + small,
[type="password"] + small,
[aria-describedby] {
  color: #333 !important;
}

/* Ensure all text elements are dark */
div, span, article, section {
  color: #333;
}

body {
  background: linear-gradient(135deg, #f5f3f7 0%, #e8e4ed 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 1rem;
}

h1, h2, h3, h4 {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 700;
  color: var(--volt-purple);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

hgroup {
  text-align: center;
  margin-bottom: 2rem;
}

hgroup h2 {
  font-weight: 400;
  color: var(--volt-text-dark);
  font-size: 1.1rem;
}

main.container {
  background-color: var(--volt-white);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(80, 35, 121, 0.15);
  max-width: 800px;
  width: 100%;
  margin: auto;
}

.hidden {
  display: none !important;
}

/* Sign-in section styling */
.sign-in-section {
  text-align: center;
  margin-bottom: 2rem;
}

.sign-in-section #sign-in {
  margin: 0 auto 1.5rem;
  display: block;
}

.sign-in-info {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.6;
}

.sign-in-info p {
  margin-bottom: 0.75rem;
}

.sign-in-info p:last-child {
  margin-bottom: 0;
}

button {
  background-color: var(--volt-purple);
  border: none;
  color: var(--volt-white);
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  border-radius: 4px;
  font-weight: 500;
  transition: background-color 0.2s;
}

button:hover {
  background-color: var(--volt-purple-dark);
}

button.secondary {
  background-color: var(--volt-gray);
  color: var(--volt-text-dark);
}

button.secondary:hover {
  background-color: #d0d0d0;
}

#error {
  background-color: #fee;
  color: #c33;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  border-left: 4px solid #c33;
}

#mfa-info-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* New cleaner method item styles */
.method-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background-color: var(--volt-white);
  border: 1px solid var(--volt-gray);
  border-radius: 8px;
  transition: all 0.2s;
}

.method-item:hover {
  border-color: var(--volt-purple);
  box-shadow: 0 2px 4px rgba(80, 35, 121, 0.08);
}

.method-icon-badge {
  font-size: 2rem;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--volt-gray-light);
  border-radius: 8px;
  flex-shrink: 0;
}

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

.method-title {
  font-weight: 600;
  color: var(--volt-text-dark);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.method-edit-inline {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding: 0.25rem;
  border-radius: 4px;
  transition: all 0.2s;
  line-height: 1;
  color: #333;
}

.method-edit-inline:hover {
  background-color: var(--volt-gray-light);
  color: #333;
  transform: scale(1.1);
}

.method-subtitle {
  font-size: 0.75rem;
  color: #333;
}

.method-type-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--volt-purple);
  background-color: rgba(80, 35, 121, 0.1);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  margin-left: auto;
  margin-right: 0.5rem;
}

.method-action-btn {
  background: none;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
  line-height: 1;
  width: auto;
  min-width: auto;
}

.method-action-btn:hover {
  background-color: var(--volt-gray-light);
  transform: scale(1.1);
}

.delete-btn:hover {
  background-color: #fee;
}

#qr-code-container {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0 0 0;
  padding: 1rem;
  background-color: var(--volt-white);
  border-radius: 4px;
}

#qr-code-container canvas {
  max-width: 256px;
  height: auto;
}

/* User identity styles */
.user-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background-color: var(--volt-gray-light);
  border-radius: 8px;
  margin-bottom: 2rem;
  border-left: 4px solid var(--volt-purple);
}

.user-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--volt-purple) 0%, var(--volt-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--volt-white);
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.user-details {
  flex: 1;
}

.user-details h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.25rem;
}

.user-details p {
  margin: 0 0 0.5rem 0;
  color: #333;
  font-size: 0.95rem;
}

.change-password-link {
  background: none;
  border: none;
  color: var(--volt-purple);
  padding: 0;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  font-weight: 500;
  text-align: left;
}

.change-password-link:hover {
  color: var(--volt-purple-dark);
  background: none;
}

.password-change-section {
  background-color: var(--volt-gray-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--volt-purple);
}

.password-change-section form {
  margin: 0;
}

.sign-out-section {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.session-timer {
  font-size: 0.8rem;
  color: #666;
  font-family: monospace;
  white-space: nowrap;
}

.session-timer.warning {
  color: #d97706;
  font-weight: 600;
}

.sign-out-button {
  background-color: var(--volt-purple);
  border: none;
  color: var(--volt-white);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.sign-out-button:hover {
  background-color: var(--volt-purple-dark);
}

/* Password modal styles */
#password-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

#password-modal-content {
  background-color: var(--volt-white);
  padding: 2rem;
  border-radius: 8px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

#password-modal-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
}

/* Toast notification styles */
.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 400px;
}

.toast {
  background-color: var(--volt-white);
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border-left: 4px solid var(--volt-purple);
  animation: slideIn 0.3s ease-out;
  min-width: 300px;
}

.toast.success {
  border-left-color: var(--volt-green);
}

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

.toast.info {
  border-left-color: #17a2b8;
}

.toast-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.toast.success .toast-icon {
  color: var(--volt-green);
}

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

.toast.info .toast-icon {
  color: #17a2b8;
}

.toast-message {
  flex: 1;
  color: var(--volt-text-dark);
}

.toast-close {
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0;
  line-height: 1;
  width: auto;
  min-width: auto;
}

.toast-close:hover {
  color: var(--volt-text-dark);
}

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

/* Confirmation modal styles */
.confirmation-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.confirmation-modal-content {
  background-color: var(--volt-white);
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.confirmation-modal-content h3 {
  margin-top: 0;
}

.confirmation-modal-content p {
  color: #333 !important;
}

.confirmation-modal-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

/* Section card styles */
.auth-section {
  background-color: var(--volt-white);
  border: 1px solid var(--volt-gray);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin-bottom: 0.25rem;
  font-size: 1.5rem;
}

.section-description {
  color: #333;
  font-size: 0.95rem;
  margin: 0;
}

/* Empty state */
/* Loading state */
.loading-state {
  text-align: center;
  padding: 3rem 1rem;
  color: #333;
}

.loading-state p {
  margin: 1rem 0 0 0;
  font-size: 0.95rem;
}

.loading-state .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--volt-gray);
  border-top-color: var(--volt-purple);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}

.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: #333;
  font-size: 0.95rem;
  background-color: var(--volt-gray-light);
  border-radius: 8px;
  border: 2px dashed var(--volt-gray);
}

.empty-state p {
  margin: 0;
}

/* Add method toggle button */
.add-method-toggle {
  width: 100%;
  background-color: var(--volt-white);
  border: 2px dashed var(--volt-purple);
  color: var(--volt-purple);
  padding: 1rem;
  cursor: pointer;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.add-method-toggle:hover {
  background-color: var(--volt-purple);
  color: var(--volt-white);
  border-style: solid;
}

.add-method-toggle:hover span {
  color: var(--volt-white);
}

.toggle-icon {
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.2s;
}

.add-method-toggle.active .toggle-icon {
  transform: rotate(45deg);
}

/* Method selection cards */
.method-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.method-card {
  background-color: var(--volt-gray-light);
  border: 1px solid var(--volt-gray);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.method-card:hover {
  border-color: var(--volt-purple);
  box-shadow: 0 2px 8px rgba(80, 35, 121, 0.1);
  transform: translateY(-2px);
}

.method-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.method-card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.5rem 0;
  color: var(--volt-purple);
}

.method-card p {
  font-size: 0.9rem;
  color: #333;
  margin: 0 0 1.5rem 0;
  line-height: 1.4;
  flex-grow: 1;
}

.method-card button {
  width: 100%;
  margin-top: auto;
}

/* Add method section specific styles */
.add-method-section {
  border: none;
  background-color: transparent;
  padding: 0;
  box-shadow: none;
}

/* Backup codes modal styles */
.backup-codes-warning {
  background-color: #fff3cd;
  border-left: 4px solid #ffc107;
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.backup-codes-warning p {
  margin: 0;
  color: #856404;
  font-size: 0.95rem;
  line-height: 1.5;
}

#backup-codes-list {
  background-color: var(--volt-gray-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  max-height: 300px;
  overflow-y: auto;
}

#backup-codes-list div {
  padding: 0.5rem;
  background-color: var(--volt-white);
  margin-bottom: 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--volt-gray);
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
}

#backup-codes-list div:last-child {
  margin-bottom: 0;
}

/* Refresh button */
.refresh-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s;
  color: var(--volt-purple);
}

.refresh-button:hover:not(:disabled) {
  background-color: var(--volt-gray-light);
  transform: rotate(90deg);
}

.refresh-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

/* Spin animation for refresh button */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Passkey info section */
.passkey-info {
  background-color: var(--volt-gray-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--volt-purple);
  font-size: 0.85rem;
}

.passkey-info p {
  margin: 0 0 1rem 0;
  color: #333;
  line-height: 1.5;
}

.passkey-info p:last-child {
  margin-bottom: 0;
}

.passkey-info ul {
  margin: 0.5rem 0 0 0;
  padding-left: 1.5rem;
  color: #333;
}

.passkey-info li {
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.passkey-info li:last-child {
  margin-bottom: 0;
}

/* TOTP info section */
.totp-info {
  background-color: var(--volt-gray-light);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--volt-purple);
  font-size: 0.85rem;
}

.totp-info p {
  margin: 0 0 0.75rem 0;
  color: #333;
  line-height: 1.5;
}

.totp-info p:last-child {
  margin-bottom: 0;
}

.totp-info p + p {
  margin-top: 1.25rem;
}

.totp-info p strong {
  display: block;
  margin-bottom: 0.5rem;
}

.totp-info ul {
  margin: 0 0 1.25rem 0;
  padding-left: 1.5rem;
  color: #333;
}

.totp-info li {
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.totp-info li:last-child {
  margin-bottom: 0;
}

.totp-info a {
  color: var(--volt-purple);
  text-decoration: none;
  font-weight: 500;
}

.totp-info a:hover {
  text-decoration: underline;
}

.totp-info small {
  color: #333;
  font-size: 0.9em;
}

/* Manual entry link below QR code */
.manual-entry-link {
  text-align: center;
  margin: 0.5rem 0 1.5rem 0;
  font-size: 0.9rem;
  color: #333;
}

.manual-entry-link a {
  color: var(--volt-purple);
  text-decoration: none;
  font-weight: 500;
}

.manual-entry-link a:hover {
  text-decoration: underline;
}

/* Manual setup details (shown after clicking) */
.manual-setup-details {
  background-color: var(--volt-gray-light);
  padding: 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  border-left: 4px solid var(--volt-purple);
}

.manual-setup-details p {
  margin: 0.5rem 0;
  color: #333;
  font-size: 0.85rem;
  word-break: break-all;
}

.manual-setup-details p:first-child {
  margin-top: 0;
}

.manual-setup-details p:last-child {
  margin-bottom: 0;
}

.manual-setup-details code {
  background-color: var(--volt-white);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--volt-gray);
  font-size: 0.8rem;
  display: inline-block;
  max-width: 100%;
  overflow-wrap: break-word;
}

.manual-setup-details .copyable-secret {
  cursor: pointer;
  transition: all 0.2s;
}

.manual-setup-details .copyable-secret:hover {
  background-color: var(--volt-gray-light);
  border-color: var(--volt-purple);
  transform: scale(1.02);
}

.manual-setup-details .totp-uri-link {
  color: var(--volt-purple);
  text-decoration: none;
  word-break: break-all;
  font-size: 0.8rem;
}

.manual-setup-details .totp-uri-link:hover {
  text-decoration: underline;
}

/* Help button - positioned in footer */
.help-button {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: var(--volt-purple);
  color: var(--volt-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(80, 35, 121, 0.3);
  transition: all 0.2s;
  line-height: 1;
  border: 2px solid var(--volt-white);
}

.help-button:hover {
  background-color: var(--volt-purple-dark);
  color: var(--volt-white);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 3px 14px rgba(80, 35, 121, 0.4);
}

/* Mobile responsive styles */
@media (max-width: 768px) {
  /* Base font size adjustment for better readability */
  body {
    font-size: 16px;
  }

  /* Header sizes */
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.25rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  /* Fix grid layout on mobile */
  .method-options {
    grid-template-columns: 1fr;
  }

  /* Adjust container padding */
  main.container {
    padding: 1rem;
  }

  /* Stack user identity on mobile */
  .user-identity {
    flex-direction: column;
    text-align: center;
  }

  .user-details h3 {
    font-size: 1.25rem;
  }

  .user-details p {
    font-size: 1rem;
  }

  .sign-out-section {
    width: 100%;
    align-items: center;
  }

  .session-timer {
    font-size: 0.75rem;
  }

  .sign-out-button {
    width: 100%;
    font-size: 1rem;
  }

  /* Adjust modal widths */
  #password-modal-content,
  .confirmation-modal-content {
    max-width: 90vw;
    margin: 0 1rem;
  }

  /* Stack buttons on mobile */
  #password-modal-buttons,
  .confirmation-modal-buttons {
    flex-direction: column;
  }

  #password-modal-buttons button,
  .confirmation-modal-buttons button {
    width: 100%;
    font-size: 1rem;
  }

  /* Toast notifications */
  .toast-container {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }

  /* Method items - two-row layout for mobile */
  .method-item {
    padding: 1rem;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: flex-start;
    position: relative;
  }

  .method-icon-badge {
    width: 52px;
    height: 52px;
    font-size: 2rem;
    flex-shrink: 0;
    order: 1;
  }

  .method-info {
    flex: 1 1 calc(100% - 68px);
    min-width: 0;
    order: 2;
  }

  .method-title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    line-height: 1.3;
    word-wrap: break-word;
  }

  .method-subtitle {
    font-size: 0.9rem;
    line-height: 1.3;
    word-wrap: break-word;
  }

  /* Force second row: type label in lower left corner */
  .method-type-label {
    font-size: 0.7rem;
    padding: 0.3rem 0.5rem;
    margin-left: 0;
    margin-right: 0;
    order: 3;
    flex: 0 0 auto;
    width: auto;
  }

  /* Make action buttons larger and easier to tap on mobile - absolute right position */
  .method-action-btn {
    min-width: 48px;
    min-height: 48px;
    font-size: 1.5rem;
    padding: 0.5rem;
    flex-shrink: 0;
    order: 4;
    position: absolute;
    right: 0.5rem;
    bottom: 0.5rem;
  }

  .method-edit-inline {
    font-size: 1.1rem;
    padding: 0.3rem;
    min-width: 36px;
    min-height: 36px;
  }

  /* TOTP setup on mobile */
  #mfa-setup,
  #passkey-setup {
    padding: 1rem;
  }

  .totp-info,
  .passkey-info {
    font-size: 0.9rem;
  }

  .totp-info ul,
  .passkey-info ul {
    padding-left: 1.25rem;
  }

  /* Manual setup details */
  .manual-setup-details {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .manual-setup-details p {
    word-break: break-word;
  }

  .manual-setup-details code {
    word-break: break-all;
    white-space: normal;
  }

  /* QR code container */
  #qr-code-container {
    padding: 0.5rem;
  }

  #qr-code-container canvas {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* --- Language Picker (flag + ISO code dropdown) --- */
.lang-picker {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0.5rem;
}

.lang-picker-toggle {
    background: transparent;
    border: 1px solid var(--volt-gray);
    border-radius: 4px;
    color: var(--volt-text-dark) !important;
    font-size: 0.8rem;
    padding: 0.3rem 0.6rem;
    cursor: pointer;
    font-family: 'Ubuntu', sans-serif;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.lang-picker-toggle:hover {
    border-color: var(--volt-purple-light);
    background: var(--volt-gray-light);
}

.lang-picker-toggle:focus {
    border-color: var(--volt-purple);
    outline: 2px solid rgba(80, 35, 121, 0.2);
}

.lang-picker-menu {
    position: absolute;
    bottom: 100%;
    right: 0;
    margin-bottom: 0.25rem;
    background: #fff;
    border: 1px solid var(--volt-gray);
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    list-style: none;
    padding: 0.25rem 0;
    margin-top: 0;
    min-width: 5rem;
    z-index: 100;
}

.lang-picker-menu li {
    padding: 0.35rem 0.75rem;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: 'Ubuntu', sans-serif;
    color: var(--volt-text-dark);
    white-space: nowrap;
}

.lang-picker-menu li:hover {
    background: var(--volt-gray-light);
    color: var(--volt-purple);
}

.lang-picker-menu li.active {
    font-weight: 600;
    color: var(--volt-purple);
}

/* Screen reader only - visually hidden but accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
