:root {
  /* Cores - Identidade Visual IPB */
  --ipb-green-primary: #006633;
  --ipb-green-dark: #004d26;
  --ipb-green-light: #2ebd59;
  --ipb-green-tint: #e6f6ee;
  --ipb-accent-orange: #f59e0b;
  --ipb-accent-orange-dark: #d97706;

  /* Cores - Neutras */
  --neutral-white: #ffffff;
  --neutral-gray-50: #f9fafb;
  --neutral-gray-100: #f3f4f6;
  --neutral-gray-200: #e5e7eb;
  --neutral-gray-300: #d1d5db;
  --neutral-gray-400: #9ca3af;
  --neutral-gray-500: #6b7280;
  --neutral-gray-600: #4b5563;
  --neutral-gray-700: #374151;
  --neutral-gray-800: #1f2937;
  --neutral-gray-900: #111827;

  /* Cores - Feedback */
  --color-danger: #ef4444;
  --color-danger-dark: #dc2626;
  --color-success: #10b981;
  --color-info: #3b82f6;

  /* Fontes e Tipografia */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-family);
  background-color: #f0f2f5;
  color: var(--neutral-gray-900);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#app {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

/* Loader */
.app-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  gap: 16px;
}

.spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--neutral-gray-200);
  border-top-color: var(--ipb-green-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Splashscreen */
body.app-is-loading {
  overflow: hidden !important;
  height: 100vh !important;
  height: 100dvh !important;
}

.app-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    max(24px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  background: radial-gradient(circle at 50% 45%,
      rgba(34, 111, 79, 0.82),
      rgba(6, 40, 29, 1) 72%);
}

.app-splash__logo-container {
  position: relative;
  width: min(72vw, 240px);
  height: min(72vw, 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 6px;
  overflow: visible;
  background: transparent;
}

.app-splash__neon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 4px;
  background: conic-gradient(from 0deg,
      transparent 0%,
      #13ec88 35%,
      #22ff99 65%,
      #ffffff 80%,
      #22ff99 95%,
      transparent 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spinNeon 2s linear infinite;
  filter:
    drop-shadow(0 0 6px rgba(34, 255, 153, 0.9)) drop-shadow(0 0 16px rgba(34, 255, 153, 0.65)) drop-shadow(0 0 28px rgba(34, 255, 153, 0.45));
  pointer-events: none;
}

.app-splash__logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 0 !important;
  outline: none !important;
  -webkit-user-drag: none;
  user-select: none;
  z-index: 2;
  background-color: #06281d;
}

@keyframes spinNeon {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* Login View */
.login-view {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding:
    max(24px, env(safe-area-inset-top)) max(18px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(18px, env(safe-area-inset-left));
  background:
    radial-gradient(circle at 50% 0%,
      rgba(18, 92, 64, 0.13),
      transparent 46%),
    radial-gradient(circle at 100% 100%,
      rgba(199, 166, 84, 0.08),
      transparent 38%),
    linear-gradient(180deg,
      #f9fbf8 0%,
      #edf2ee 100%);
}

.login-card {
  width: min(100%, 400px);
  padding: clamp(20px, 4vw, 28px);
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(11, 61, 46, 0.1);
  border-radius: 24px;
  box-shadow:
    0 24px 60px rgba(10, 48, 35, 0.12),
    0 4px 14px rgba(10, 48, 35, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.login-brand-logo {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin: 0 auto;
  object-fit: contain;
}

.login-context-title {
  margin-top: 10px;
  margin-bottom: 4px;
  color: #0b3d2e;
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.login-context-subtitle {
  margin: 0 0 16px 0;
  color: #6b7771;
  font-size: 0.84rem;
  font-weight: 400;
  line-height: 1.5;
  text-align: center;
}

.login-card .form-group {
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #29483e;
  font-size: 0.82rem;
  font-weight: 650;
}

.form-control {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  color: #17352b;
  font-size: 0.95rem;
  background: #f8faf8;
  border: 1px solid rgba(11, 61, 46, 0.13);
  border-radius: 13px;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

.form-control:focus,
.form-control:focus-visible {
  background: #ffffff;
  border-color: #135c40;
  box-shadow: 0 0 0 4px rgba(19, 92, 64, 0.1);
}

.form-control::placeholder {
  color: #8a948f;
  opacity: 1;
}

/* Autofill fixes to prevent generic background overflow */
.form-control:-webkit-autofill,
.form-control:-webkit-autofill:hover,
.form-control:-webkit-autofill:focus {
  -webkit-text-fill-color: #17352b;
  -webkit-box-shadow: 0 0 0px 1000px #f8faf8 inset;
  transition: background-color 5000s ease-in-out 0s;
}

.login-submit {
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  background: linear-gradient(135deg,
      #0b3d2e 0%,
      #126140 100%);
  border: 0;
  border-radius: 13px;
  box-shadow: 0 10px 24px rgba(11, 61, 46, 0.22);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.login-submit:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(11, 61, 46, 0.25);
  filter: brightness(1.03);
}

.login-submit:active:not(:disabled) {
  transform: translateY(0);
}

.login-submit:focus-visible {
  outline: 3px solid rgba(199, 166, 84, 0.55);
  outline-offset: 3px;
}

.login-submit:disabled {
  cursor: not-allowed;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}

.login-pwa-btn {
  width: 100%;
  min-height: 40px;
  margin-top: 8px;
  background-color: #f1f4f2;
  color: #55665d;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid rgba(11, 61, 46, 0.08);
  border-radius: 11px;
  cursor: pointer;
  outline: none;
  transition:
    background-color 155ms ease,
    color 155ms ease,
    border-color 155ms ease;
}

.login-pwa-btn:hover:not(:disabled) {
  background-color: #e5eae6;
  color: #0b3d2e;
  border-color: rgba(11, 61, 46, 0.16);
}

.login-pwa-btn:focus-visible {
  outline: 2px solid rgba(19, 92, 64, 0.25);
  outline-offset: 2px;
}

.login-pwa-btn:disabled,
.login-pwa-btn.installed {
  background-color: #f8faf8;
  color: #929c97;
  border-color: transparent;
  cursor: default;
  font-weight: 500;
}

.btn-primary {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-white);
  background: linear-gradient(135deg, var(--ipb-green-primary) 0%, var(--ipb-green-dark) 100%);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 77, 38, 0.2);
}

@keyframes primaryBtnAnimation {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.btn-confirm-animated {
  background: linear-gradient(270deg, #004522, #007a3d, #004522);
  background-size: 200% 200%;
  animation: primaryBtnAnimation 5s ease infinite;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.btn-primary:hover:not(:disabled) {
  opacity: 0.95;
  transform: translateY(-1px);
  box-shadow: 0 6px 10px rgba(0, 77, 38, 0.25);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-primary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-secondary {
  width: 100%;
  padding: 14px;
  border: 1.5px solid var(--neutral-gray-300);
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-gray-650);
  background-color: var(--neutral-gray-50);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover:not(:disabled) {
  background-color: var(--neutral-gray-100);
  color: var(--neutral-gray-800);
  border-color: var(--neutral-gray-400);
  transform: translateY(-1px);
}

.btn-secondary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-secondary:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.login-error {
  background-color: rgba(239, 68, 68, 0.08);
  color: var(--color-danger);
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 20px;
  text-align: left;
  border-left: 4px solid var(--color-danger);
}

.login-footer {
  margin-top: 24px;
  color: #8a948f;
  font-size: 0.76rem;
  letter-spacing: 0.05em;
  text-align: center;
}

.login-footer a {
  color: #0b3d2e;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1.5px solid transparent;
  transition: border-bottom-color 155ms ease;
}

.login-footer a:hover {
  border-bottom-color: #0b3d2e;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {

  .app-splash,
  .app-splash__logo,
  .login-card,
  .login-submit,
  .form-control {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dashboard View */
.topbar {
  background-color: var(--ipb-green-primary);
  color: var(--neutral-white);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.topbar-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.btn-logout {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--neutral-white);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-logout:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--neutral-white);
}

.dashboard-main {
  flex-grow: 1;
  padding: 16px;
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.user-greeting-card {
  position: relative;
  background-color: #eaf5ee;
  background-image:
    radial-gradient(at 10% 15%, rgba(0, 78, 39, 0.16) 0px, transparent 55%),
    radial-gradient(at 90% 10%, rgba(0, 55, 27, 0.14) 0px, transparent 50%),
    radial-gradient(at 50% 85%, rgba(255, 255, 255, 0.9) 0px, transparent 60%),
    radial-gradient(at 85% 85%, rgba(37, 156, 73, 0.12) 0px, transparent 50%),
    radial-gradient(at 25% 85%, rgba(0, 78, 39, 0.1) 0px, transparent 50%),
    radial-gradient(at 45% 15%, rgba(214, 239, 223, 0.8) 0px, transparent 55%);
  background-size: 200% 200%;
  animation: waveMotion 22s ease-in-out infinite;
  overflow: hidden;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(46, 125, 50, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.user-greeting-card::before {
  content: "";
  position: absolute;
  bottom: -60%;
  left: -20%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle, rgba(0, 78, 39, 0.16) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 43%;
  animation: waveRotate 25s infinite linear;
  pointer-events: none;
  z-index: 1;
}

.user-greeting-card::after {
  content: "";
  position: absolute;
  bottom: -70%;
  right: -30%;
  width: 150%;
  height: 150%;
  background: radial-gradient(circle, rgba(37, 156, 73, 0.12) 0%, rgba(255, 255, 255, 0) 75%);
  border-radius: 40%;
  animation: waveRotateInverse 30s infinite linear;
  pointer-events: none;
  z-index: 1;
}

.user-greeting-card>* {
  position: relative;
  z-index: 2;
}

@keyframes waveMotion {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes waveRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes waveRotateInverse {
  from {
    transform: rotate(360deg);
  }

  50% {
    transform: rotate(180deg);
  }

  to {
    transform: rotate(0deg);
  }
}

.greeting-welcome-text {
  font-size: 14px;
  font-weight: 600;
  color: #084020;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}

.greeting-welcome-text .leaf-icon {
  color: var(--ipb-green-primary);
  display: inline-flex;
}

.greeting-card-username {
  font-size: 21px;
  font-weight: 700;
  color: #042612;
  margin: 4px 0 0 0;
  letter-spacing: -0.3px;
}

.greeting-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ipb-green-dark);
  background-color: var(--ipb-green-tint);
  border: 1px solid rgba(46, 125, 50, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  margin-top: 8px;
  width: fit-content;
}

.greeting-card-badge.admin-badge {
  background-color: #e0f2fe;
  color: #0369a1;
  border: 1px solid rgba(3, 105, 161, 0.2);
}

.greeting-avatar-container {
  position: relative;
  width: 96px;
  height: 96px;
  flex-shrink: 0;
  display: flex;
}

.greeting-avatar-container::before,
.greeting-avatar-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1.8px solid rgba(46, 125, 50, 0.45);
  box-shadow: 0 0 10px rgba(46, 125, 50, 0.25);
  animation: avatarPulse 4s cubic-bezier(0.25, 0, 0, 1) infinite;
  pointer-events: none;
  z-index: 2;
  box-sizing: border-box;
  will-change: transform, opacity;
}

.greeting-avatar-container::after {
  animation-delay: 2s;
}

.greeting-avatar-wrapper {
  position: relative;
  cursor: pointer;
  width: 96px;
  height: 96px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

@keyframes avatarPulse {
  0% {
    transform: scale(0.95);
    opacity: 0.85;
  }

  50% {
    transform: scale(1.32);
    opacity: 0;
  }

  100% {
    transform: scale(1.32);
    opacity: 0;
  }
}

.greeting-avatar-wrapper:hover {
  transform: scale(1.03);
}

.greeting-avatar-img {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 3.5px solid var(--neutral-white);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15), 0 0 8px rgba(46, 125, 50, 0.2);
  display: block;
}

.greeting-avatar-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background-color: var(--ipb-green-tint);
  border: 3.5px solid var(--neutral-white);
  box-shadow: 0 4px 12px rgba(46, 125, 50, 0.15), 0 0 8px rgba(46, 125, 50, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  color: var(--ipb-green-dark);
  font-size: 40px;
}

.btn-avatar-edit-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--ipb-green-primary);
  color: var(--neutral-white);
  border: 1.8px solid var(--neutral-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  z-index: 10;
  padding: 0;
}

.btn-avatar-edit-badge:hover {
  transform: scale(1.11);
  background-color: var(--ipb-green-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.26);
}

/* Filtro de Mes */
.filter-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-gray-700);
}

.filter-select {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  border: 1.5px solid var(--neutral-gray-200);
  background-color: var(--neutral-white);
  border-radius: var(--radius-md);
  outline: none;
  font-weight: 600;
  color: var(--neutral-gray-800);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23374151' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
}

.filter-select:focus {
  border-color: var(--ipb-green-primary);
}

/* Event Cards List */
.events-list-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.events-list-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  gap: 12px;
}

#btn-new-event {
  width: auto;
  padding: 10px 20px;
  font-weight: 700;
  height: 40px;
  font-size: 14px;
  white-space: nowrap;
}

.events-list-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--neutral-gray-700);
}

@media (max-width: 480px) {
  .events-list-header {
    gap: 8px;
  }

  #btn-new-event {
    padding: 8px 12px;
    font-size: 12px;
    height: 36px;
  }

  .events-list-title {
    font-size: 14.5px;
  }
}



.no-events-state {
  background-color: var(--neutral-white);
  padding: 32px 16px;
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--neutral-gray-500);
  box-shadow: var(--shadow-sm);
}

.event-card {
  background-color: var(--neutral-white);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid var(--neutral-gray-200);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  position: relative;
  overflow: hidden;
}

.event-card:active {
  transform: scale(0.995);
  box-shadow: none;
}

.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.event-card-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 20px;
  text-transform: uppercase;
}

.event-card-badge.status-open {
  background-color: var(--ipb-green-tint);
  color: var(--ipb-green-primary);
}

.event-card-badge.status-closed {
  background-color: var(--neutral-gray-100);
  color: var(--neutral-gray-500);
}

.event-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-gray-800);
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.event-details-snippet {
  font-size: 14px;
  color: var(--neutral-gray-600);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.event-date-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--ipb-green-dark);
}

.event-description-snippet {
  font-style: italic;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-word;
}

.event-card-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--neutral-gray-100);
  padding-top: 12px;
}

.event-card-footer-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-grow: 1;
}

