/* ============================================================
   filex/css/main.css Ã¢â‚¬â€ comum a todas as pÃƒÂ¡ginas
   ============================================================ */

:root {
  --bg-page: #040b14;
  --bg-card: #0b1524;
  --gold: #f2b24d;
  --gold-hover: #e0a23e;
  --white: #ffffff;
  --text-muted: #8b98a9;
  --line: #1e2d42;
  --input-bg: #0f1c2d;
  --success: #2ecc71;
  --error: #e74c3c;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-page);
  color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Fundo */
.bg-line {
  position: absolute;
  border-radius: 50%;
  border: 1px solid transparent;
  pointer-events: none;
  z-index: 0;
}
.bg-line-1 {
  top: -10%; left: -5%; width: 50vw; height: 50vw;
  border-top: 2px solid rgba(242, 178, 77, 0.4);
  border-right: 2px solid rgba(242, 178, 77, 0.1);
  transform: rotate(-15deg);
  box-shadow: 0 0 40px rgba(242, 178, 77, 0.1);
}
.bg-line-2 {
  bottom: -15%; right: -10%; width: 60vw; height: 60vw;
  border-bottom: 2px solid rgba(242, 178, 77, 0.5);
  border-left: 2px solid rgba(242, 178, 77, 0.1);
  transform: rotate(-10deg);
  box-shadow: 0 0 50px rgba(242, 178, 77, 0.15);
}

/* Card */
.login-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 380px;
  background-color: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 10px 25px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.6),
              inset 0 1px 0 rgba(255,255,255,.05);
  text-align: center;
  margin: 20px;
  backdrop-filter: blur(10px);
}
.login-card::before, .login-card::after {
  content: '';
  position: absolute;
  left: 20%; right: 20%;
  height: 1px;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: 0.6;
}
.login-card::before { top: -1px; }
.login-card::after  { bottom: -1px; }

/* TÃƒÂ­tulos */
.login-title {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
  margin-top: 10px;
}
.login-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 15px;
  padding: 0 15px;
}

/* Inputs */
.form-group { position: relative; margin-bottom: 18px; text-align: left; }
.input-icon {
  position: absolute; left: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 18px; color: var(--text-muted);
  pointer-events: none; transition: color .3s;
}
.form-control {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--line);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  padding: 16px 18px 16px 50px;
  border-radius: 12px;
  outline: none;
  transition: all .3s ease;
}
.form-control::placeholder { color: var(--text-muted); }
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(242,178,77,.15);
  background-color: #0d1a2b;
}
.form-control:focus + .input-icon { color: var(--gold); }
.form-control.error {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(231,76,60,.15);
}

/* Toggle password */
.password-toggle {
  position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%);
  background: none; border: none;
  color: var(--text-muted);
  cursor: pointer; padding: 0; font-size: 18px;
  transition: color .2s;
  display: flex; align-items: center; justify-content: center;
}
.password-toggle:hover { color: var(--gold); }

/* BotÃƒÂµes */
.btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 16px;
  border-radius: 12px;
  font-family: 'Inter', sans-serif;
  font-size: 16px; font-weight: 600;
  cursor: pointer; border: none;
  transition: all .3s ease;
  text-decoration: none;
}
.btn:disabled { opacity: .7; cursor: not-allowed; transform: none !important; }
.btn-primary {
  background-color: var(--gold);
  color: #0b1524;
  margin-bottom: 10px;
  box-shadow: 0 4px 15px rgba(242,178,77,.2);
}
.btn-primary:hover:not(:disabled) {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242,178,77,.3);
}
.btn-primary i { font-size: 18px; }

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border: 1px solid var(--line);
  font-size: 14px;
}
.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background-color: rgba(242,178,77,.05);
}
.btn-secondary i { font-size: 18px; }

/* Links */
.forgot-wrapper {text-align: center;margin-bottom: 10px;}
.forgot-link {
  color: var(--text-muted);
  font-size: 13px; font-weight: 500;
  text-decoration: none;
  transition: color .2s;
}
.forgot-link:hover { color: var(--gold); }
.forgot-link i { font-size: 12px; margin-right: 4px; }

/* Divisor */
.divider {
  display: flex; align-items: center; text-align: center;
  margin-bottom: 25px;
  color: var(--text-muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.divider::before, .divider::after {
  content: ''; flex: 1;
  border-bottom: 1px solid var(--line);
}
.divider::before { margin-right: 15px; }
.divider::after  { margin-left: 15px; }

/* Feedback */
.feedback {
  display: none;
  font-size: 13px;
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 18px;
  text-align: left;
  line-height: 1.4;
}
.feedback.show { display: block; }
.feedback.success {
  background: rgba(46,204,113,.1);
  border: 1px solid rgba(46,204,113,.4);
  color: var(--success);
}
.feedback.error {
  background: rgba(231,76,60,.1);
  border: 1px solid rgba(231,76,60,.4);
  color: var(--error);
}

/* Responsivo geral */
@media (max-width: 480px) {
  .login-card { padding: 40px 24px; margin: 15px; border-radius: 20px; }
  .login-title { font-size: 26px; }
  .login-subtitle { font-size: 13px; }
}