/* ===================================================================
   LOBO TEMP MAIL & .EDU PASS SUITE - ESTILOS OFICIAIS VIP
   Design: Obsidian Black & Brushed Silver VIP
   =================================================================== */

/* ── Suite Tab Switcher (Topo das Ferramentas) ── */
.tools-suite-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px;
  background: rgba(14, 16, 22, 0.85);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg, 14px);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.suite-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-md, 10px);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary, #94a3b8);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.suite-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}

.suite-tab-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.tool-badge-pill {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tool-badge-pill.new {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* ── Container Principal do Temp Mail ── */
.tempmail-suite-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ── Hero / Banner do Temp Mail ── */
.tempmail-hero {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(30, 36, 48, 0.5) 0%, rgba(14, 16, 22, 0.8) 90%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-xl, 18px);
  padding: 32px 36px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.tempmail-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
}

.tempmail-hero-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.tempmail-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: #ffffff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.85);
  animation: pulse-dot 1.8s infinite ease-in-out;
}

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

.tempmail-title {
  font-size: 26px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 12px 0 8px 0;
  line-height: 1.25;
}

.tempmail-subtitle {
  color: var(--text-secondary, #94a3b8);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 720px;
}

/* ── Card de Controle de Endereço ── */
.tempmail-control-card {
  margin-top: 24px;
  background: rgba(11, 13, 18, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg, 14px);
  padding: 20px 24px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tempmail-bar-grid {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.tempmail-input-wrap {
  flex: 1;
  min-width: 320px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tempmail-input-wrap svg {
  position: absolute;
  left: 11px;
  color: var(--text-secondary, #94a3b8);
  pointer-events: none;
  z-index: 2;
}

/* Campo do endereco: prefixo editavel + dominio fixo, com aparencia de um campo unico */
.tempmail-addr-field {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  align-self: center;
  box-sizing: border-box;
  /* min-height em vez de height: como flex item, o height declarado era
     ignorado em favor do alinhamento do container */
  min-height: 48px;
  height: 48px;
  padding: 0 10px 0 38px;
  background: rgba(22, 26, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md, 10px);
  overflow-x: auto;
  overflow-y: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.tempmail-addr-field:focus-within {
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.07);
}

.tempmail-input {
  flex: 0 0 auto;
  min-width: 2ch;
  height: 100%;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  outline: none;
  caret-color: #ffffff;
}

.tempmail-input::placeholder {
  color: var(--text-secondary, #94a3b8);
  font-weight: 500;
}

.tempmail-domain-suffix {
  flex: 0 0 auto;
  color: var(--text-secondary, #94a3b8);
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.02em;
  white-space: nowrap;
  user-select: all;
}

.tempmail-domain-select {
  /* Sem limite, as labels longas das opcoes esticavam o seletor e
     espremiam o campo do endereco ao lado. */
  flex: 0 0 auto;
  width: 118px;
  min-width: 0;
  max-width: 118px;
  text-overflow: ellipsis;
  height: 48px;
  padding: 0 10px;
  background: rgba(22, 26, 35, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md, 10px);
  color: #ffffff;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  outline: none;
  transition: all 0.2s;
  white-space: nowrap;
}

.tempmail-domain-select:hover,
.tempmail-domain-select:focus {
  border-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.tempmail-domain-select option {
  background: #0b0d12;
  color: #ffffff;
}

@media (max-width: 768px) {
  .tempmail-input-wrap {
    flex-direction: column;
    align-items: stretch;
  }
}

.tempmail-input:focus-visible {
  outline: none;
}

.tempmail-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-tempmail-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 18px;
  border-radius: var(--radius-md, 10px);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-tempmail-action.primary {
  background: #ffffff;
  color: #0b0c10;
  border: 1px solid #ffffff;
}

.btn-tempmail-action.primary:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-tempmail-action.secondary {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-tempmail-action.secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-tempmail-action.test {
  background: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-tempmail-action.test:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.btn-tempmail-icon-only {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md, 10px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tempmail-icon-only:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-tempmail-icon-only.spinning svg {
  animation: spin 0.8s linear infinite;
}

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

/* Barra de Timer & Segurança */
.tempmail-meta-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--text-secondary, #94a3b8);
}

.timer-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timer-bar-wrap {
  width: 80px;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 99px;
  overflow: hidden;
}

.timer-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #94a3b8, #ffffff);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  transition: width 1s linear;
}

.security-badge-note {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #64748b;
}

/* ── Sub-Abas do Temp Mail Suite ── */
.tempmail-subtabs-nav {
  display: flex;
  gap: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
  margin-top: 10px;
}

.tempmail-subtab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md, 8px);
  color: var(--text-secondary, #94a3b8);
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tempmail-subtab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.tempmail-subtab-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.subtab-count-pill {
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
}

.tempmail-subview {
  display: none;
}

.tempmail-subview.active {
  display: block;
}

/* ── Layout da Caixa de Entrada (Split Screen) ── */
.tempmail-inbox-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 18px;
  min-height: 520px;
}

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

.tempmail-inbox-sidebar {
  background: rgba(14, 16, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg, 14px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 600px;
}

.inbox-sidebar-header {
  padding: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.inbox-sidebar-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tempmail-msg-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tempmail-msg-item {
  padding: 12px 14px;
  background: rgba(22, 26, 35, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md, 10px);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tempmail-msg-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateX(2px);
}

.tempmail-msg-item.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.msg-item-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.msg-sender {
  font-size: 12.5px;
  font-weight: 700;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msg-time {
  font-size: 11px;
  color: #64748b;
  white-space: nowrap;
}

.msg-subject {
  font-size: 13px;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.msg-snippet {
  font-size: 11.5px;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.4;
}

.msg-otp-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  color: #ffffff;
  font-size: 11px;
  font-family: 'JetBrains Mono', monospace;
}

/* Empty State na Lista */
.tempmail-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
  gap: 12px;
  position: relative;
}

.radar-pulse-ring {
  width: 50px;
  height: 50px;
  position: absolute;
  top: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.06);
  animation: radar-pulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes radar-pulse {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.tempmail-empty-state h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.tempmail-empty-state p {
  font-size: 12px;
  color: #64748b;
  line-height: 1.5;
  margin: 0;
}

.btn-send-test-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md, 8px);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 8px;
}

.btn-send-test-inline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ── Visualizador de Mensagem (Viewer Pane) ── */
.tempmail-viewer-pane {
  background: rgba(14, 16, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg, 14px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.viewer-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 380px;
  padding: 40px;
  text-align: center;
  gap: 14px;
}

.viewer-placeholder h3 {
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.viewer-placeholder p {
  font-size: 13.5px;
  color: var(--text-secondary, #94a3b8);
  max-width: 440px;
  margin: 0;
}

.viewer-loading {
  padding: 40px;
  text-align: center;
  color: var(--text-secondary, #94a3b8);
  font-size: 14px;
}

.viewer-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.viewer-header {
  padding: 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  background: rgba(22, 26, 35, 0.4);
}

.viewer-subject {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
  line-height: 1.3;
}

.viewer-meta-row {
  font-size: 12.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.meta-label {
  color: #64748b;
  font-weight: 600;
}

.meta-val.highlight {
  color: #ffffff;
  font-weight: 600;
}

.meta-separator {
  color: #475569;
}

.btn-viewer-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-md, 8px);
  color: #f87171;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-viewer-action:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #ef4444;
  color: #ffffff;
}

/* ⚡ VIP OTP Highlight Banner */
.otp-highlight-banner {
  margin: 18px 24px 0 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5), 0 0 16px rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md, 12px);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.otp-badge-side {
  display: flex;
  align-items: center;
  gap: 14px;
}

.otp-glow-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(90deg, #94a3b8, #ffffff);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
  color: #0b0c10;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.35);
}

.otp-banner-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.otp-banner-subtitle {
  font-size: 12.5px;
  color: #cbd5e1;
  margin-top: 2px;
}

.otp-action-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.otp-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 4px;
  color: #ffffff;
  padding: 4px 14px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.btn-copy-otp {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #ffffff;
  border-radius: 8px;
  color: #000000;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.15);
}

.btn-copy-otp:hover {
  background: #f1f5f9;
  transform: translateY(-1px);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.35);
  color: #000000;
}

/* Corpo da mensagem */
.viewer-body-container {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.viewer-body-tabs {
  display: flex;
  gap: 8px;
}

.body-tab-btn {
  padding: 4px 12px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text-secondary, #94a3b8);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.body-tab-btn.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.viewer-content-pane {
  flex: 1;
  min-height: 320px;
}

.email-iframe {
  width: 100%;
  height: 380px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: #ffffff;
}

.clean-text-content {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #cbd5e1;
  white-space: pre-wrap;
  word-break: break-word;
}

/* ── 🎓 GERADOR DE IDENTIDADE .EDU ── */
.edu-generator-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.edu-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 20px;
  background: rgba(14, 16, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg, 14px);
}

.edu-select-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.edu-select-wrap label {
  font-size: 13.5px;
  font-weight: 600;
  color: #ffffff;
}

.edu-select {
  height: 42px;
  padding: 0 16px;
  background: rgba(22, 26, 35, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.edu-select option {
  background: #0f1117;
  color: #ffffff;
}

/* Carteirinha Estudantil .EDU */
.student-id-card-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.student-id-card {
  width: 100%;
  max-width: 580px;
  background: linear-gradient(145deg, #131722 0%, #0c0e14 100%);
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  padding: 24px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.student-id-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.card-chip-hologram {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, var(--uni-accent, rgba(255, 255, 255, 0.2)) 0%, transparent 70%);
  opacity: 0.25;
  pointer-events: none;
}

.card-top-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 16px;
  margin-bottom: 18px;
}

.card-uni-crest {
  font-size: 26px;
}

.card-uni-info {
  flex: 1;
}

.card-uni-name {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.card-uni-country {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-secondary, #94a3b8);
  margin-top: 2px;
}

.card-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 10.5px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.card-middle-content {
  display: flex;
  gap: 24px;
}

@media (max-width: 540px) {
  .card-middle-content {
    flex-direction: column;
    align-items: center;
  }
}

.card-avatar-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.student-avatar-svg {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
}

.card-smartchip {
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #d4af37 0%, #aa771c 100%);
  border: 1px solid #ffe599;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 4px;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.chip-line {
  height: 1px;
  background: rgba(0, 0, 0, 0.4);
}

.card-details-grid {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card-field {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.field-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
  text-transform: uppercase;
}

.field-val.strong {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.field-val.mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  font-weight: 600;
  color: #e2e8f0;
}

.field-val.highlight {
  font-size: 13.5px;
  font-weight: 700;
  color: #38bdf8;
}

.edu-email-val {
  color: #ffffff !important;
}

.card-field-row {
  display: flex;
  gap: 24px;
}

.field-val-sub {
  font-size: 12px;
  font-weight: 600;
  color: #cbd5e1;
}

.card-bottom-bar {
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.barcode-graphic {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.35);
}

.security-chip-text {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #64748b;
}

.edu-actions-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-edu-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md, 10px);
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.btn-edu-action:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-edu-action.primary {
  background: #ffffff;
  color: #0b0c10;
  border-color: #ffffff;
}

.btn-edu-action.primary:hover {
  background: #e2e8f0;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* ── 🎁 GUIA DE VANTAGENS ESTUDANTIS (.EDU) ── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 16px;
  margin-top: 8px;
}

.benefit-card {
  background: rgba(14, 16, 22, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg, 14px);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.benefit-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.benefit-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.benefit-icon-badge {
  font-size: 26px;
}

.benefit-savings-tag {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 3px 8px;
  border-radius: 999px;
  white-space: nowrap;
}

.benefit-title {
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
}

.benefit-desc {
  font-size: 13px;
  color: var(--text-secondary, #94a3b8);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}

.benefit-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.benefit-items-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #cbd5e1;
}

.benefit-items-list li svg {
  color: #ffffff;
  flex-shrink: 0;
}

.benefit-btn-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 38px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.benefit-btn-link:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ── Toast de Notificação ── */
.tempmail-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(15, 17, 23, 0.95);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 12px 20px;
  border-radius: var(--radius-md, 10px);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
  transform: translateY(80px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 99999;
}

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

.tempmail-toast.highlight {
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.7);
}

/* ── Modal Oficial de Temp Mail na Loja (index.html) ── */
.tempmail-modal-box {
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  background: linear-gradient(180deg, #111319 0%, #08090d 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  box-shadow: 0 30px 90px -15px rgba(0, 0, 0, 0.95), 0 0 1px 1px rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  animation: loboScaleIn 0.24s cubic-bezier(0.16, 1, 0.3, 1);
}

.tempmail-modal-header {
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(18, 21, 28, 0.7);
}

.tempmail-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tempmail-header-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.tempmail-modal-pill {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffffff;
}

.tempmail-modal-main-title {
  font-size: 17px;
  font-weight: 800;
  color: #ffffff;
  margin: 2px 0 0 0;
}

.tempmail-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-open-fullscreen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #cbd5e1;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-open-fullscreen:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.tempmail-modal-close {
  background: transparent;
  border: none;
  color: #64748b;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}

.tempmail-modal-close:hover {
  color: #ffffff;
}

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

.tempmail-modal-footer {
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(18, 21, 28, 0.7);
  flex-wrap: wrap;
  gap: 12px;
}

/* Botão Header da Loja */
.header-btn-tempmail {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 38px;
  padding: 0 14px;
  background-color: var(--bg-card, #121317);
  border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.12));
  border-radius: var(--radius-md, 8px);
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.header-btn-tempmail:hover {
  background-color: var(--bg-card-hover, #1a1c23);
  border-color: var(--border-silver, rgba(255, 255, 255, 0.35));
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 255, 255, 0.08);
}

@media (max-width: 1150px) {
  .header-btn-tempmail span {
    display: none;
  }
  .header-btn-tempmail {
    padding: 0 11px;
  }
}


/* ── Barra de Seleção de Modo: Edu Mail vs Simple Mail (Estilo Ammarexe VIP) ── */
.mail-mode-selector-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.mail-mode-btn {
  flex: 1;
  min-width: 220px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md, 10px);
  color: #94a3b8;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.mail-mode-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.mail-mode-btn.active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.mail-mode-btn .mode-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.mail-mode-btn.active .mode-icon-circle {
  background: #ffffff;
  color: #0b0c10;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.mail-mode-btn .mode-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mail-mode-btn .mode-title {
  font-size: 13.5px;
  font-weight: 800;
  color: inherit;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mail-mode-btn .mode-subtitle {
  font-size: 11.5px;
  color: #94a3b8;
}

.mail-mode-btn.active .mode-subtitle {
  color: #cbd5e1;
}

.mode-badge-tag {
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tempmail-domain-select optgroup {
  background: #0d0f14;
  color: #94a3b8;
  font-weight: 700;
}

.tempmail-domain-select option {
  background: #12141a;
  color: #ffffff;
  padding: 6px;
}