/* Specific responsive rules for small screen widths */
@media (max-width: 480px) {
  .event-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .event-card-footer-buttons {
    justify-content: space-between;
  }

  .event-card-footer-buttons button,
  .event-card-footer-buttons .btn-card-action {
    flex-grow: 1;
    text-align: center;
    font-size: 13px;
    padding: 8px 12px;
  }
}

/* Overlapping participants avatars */
.avatars-overlap-container {
  display: flex;
  align-items: center;
  gap: 4px;
}

.avatars-group {
  display: flex;
  flex-direction: row;
}

.avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--neutral-white);
  background-color: var(--ipb-green-primary);
  color: var(--neutral-white);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
  user-select: none;
  box-shadow: var(--shadow-sm);
  text-transform: uppercase;
  overflow: hidden;
}

.avatar-circle:first-child {
  margin-left: 0;
}

.avatar-overflow {
  background-color: var(--neutral-gray-400);
  color: var(--neutral-white);
  margin-left: -8px;
}

.avatar-caption {
  font-size: 12px;
  font-weight: 600;
  color: var(--neutral-gray-500);
  margin-left: 4px;
}

.btn-card-action {
  background-color: var(--neutral-gray-50);
  color: var(--ipb-green-primary);
  border: 1.5px solid var(--neutral-gray-200);
  font-size: 14px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-card-action:hover {
  background-color: var(--ipb-green-tint);
  border-color: var(--ipb-green-primary);
}

.btn-card-action:active {
  transform: translateY(1px);
}

/* Modal Responsiva */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: var(--neutral-white);
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  max-width: 800px;
  max-height: calc(100% - 8px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  transform: scale(0.95);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--neutral-gray-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--neutral-gray-50);
}

