:root {
  /* Material Design 3 Color Tokens (Univesp Identity) */
  --md-sys-color-primary: #AF1D27;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #FFDAD6;
  --md-sys-color-on-primary-container: #410006;

  --md-sys-color-surface: #FDF8F8;
  --md-sys-color-on-surface: #1C1B1F;
  --md-sys-color-surface-variant: #F4DDDD;
  --md-sys-color-on-surface-variant: #49454F;

  --md-sys-color-outline: #857373;

  --md-sys-color-surface-container: #F3EDEF;
  --md-sys-color-surface-container-high: #ECE6E8;

  /* Custom Identity Colors */
  --color-univesp-red: #AF1D27;
  --color-univesp-dark-red: #8B121A;
  --color-univesp-bg-item: #A01B24;
  --color-univesp-divider: #FFFFFF;

  /* Typography Scale */
  --md-sys-typescale-display-small-size: 24px;
  /* Was 28pt (~37px) */
  --md-sys-typescale-headline-medium-size: 20px;
  /* Was 20pt (~26px) */
  --md-sys-typescale-body-large-size: 16px;
  /* Was 14pt-16px */
  --md-sys-typescale-label-large-size: 14px;

  /* Shapes */
  --md-sys-shape-corner-extra-large: 28px;
  --md-sys-shape-corner-medium: 12px;
  --md-sys-shape-corner-small: 8px;

  /* Elevations */
  --md-sys-elevation-level3: 0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px rgba(0, 0, 0, 0.3);

  /* Motions */
  --md-sys-motion-duration-medium: 250ms;
  --md-sys-motion-easing-emphasized: cubic-bezier(0.2, 0.0, 0, 1.0);
}

body {
  background-image: url('../assets/background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Parallax feel */
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

.main-container {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(5px);
  /* Modern glass effect on background */
  background-color: rgba(0, 0, 0, 0.3);
  /* Overlay for readability */
}

/* Base Card Container */
.option-box,
.optionbox {
  width: 420px;
  /* narrowed from 510px for better proportions */
  max-width: 90%;
  height: auto;
  background-color: var(--color-univesp-red);
  display: flex;
  flex-direction: column;
  border-radius: var(--md-sys-shape-corner-extra-large);
  box-shadow: var(--md-sys-elevation-level3);
  overflow: hidden;
  /* Clip children to radius */
  transition: transform var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-emphasized);
}

.optionbox {
  background-color: transparent;
  /* For the menu items wrapper */
  box-shadow: none;
}

/* Header / Title */
.option-title {
  font-family: 'Barlow', sans-serif;
  color: var(--md-sys-color-on-primary);
  width: 100%;
  padding: 24px 0;
  /* Responsive padding instead of fixed height */
  font-size: var(--md-sys-typescale-display-small-size);
  text-transform: uppercase;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.1);
  /* Subtle separation */
  letter-spacing: 0.5px;
}

.option-title>p {
  margin: 0;
}

.option-title>p>span {
  font-weight: 800;
  /* Extra bold */
}

.barra-separacao {
  width: 100%;
  height: 5px;
  /* height: 1px; */
  /* Thinner for modern look */
  background-color: rgba(0, 0, 0, 0.2);
}

/* Menu Items */
.option-item {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  padding: 10px 0px;
  /* Replaces fixed height 95px */
  background-color: var(--color-univesp-bg-item);
  color: var(--md-sys-color-on-primary);
  font-weight: 550;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: var(--md-sys-typescale-headline-medium-size);
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--md-sys-motion-duration-medium) var(--md-sys-motion-easing-emphasized);
  position: relative;
  overflow: hidden;
  /* For ripple effect ideally, but simple hover for now */
}

.option-item:hover {
  background-color: var(--color-univesp-dark-red);
  padding-left: 20px;
  /* Dynamic movement suggestion */
}

