/* Página signin alinhada a frontend/web-static/pages/signin/index.html */

.signin-5173-root {
  font-family: 'Montserrat', sans-serif;
  background-color: #050c18;
  color: #fff;
  overflow-x: hidden;
  min-height: 100vh;
}

.signin-5173-root h1,
.signin-5173-root h2,
.signin-5173-root h3,
.signin-5173-root .heading-gold {
  font-family: 'Cinzel', serif;
}

.signin-5173-root .auth-card {
  background: rgba(10, 25, 47, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.signin-5173-root .language-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.signin-5173-root .language-modal.active {
  display: flex;
}

.signin-5173-root .language-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.signin-5173-root .language-modal-content {
  position: relative;
  background: #0a192f;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 2rem;
  width: 90%;
  max-width: 800px;
  max-height: 80vh;
  overflow-y: auto;
  padding: 2rem;
}

.signin-5173-root .language-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.signin-5173-root .language-search {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
  color: #fff;
  margin-bottom: 2rem;
}

.signin-5173-root .language-buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.signin-5173-root .mob-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
}

.signin-5173-root .mob-overlay.open {
  display: block;
}

.signin-5173-root .mob-drawer {
  position: fixed;
  top: 0;
  left: -280px;
  bottom: 0;
  width: 280px;
  background: rgba(5, 12, 24, 0.98);
  border-right: 1px solid rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 300;
  overflow-y: auto;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.signin-5173-root .mob-drawer.open {
  left: 0 !important;
}

.signin-5173-root .mob-drw-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.signin-5173-root .mob-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  min-width: 0;
}

.signin-5173-root .mob-brand-name {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
  background: linear-gradient(135deg, #d4af37 0%, #f7e1ad 50%, #aa8b2c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.signin-5173-root .mob-close {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.signin-5173-root .mob-close:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: #d4af37;
  color: #d4af37;
}

.signin-5173-root .mob-drw-nav {
  padding: 12px 10px 10px;
  flex: 1;
}

.signin-5173-root .mob-section-lbl {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
  padding: 0 10px 8px;
  margin-top: 12px;
  display: block;
}

.signin-5173-root .mob-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.25s ease;
  margin-bottom: 2px;
  border: 1px solid transparent;
}

.signin-5173-root .mob-link:hover {
  background: rgba(212, 175, 55, 0.08);
  color: #fff;
}

.signin-5173-root .mob-link.active {
  background: rgba(212, 175, 55, 0.14);
  color: #d4af37;
}

.signin-5173-root .mob-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  flex-shrink: 0;
}

.signin-5173-root .mob-link.active .mob-dot {
  opacity: 1;
}

.signin-5173-root .mob-drw-actions {
  padding: 12px 10px 8px;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.signin-5173-root .mob-action-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s ease;
  margin-bottom: 8px;
}

.signin-5173-root .mob-action-link.secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.signin-5173-root .mob-action-link.primary {
  background: linear-gradient(135deg, #d4af37 0%, #f7e1ad 50%, #aa8b2c 100%);
  color: #050c18;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.25);
}

/* Campo senha + botão mostrar (Blazor) */
.signin-password-wrap {
  position: relative;
}

.signin-password-wrap .signin-toggle-pw {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: #e2e8f0;
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}

.signin-password-wrap .signin-toggle-pw:hover {
  border-color: rgba(212, 175, 55, 0.55);
  color: #fff;
}

.signin-password-wrap .signin-pw-input {
  padding-right: 5.5rem;
}

.signin-debug-row {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.12);
}

.signin-debug-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  color: rgba(212, 175, 55, 0.85);
  text-decoration: underline;
  padding: 0;
}

@media (max-width: 900px) {
  .signin-5173-root header > div {
    padding: 0.9rem 1rem !important;
  }

  .signin-5173-root header img.signin-header-logo {
    height: 42px !important;
  }

  .signin-5173-root header button[aria-label='Menu'] {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.18);
  }
}