.modal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--neutral-gray-800);
}

.btn-modal-close {
  background: none;
  border: none;
  font-size: 16px;
  line-height: 1;
  color: var(--neutral-gray-400);
  cursor: pointer;
  padding: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.btn-modal-close:hover {
  color: var(--neutral-gray-700);
  background-color: var(--neutral-gray-100);
}

.modal-body {
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Estilização interna da Modal */
.modal-event-summary {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal-date-badge {
  font-weight: 700;
  color: var(--ipb-green-primary);
  font-size: 15px;
}

.modal-desc {
  font-size: 14px;
  color: var(--neutral-gray-600);
  line-height: 1.5;
}

.modal-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.modal-section-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral-gray-800);
  border-bottom: 2.5px solid var(--ipb-green-tint);
  padding-bottom: 4px;
}

/* Schedules */
.schedules-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background-color: var(--neutral-gray-50);
  border-radius: var(--radius-sm);
  border: 1px dashed var(--neutral-gray-300);
}

.schedule-time {
  font-weight: 700;
  color: var(--neutral-gray-800);
  font-size: 14px;
  background-color: var(--neutral-gray-200);
  padding: 2px 6px;
  border-radius: 4px;
}

.schedule-name {
  font-size: 14px;
  color: var(--neutral-gray-800);
  font-weight: 500;
}