.option-item:last-child:hover {
  background-color: var(--md-sys-color-on-primary-container);
  padding-left: 20px;
  /* Dynamic movement suggestion */
}

/* Top/Bottom radius for grouping */
.option-item:first-child {
  border-top-left-radius: var(--md-sys-shape-corner-extra-large);
  border-top-right-radius: var(--md-sys-shape-corner-extra-large);
}

.option-item:last-child {
  border-bottom-left-radius: var(--md-sys-shape-corner-extra-large);
  border-bottom-right-radius: var(--md-sys-shape-corner-extra-large);
  background-color: var(--color-univesp-dark-red);
}

/* Custom States for Confirmation Option */
.option-item.option-pending {
  background-color: #FFC107 !important;
  color: #333333 !important;
}

.option-item.option-pending:hover {
  background-color: #FFB300 !important;
  /* Darker Amber */
  color: #000000 !important;
}

.option-item.option-success {
  background-color: #198754 !important;
  color: #FFFFFF !important;
}

.option-item.option-success:hover {
  background-color: #157347 !important;
  /* Darker Green */
}

.item-separacao {
  width: 100%;
  height: 1px;
  background-color: rgba(255, 255, 255, 0.2);
  /* Softer divider */
}

/* Image/Logo Box */
.image-box {
  margin-top: 48px;
  transition: transform 0.3s ease;
}

.image-box:hover {
  transform: scale(1.05);
}

