﻿@import url("./pedefi-rebrand.css");

.login-page,
.login-card {
  font-family: Inter, Arial, sans-serif;
}

.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
  padding: 20px;
}

.login-card {
  width: 100%;
  max-width: 420px;
  background: #fff;
  padding: 35px;
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.cadastro-card {
  max-width: none;
}

.login-card h1 {
  margin-bottom: 10px;
  color: #d62828;
}

.login-card p {
  margin-bottom: 25px;
  color: #666;
}

.login-card input {
  width: 100%;
  padding: 14px;
  margin-bottom: 14px;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-sizing: border-box;
  outline: none;
}

.login-card input:focus {
  border-color: #d62828;
  box-shadow: 0 0 0 3px rgba(214, 40, 40, 0.08);
}

.login-card button {
  width: 100%;
  padding: 14px;
  background: #d62828;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}

.login-card button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.login-links {
  margin-top: 18px;
  text-align: center;
  color: #666;
  font-size: 14px;
}

.login-links a {
  color: #d62828;
  font-weight: 700;
  text-decoration: none;
  margin-left: 4px;
}

.login-links a:hover {
  text-decoration: underline;
}

.cadastro-sessao-ativa {
  margin: 20px 0 8px;
  padding: 20px 18px;
  border-radius: 14px;
  background: rgba(255, 90, 61, 0.06);
  border: 1px solid rgba(255, 30, 86, 0.16);
  text-align: center;
}

.cadastro-sessao-texto {
  margin: 0 0 8px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #374151;
}

.cadastro-sessao-texto strong {
  color: #0d1117;
  font-weight: 700;
  word-break: break-all;
}

.cadastro-sessao-hint {
  margin: 0 0 18px;
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.45;
}

.cadastro-sessao-acoes {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cadastro-btn-painel,
.cadastro-btn-sair {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.cadastro-btn-painel {
  border: none;
  background: linear-gradient(135deg, #ff5a3d 0%, #ff1e56 100%);
  color: #fff;
}

.cadastro-btn-sair {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #374151;
}

.cadastro-btn-painel:hover,
.cadastro-btn-sair:hover {
  transform: translateY(-1px);
}

.index-cta-primary {
  display: block;
  width: 100%;
  padding: 14px;
  margin-bottom: 6px;
  background: #d62828;
  color: #ffffff;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  box-sizing: border-box;
}

.index-cta-primary:hover {
  filter: brightness(0.96);
}

#mensagemLogin,
#mensagemCadastro {
  margin-top: 15px;
  text-align: center;
  color: #555;
  font-size: 14px;
  line-height: 1.4;
}

#mensagemCadastro.erro,
#mensagemLogin.erro {
  color: #b42318;
}

#mensagemCadastro.sucesso,
#mensagemLogin.sucesso {
  color: #027a48;
}