/* Songs */
.songs-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.song-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  background-color: var(--neutral-gray-50);
  border: 1px solid var(--neutral-gray-200);
  border-radius: var(--radius-sm);
}

.song-info {
  display: flex;
  flex-direction: column;
}

.song-title {
  font-weight: 700;
  font-size: 14px;
  color: var(--neutral-gray-800);
}

.song-artist {
  font-size: 12px;
  color: var(--neutral-gray-500);
}

.song-link {
  font-size: 12px;
  color: var(--neutral-gray-600);
  background-color: transparent;
  border: 1.5px solid var(--neutral-gray-300);
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s ease;
  text-align: center;
  align-self: center;
}

.song-link:hover {
  background-color: var(--neutral-gray-100);
  border-color: var(--neutral-gray-400);
  color: var(--neutral-gray-800);
}

/* Participants list in Modal */
.participants-list-modal {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.participant-item-modal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 12px 4px 4px;
  background-color: var(--ipb-green-tint);
  border-radius: var(--radius-sm);
}

.participant-details {
  display: flex;
  align-items: center;
  gap: 8px;
}

.participant-modal-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--ipb-green-primary);
  color: var(--neutral-white);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.participant-name-text {
  font-weight: 600;
  font-size: 14px;
  color: var(--ipb-green-dark);
}