/* Login Specifics */
.ava-item {
  font-family: 'Montserrat', sans-serif;
  padding: 24px 16px;
  /* background-color: var(--color-univesp-bg-item); */
  background-color: #770f1b;
  /*background-color: var(--color-univesp-red);*/
  color: var(--md-sys-color-on-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: var(--md-sys-typescale-body-large-size);
}

.ava-item>p {
  text-align: center;
  font-weight: 400;
  /* Lighter weight */
  line-height: 1.4;
  margin: 0;
}

.login-container {
  width: 100%;
  padding: 24px 0 32px 0;
  background-color: var(--md-sys-color-surface);
  border-bottom-left-radius: var(--md-sys-shape-corner-extra-large);
  border-bottom-right-radius: var(--md-sys-shape-corner-extra-large);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-title {
  font-family: 'Montserrat', sans-serif;
  color: var(--md-sys-color-on-surface);
  text-transform: uppercase;
  margin-bottom: 24px;
  font-size: var(--md-sys-typescale-body-large-size);
  letter-spacing: 0.5px;
}

.login-title>p>span {
  font-weight: 700;
  color: var(--color-univesp-red);
}

/* Updated Login Input Container for MD3 */
.login-input-container {
  width: 80%;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
  /* Replaces existing margin on login-input */
}

.login-input {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* Takes full width of container */
  height: 56px;
  /* MD3 Standard height */
  border-radius: var(--md-sys-shape-corner-medium);
  background-color: var(--md-sys-color-surface-container-high);
  border: 1px solid var(--md-sys-color-outline);
  overflow: hidden;
  transition: all 0.2s var(--md-sys-motion-easing-emphasized);
  position: relative;
}

.login-input:focus-within {
  box-shadow: 0 0 0 2px var(--color-univesp-red);
  border-color: var(--color-univesp-red);
  background-color: #FFFFFF;
}

.icone-imagem-box {
  background-color: transparent;
  width: 48px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icone-imagem-box>img {
  width: 24px;
  height: 24px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.input-box {
  flex: 1;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.input-box>input {
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  color: var(--md-sys-color-on-surface);
  font-size: var(--md-sys-typescale-body-large-size);
  font-family: 'Montserrat', sans-serif;
  outline: none;
  padding: 20px 10px 6px 0px;
  /* Push text down to make room for label */
  z-index: 1;
}

/* Floating Label Styles */
.floating-label {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--md-sys-color-on-surface-variant);
  pointer-events: none;
  transition: all 0.2s var(--md-sys-motion-easing-emphasized);
  font-size: var(--md-sys-typescale-body-large-size);
  font-family: 'Montserrat', sans-serif;
  z-index: 2;
  /* Ensure label is visible */
}

/* Float Up State */
.input-box>input:focus~.floating-label,
.input-box>input:not(:placeholder-shown)~.floating-label {
  top: 8px;
  transform: translateY(0);
  font-size: 11px;
  color: var(--color-univesp-red);
  font-weight: 600;
}

/* Error State Styles */
.login-input.error-state {
  border-color: var(--color-univesp-bg-item);
  box-shadow: 0 0 0 2px rgba(175, 29, 39, 0.2);
  animation: shake 0.4s cubic-bezier(.36, .07, .19, .97) both;
  background-color: #FFF8F8;
}

.login-input.error-state .input-box>input:focus~.floating-label,
.login-input.error-state .input-box>input:not(:placeholder-shown)~.floating-label {
  color: var(--color-univesp-bg-item);
}

.login-input.error-state .icone-imagem-box>img {
  filter: invert(15%) sepia(95%) saturate(100%) hue-rotate(358deg) brightness(95%) contrast(112%);
  opacity: 1;
}

/* Helper Text */
.helper-text {
  margin-top: 6px;
  margin-left: 12px;
  font-size: 12px;
  color: var(--color-univesp-bg-item);
  display: flex;
  align-items: center;
  gap: 6px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s var(--md-sys-motion-easing-emphasized);
  height: 0;
  /* Prevent layout shift when hidden */
}

.helper-text:not(.hidden) {
  opacity: 1;
  transform: translateY(0);
  height: auto;
}

.error-icon {
  font-size: 14px;
}

@keyframes shake {

  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    transform: translate3d(4px, 0, 0);
  }
}

.login-button {
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-button>button {
  width: 100%;
  height: 48px;
  background-color: #F0F0F0;
  border: 3px solid #383838;
  color: #383838;
  text-transform: uppercase;
  font-weight: 600;
  font-size: var(--md-sys-typescale-label-large-size);
  border-radius: 100px;
  /* Pill shape */
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;

  &:hover {
    background-color: #383838;
    color: #F0F0F0;
  }
}

/* login-button 
.login-button>button {
  width: 100%;
  height: 48px;
  /* Touch target size */
/*
  background-color: var(--color-univesp-red);
  border: none;
  color: var(--md-sys-color-on-primary);
  text-transform: uppercase;
  font-weight: 600;
  font-size: var(--md-sys-typescale-label-large-size);
  border-radius: 100px;
  /* Pill shape */
/*
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  letter-spacing: 1px;
}
*/

.login-button>button:hover {
  background-color: var(--md-sys-color-on-surface-variant);
  /*background-color: var(--color-univesp-dark-red);*/
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

::placeholder {
  text-align: left;
  opacity: 0.5;
}

@media (max-width: 576px) {

  .option-box,
  .optionbox {
    width: 90%;
  }

  .option-title {
    font-size: 20px;
  }

  .option-item {
    font-size: 18px;
  }
}

/* Utilities */
.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.6s var(--md-sys-motion-easing-emphasized);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Helper Classes for HTML Cleanup */
.user-session {
  display: none;
  color: #FFFFFF;
  /* White text for contrast against background */
  margin-bottom: 20px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  text-align: center;
  font-weight: 500;
}

.btn-text {
  margin-top: 14px !important;
  background: transparent !important;
  border: none !important;
  color: var(--md-sys-color-on-surface) !important;
  font-size: var(--md-sys-typescale-label-large-size) !important;
  text-transform: none !important;
  height: auto !important;
  text-decoration: underline !important;
  box-shadow: none !important;
  width: auto !important;
  cursor: pointer;
}

.btn-text:hover {
  color: var(--color-univesp-red) !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

.logout-text {
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  margin: 0;
}

/* Modal Styles */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.modal-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
  display: none !important;
  /* Use display none to fully hide from screen readers/clicks */
}

.modal-content {
  background-color: var(--md-sys-color-surface);
  width: 90%;
  max-width: 400px;
  border-radius: var(--md-sys-shape-corner-extra-large);
  padding: 32px;
  box-shadow: var(--md-sys-elevation-level3);
  position: relative;
  text-align: center;
  color: var(--md-sys-color-on-surface);
}

.fade-in-up {
  animation: fadeInUp 0.4s var(--md-sys-motion-easing-emphasized);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fade-out-down {
  animation: fadeOutDown 0.3s var(--md-sys-motion-easing-emphasized) forwards;
}

@keyframes fadeOutDown {
  from {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  to {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
}

.fade-out {
  animation: fadeOut 0.3s ease forwards;
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-header h3 {
  margin: 0;
  font-family: 'Barlow', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-univesp-red);
  text-transform: uppercase;
}

.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  color: var(--md-sys-color-outline);
  line-height: 1;
}

.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.modal-body p {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  line-height: 1.5;
}

/* Chave de Acesso Input */
.pin-input-container {
  margin: 16px 0;
}

#colacaoPin {
  width: 200px;
  height: 60px;
  font-size: 32px;
  text-align: center;
  letter-spacing: 8px;
  border: 2px solid var(--md-sys-color-outline);
  border-radius: var(--md-sys-shape-corner-medium);
  background-color: var(--md-sys-color-surface-container-high);
  color: var(--md-sys-color-on-surface);
  font-family: 'Barlow', sans-serif;
  font-weight: 700;
  transition: all 0.2s ease;
}

#colacaoPin:focus {
  border-color: var(--color-univesp-red);
  outline: none;
  box-shadow: 0 0 0 4px rgba(175, 29, 39, 0.1);
}

#colacaoPin::placeholder {
  text-align: center;
  /* letter-spacing adds space after the last char too, so it looks slightly left. 
       We can remove letter-spacing for placeholder or adjust text-indent. */
  letter-spacing: 2px;
  opacity: 0.3;
}

.action-buttons {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.btn-primary {
  background-color: var(--color-univesp-red);
  color: white;
  border: none;
  padding: 12px 32px;
  border-radius: 100px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 14px;
  width: 100%;
}

.btn-primary:hover {
  background-color: var(--color-univesp-dark-red);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--md-sys-color-on-surface);
  border: 1px solid var(--md-sys-color-outline);
  padding: 12px 24px;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
}

.btn-secondary:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* Spinner */
.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-left-color: var(--color-univesp-red);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}

/* Success/Error Icons */
.success-icon {
  width: 60px;
  height: 60px;
  background-color: #d1e7dd;
  color: #198754;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 10px;
}

.error-icon-lg {
  width: 60px;
  height: 60px;
  background-color: #f8d7da;
  color: #dc3545;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 10px;
}

/* Colacao Success Student Info */
.colacao-student-info {
  margin: 10px 0 20px 0;
  text-align: center;
}

.student-name {
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 24px;
  color: var(--md-sys-color-on-surface);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.student-subtitle {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.student-details {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  /* Increased for better readability */
  color: var(--md-sys-color-on-surface-variant);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Success Icon Checkmark Animation */
.success-icon-animated {
  width: 60px;
  height: 60px;
  background-color: #d1e7dd;
  color: #198754;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 16px auto;
  opacity: 0;
  animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* ==========================================================================
   Painel por perfil
   ========================================================================== */

/* A página passa a rolar: orientador de polo e supervisor têm mais conteúdo */
.main-container {
  height: auto;
  min-height: 100vh;
  padding: 32px 0;
  box-sizing: border-box;
}

.panel-grid {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

/* Os itens agora ficam dentro de #menuItems; quem arredonda é o cartão */
.optionbox {
  border-radius: var(--md-sys-shape-corner-extra-large);
  box-shadow: var(--md-sys-elevation-level3);
}

.optionbox .option-item,
.optionbox .option-item:first-child,
.optionbox .option-item:last-child {
  border-radius: 0;
}

.optionbox .option-item:last-child {
  background-color: var(--color-univesp-bg-item);
}

.optionbox .option-item>a {
  display: block;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.optionbox .option-item.option-logout {
  background-color: var(--color-univesp-dark-red);
}

.optionbox .option-item.option-logout:hover {
  background-color: var(--md-sys-color-on-primary-container);
}

/* Central de atendimento */
.hub-card {
  width: 480px;
  max-width: 90%;
  box-sizing: border-box;
  background-color: var(--md-sys-color-surface);
  color: var(--md-sys-color-on-surface);
  border-radius: var(--md-sys-shape-corner-extra-large);
  box-shadow: var(--md-sys-elevation-level3);
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  overflow: hidden;
}

.hub-card summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 24px;
  background-color: var(--color-univesp-red);
  color: var(--md-sys-color-on-primary);
  font-family: 'Barlow', sans-serif;
  font-size: var(--md-sys-typescale-headline-medium-size);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.hub-card summary::-webkit-details-marker {
  display: none;
}

.hub-card summary::after {
  content: "+";
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
}

.hub-card details[open]>summary::after {
  content: "\2212";
}

.hub-card summary:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: -5px;
}

.hub-card p {
  margin: 0 0 8px 0;
}

.hub-lead {
  padding: 16px 24px 0 24px;
  color: var(--md-sys-color-on-surface-variant);
}

.hub-steps {
  list-style: none;
  margin: 0;
  padding: 8px 24px;
}

.hub-steps>li {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--md-sys-color-surface-container-high);
}

.hub-steps>li:first-child {
  border-top: none;
}

.step-num {
  flex: 0 0 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-univesp-red);
  color: #FFFFFF;
  font-family: 'Barlow', sans-serif;
  font-weight: 800;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-body {
  flex: 1;
  min-width: 0;
}

.step-body h4 {
  margin: 4px 0 6px 0;
  font-family: 'Barlow', sans-serif;
  font-size: 18px;
  font-weight: 700;
}

.hub-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 10px !important;
}

.hub-card>details>.hub-links {
  padding: 0 24px 16px 24px;
}

.hub-links a {
  color: var(--color-univesp-red);
  font-weight: 600;
  text-decoration: underline;
}

.hub-links a.hub-btn {
  background-color: var(--color-univesp-red);
  color: #FFFFFF;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background-color 0.2s;
}

.hub-links a.hub-btn:hover {
  background-color: var(--color-univesp-dark-red);
}

.team-list {
  list-style: none;
  margin: 12px 0 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hub-card>details>.team-list {
  padding: 0 24px 16px 24px;
}

.team-row {
  display: flex;
  align-items: stretch;
  gap: 6px;
}

.team-link {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background-color: var(--md-sys-color-surface-container);
  border-left: 8px solid var(--team-color);
  border-radius: var(--md-sys-shape-corner-small);
  font-weight: 600;
  transition: background-color 0.2s;
}

.team-link:hover,
.team-faq:hover {
  background-color: var(--md-sys-color-surface-variant);
}

.team-color-name {
  font-size: 12px;
  font-weight: 400;
  color: var(--md-sys-color-on-surface-variant);
  white-space: nowrap;
}

.team-faq {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background-color: var(--md-sys-color-surface-container);
  border-radius: var(--md-sys-shape-corner-small);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-univesp-red);
  transition: background-color 0.2s;
}

.hub-note {
  margin: 0 !important;
  padding: 12px 24px 16px 24px;
  font-size: 12.5px;
  color: var(--md-sys-color-on-surface-variant);
  background-color: var(--md-sys-color-surface-container);
}

.env-banner {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  padding: 4px 8px;
  background-color: #FFC107;
  color: #333333;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}