.participant-role-tag {
  font-size: 10px;
  font-weight: 700;
  background-color: transparent;
  color: var(--ipb-green-dark);
  border: 1px solid rgba(46, 125, 50, 0.4);
  padding: 1px 6px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  display: inline-block;
}

/* Action Area in Modal */
.modal-action-box {
  background-color: var(--neutral-gray-50);
  border: 1px solid var(--neutral-gray-200);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-action-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--neutral-gray-700);
  text-align: center;
}

.role-select {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border: 1.5px solid var(--neutral-gray-200);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--neutral-gray-700);
}

.btn-participate {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.action-msg {
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.action-msg.danger {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
}

.action-msg.success {
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
}

/* Admin Toggle button */
.admin-actions-box {
  background-color: #fef3c7;
  border: 1.5px solid #f59e0b;
  border-radius: var(--radius-md);
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-header-title {
  font-size: 13px;
  font-weight: 800;
  color: #b45309;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-admin-toggle {
  background-color: #b45309;
  color: var(--neutral-white);
  padding: 10px;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-admin-toggle:hover {
  background-color: #92400e;
}

/* Feedback Messages */
.toast-msg {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background-color: var(--neutral-gray-800);
  color: var(--neutral-white);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-msg.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Desktop and Tablet Adjustments */
@media (min-width: 600px) {
  body {
    background-color: #f7f9fa;
  }

  .dashboard-main {
    padding: 32px 24px;
  }

  .modal-overlay {
    align-items: center;
    /* Center on tablets + desktop */
  }

  .modal-container {
    border-radius: var(--radius-lg);
    max-height: calc(100% - 8px);
  }
}

/* Schedule Blocks styling - Plan 06.5 Phase 3 */
.schedule-block {
  background-color: var(--neutral-white);
  border: 1px solid var(--neutral-gray-200);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.schedule-block-header {
  background-color: var(--ipb-green-dark);
  color: var(--neutral-white);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.schedule-block-time {
  font-size: 18px;
  font-weight: 800;
}

.schedule-block-name {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.schedule-block-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.schedule-sub-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.schedule-sub-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--ipb-green-dark);
  text-transform: uppercase;
  border-bottom: 1.5px solid var(--ipb-green-tint);
  padding-bottom: 4px;
  letter-spacing: 0.5px;
}

.empty-escala-msg {
  font-size: 13px;
  color: var(--neutral-gray-400);
  font-style: italic;
  padding: 4px 0;
}

/* Volunteer badges & forms */
.volunteer-status-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
}

.volunteer-status-box.status-confirmed-badge {
  background-color: var(--ipb-green-tint);
  color: var(--ipb-green-dark);
  border: 1px solid var(--ipb-green-primary);
}

.volunteer-status-box.status-available-badge {
  background-color: rgba(59, 130, 246, 0.1);
  color: #1d4ed8;
  border: 1px solid #3b82f6;
}

.volunteer-status-box.status-closed-badge {
  background-color: var(--neutral-gray-100);
  color: var(--neutral-gray-500);
  border: 1px solid var(--neutral-gray-200);
}

.btn-w100 {
  width: 100%;
  display: block;
}

/* Admin inline buttons inside modal */
.admin-row-actions {
  display: flex;
  gap: 6px;
}

.btn-row-action {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background-color 0.15s;
}

.btn-row-action.btn-confirm-action {
  background-color: var(--ipb-green-tint);
  color: var(--ipb-green-dark);
}

.btn-row-action.btn-confirm-action:hover {
  background-color: var(--ipb-green-primary);
  color: var(--neutral-white);
}

.btn-row-action.btn-remove-action {
  background-color: rgba(239, 68, 68, 0.1);
  color: var(--color-danger);
}

.btn-row-action.btn-remove-action:hover {
  background-color: var(--color-danger);
  color: var(--neutral-white);
}

/* Base utility for visibility toggling */
.hidden {
  display: none !important;
}

/* Multi-step progress indicators for Admin modal */
.step-indicator-item::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(50% + 16px);
  right: calc(-50% + 16px);
  height: 2px;
  background-color: var(--neutral-gray-200);
  z-index: 1;
}

.step-indicator-item:last-child::after {
  display: none;
}

.step-indicator-item.completed::after {
  background-color: var(--ipb-green-primary);
}

.step-indicator-circle {
  position: relative;
  z-index: 2;
}

/* Custom scroll for modal sections */
.summary-step-container::-webkit-scrollbar,
.songs-step-container ::-webkit-scrollbar {
  width: 6px;
}

.summary-step-container::-webkit-scrollbar-thumb,
.songs-step-container ::-webkit-scrollbar-thumb {
  background-color: var(--neutral-gray-300);
  border-radius: 3px;
}

/* Premium Animated Volunteer Button */
#btn-show-availability {
  width: 100%;
  padding: 12px 20px;
  background-color: transparent;
  color: var(--ipb-green-primary);
  border: 1.5px solid var(--ipb-green-primary);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

#btn-show-availability:hover {
  background-color: rgba(46, 125, 50, 0.05);
  border-color: var(--ipb-green-dark);
  color: var(--ipb-green-dark);
}

#btn-show-availability:active {
  transform: translateY(0);
}

/* Sidebar Navigation Overlay */
.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Sidebar Panel */
.sidebar-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  max-width: 85%;
  height: 100vh;
  background-color: var(--neutral-white);
  box-shadow: 4px 0 24px rgba(0, 77, 38, 0.15);
  z-index: 1001;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.sidebar-panel.open {
  transform: translateX(0);
}

/* Sidebar Header */
.sidebar-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--neutral-gray-200);
}

.sidebar-brand {
  font-size: 18px;
  font-weight: 800;
  color: var(--ipb-green-primary);
  letter-spacing: -0.5px;
}

.sidebar-close {
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--neutral-gray-500);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  transition: color 0.2s ease;
}

.sidebar-close:hover {
  color: var(--neutral-gray-800);
}

/* Sidebar User Info Section */
.sidebar-user-section {
  padding: 20px;
  background: linear-gradient(135deg, var(--ipb-green-tint) 0%, rgba(214, 239, 223, 0.4) 100%);
  border-bottom: 1px solid rgba(46, 125, 50, 0.08);
}

.sidebar-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-user-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--ipb-green-dark);
}

.sidebar-user-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--neutral-gray-650);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

/* Sidebar Menu List */
.sidebar-menu {
  list-style: none;
  padding: 12px 8px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
  flex-grow: 1;
}

.sidebar-menu-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--neutral-gray-700);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-menu-item:hover {
  background-color: var(--neutral-gray-100);
  color: var(--neutral-gray-900);
}

.sidebar-menu-item.active {
  background-color: var(--ipb-green-tint);
  color: var(--ipb-green-primary);
}

.sidebar-menu-logout {
  margin-top: auto;
  color: var(--color-danger);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 0;
  padding-top: 16px;
}

.sidebar-menu-logout:hover {
  background-color: rgba(239, 68, 68, 0.06);
  color: var(--color-danger);
}

/* Animate.css overrides for subtle premium feel */
.animate__animated {
  animation-duration: 0.3s !important;
  /* 300ms duration for all animations */
}

/* Subtle icon size refinement inside sidebar active links */
.sidebar-menu-item .sidebar-menu-icon i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

/* Segmented Control Styles */
.segmented-control {
  display: flex;
  background-color: Azure;
  border: 1px solid Gainsboro;
  border-radius: var(--radius-md);
  padding: 4px;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
}

.sc-tab-btn {
  flex: 1;
  border: 1px solid var(--neutral-gray-250);
  background: transparent;
  color: var(--neutral-gray-600);
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-align: center;
  user-select: none;
}

.sc-tab-btn:hover {
  border-color: var(--neutral-gray-300);
  color: var(--ipb-green-dark);
}

.sc-tab-btn.active {
  background-color: var(--ipb-green-primary);
  border-color: var(--ipb-green-primary);
  color: var(--neutral-white);
  box-shadow: 0 2px 6px rgba(46, 117, 89, 0.25);
}

/* Event Card Past/Realizado styling */
.event-card.event-card-past {
  background-color: #fafafa !important;
  border: 1.5px solid Gainsboro !important;
  box-shadow: none !important;
}

.event-card.event-card-past .event-title {
  color: var(--neutral-gray-500) !important;
}

.event-card.event-card-past .event-description-snippet {
  color: var(--neutral-gray-400) !important;
}

.event-card.event-card-past .event-date-row {
  color: var(--neutral-gray-400) !important;
}

/* Badge Realizado status */
.event-card-badge.status-past {
  background-color: var(--neutral-gray-200) !important;
  color: var(--neutral-gray-600) !important;
  border-color: var(--neutral-gray-300) !important;
  font-weight: 700;
}

/* ==========================================================================
   MELHORIAS ESTÉTICAS: MODAL NOVO EVENTO (PREMIUM)
   ========================================================================== */

/* Sub-cabeçalhos e descrições dos passos */
.step-sub-header {
  margin-top: 4px;
  margin-bottom: 6px;
  font-weight: 800;
  font-size: 15px;
  color: var(--ipb-green-dark);
}

.step-sub-desc {
  font-size: 13px;
  color: var(--neutral-gray-500);
  margin-bottom: 20px;
}

/* Modificadores de tamanho para .form-control */
.form-control.form-control-sm {
  min-height: 44px;
  height: 44px;
  padding: 0 12px;
  font-size: 0.90rem;
  border-radius: var(--radius-sm);
}

.form-control.form-control-xs {
  min-height: 38px;
  height: 38px;
  padding: 0 10px;
  font-size: 0.84rem;
  border-radius: var(--radius-xs);
}

/* Customização para select inputs nativos de data e hora */
input[type="date"].form-control,
input[type="time"].form-control {
  font-family: inherit;
  color: var(--neutral-gray-800);
  cursor: pointer;
}

/* Estilo para linhas de Horário */
.schedule-item-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 12px;
  background-color: var(--neutral-gray-50);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--neutral-gray-250);
  transition: all 0.2s ease;
}

.schedule-item-row:hover {
  background-color: #f3f6f4;
  border: 1px dashed rgba(19, 92, 64, 0.2);
}

/* Estilos de Botão de Exclusão (Linha) */
.btn-row-action {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s ease;
}

.btn-remove-action {
  color: var(--neutral-gray-400);
  background-color: var(--neutral-gray-100);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  font-size: 13px;
  font-weight: 700;
}

.btn-remove-action:hover {
  color: #ef4444;
  background-color: #ffeeeb;
  transform: scale(1.05);
}

/* Botões tracejados modernos (Dashed Buttons) */
.btn-dashed {
  width: 100%;
  padding: 12px;
  border: 1.5px dashed var(--neutral-gray-300);
  border-radius: var(--radius-md);
  background-color: transparent;
  color: var(--neutral-gray-650);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease-in-out;
}

.btn-dashed:hover {
  border-color: var(--ipb-green-primary);
  color: var(--ipb-green-primary);
  background-color: rgba(19, 92, 64, 0.03);
}

.btn-dashed-primary {
  border-color: rgba(19, 92, 64, 0.4);
  color: var(--ipb-green-dark);
  margin-top: 8px;
}

.btn-dashed.btn-dashed-sm {
  padding: 8px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

/* Cartões de Escalas de Música (Etapa 3) */
.sched-songs-box {
  margin-bottom: 20px;
  background-color: var(--neutral-white);
  border: 1px solid var(--neutral-gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.2s ease;
}

.sched-songs-box:hover {
  box-shadow: 0 4px 10px rgba(11, 61, 46, 0.05);
}

.sched-songs-header {
  background-color: var(--ipb-green-tint);
  padding: 10px 14px;
  border-bottom: 1.5px solid rgba(19, 92, 64, 0.1);
  font-weight: 800;
  font-size: 14px;
  color: var(--ipb-green-dark);
}

.sched-songs-body {
  padding: 14px;
}

.song-item-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  padding-left: 12px;
  border-left: 3.5px solid var(--ipb-green-primary);
}

.songs-scroll-area {
  max-height: 290px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Personalização da barra de rolagem (Scrollbar) */
.songs-scroll-area::-webkit-scrollbar,
.summary-step-container::-webkit-scrollbar {
  width: 6px;
}

.songs-scroll-area::-webkit-scrollbar-track,
.summary-step-container::-webkit-scrollbar-track {
  background: var(--neutral-gray-100);
  border-radius: 3px;
}

.songs-scroll-area::-webkit-scrollbar-thumb,
.summary-step-container::-webkit-scrollbar-thumb {
  background: var(--neutral-gray-300);
  border-radius: 3px;
}

.songs-scroll-area::-webkit-scrollbar-thumb:hover,
.summary-step-container::-webkit-scrollbar-thumb:hover {
  background: var(--neutral-gray-400);
}

/* Aba 4: Revisão dos Dados (Premium Summary) */
.summary-step-container {
  max-height: 330px;
  overflow-y: auto;
  padding-right: 4px;
}

.summary-sect-card {
  background-color: var(--neutral-gray-50);
  border: 1px solid var(--neutral-gray-250);
  border-radius: var(--radius-md);
  padding: 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.015);
}

.summary-sec-tag {
  display: inline-block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--neutral-gray-500);
  font-weight: 800;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.summary-event-title {
  margin: 6px 0 4px 0;
  font-size: 17px;
  font-weight: 800;
  color: var(--neutral-gray-800);
}

.summary-event-date {
  font-size: 13px;
  color: var(--ipb-green-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.summary-event-desc {
  margin: 10px 0 0 0;
  font-size: 13.5px;
  color: var(--neutral-gray-650);
  line-height: 1.45;
}

/* Resumo das Escalas */
.summary-sched-card {
  margin-bottom: 12px;
  border-left: 3.5px solid var(--ipb-green-dark);
  background-color: var(--neutral-white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.summary-sched-card:last-child {
  margin-bottom: 0;
}

.summary-sched-title {
  font-weight: 800;
  font-size: 13.5px;
  color: var(--neutral-gray-800);
  display: flex;
  align-items: center;
  gap: 6px;
}

.summary-songs-list {
  margin: 8px 0 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.summary-song-item {
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 0;
}

.summary-song-dot {
  width: 5px;
  height: 5px;
  background-color: var(--ipb-green-primary);
  border-radius: 50%;
  flex-shrink: 0;
}

.summary-song-info {
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.summary-song-title {
  color: var(--neutral-gray-850);
}

.summary-song-artist {
  color: var(--neutral-gray-500);
  font-size: 12px;
}

.summary-song-link {
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.summary-song-link:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

.summary-no-songs {
  font-size: 12px;
  color: var(--neutral-gray-400);
  font-style: italic;
}

/* Rodapé do Modal - Botões Responsivos Premium */
.modal-footer .btn-primary,
.modal-footer .btn-secondary {
  width: auto !important;
  padding: 10px 20px !important;
  font-size: 14.5px !important;
  height: 42px !important;
  min-height: 42px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: var(--radius-md) !important;
  white-space: nowrap !important;
  font-weight: 700 !important;
}

@media (max-width: 480px) {
  .modal-footer {
    padding: 12px 14px !important;
  }

  .modal-footer .btn-primary,
  .modal-footer .btn-secondary {
    padding: 8px 12px !important;
    font-size: 13px !important;
    height: 38px !important;
    min-height: 38px !important;
    border-radius: var(--radius-sm) !important;
  }
}