/* Auth Styles - GOC Brasil */

.authSection {
  width: 100%;
  min-height: calc(100vh - 200px);
  padding: 3rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #3D2B1F 0%, #2a1d15 100%);
}

.authSection::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%23C5A572" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
  background-size: 100px 100px;
  opacity: 0.3;
  pointer-events: none;
}

.authContainer {
  width: 100%;
  max-width: 450px;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.authCard {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(197, 165, 114, 0.1);
}

/* Header */
.authHeader {
  text-align: center;
  margin-bottom: 2rem;
}

.authIcon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #3D2B1F 0%, #5a4030 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  border: 3px solid rgba(197, 165, 114, 0.3);
}

.authIcon i {
  font-size: 2rem;
  color: #C5A572;
}

.authHeader h1 {
  color: #3D2B1F;
  font-family: 'Cinzel', serif;
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

.authHeader p {
  color: #666;
  font-size: 0.95rem;
}

/* Alert Messages */
.authCard .alert {
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.authCard .alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.authCard .alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.authCard .alert-warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}

/* Form */
.authForm {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.authFormGroup {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.authFormGroup label {
  color: #3D2B1F;
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.authFormGroup label i {
  color: #C5A572;
  font-size: 0.85rem;
}

.authFormGroup input {
  background-color: #f8f7f5;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  border: 2px solid #eee;
  color: #3D2B1F;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.authFormGroup input:focus {
  outline: none;
  border-color: #C5A572;
  background-color: white;
  box-shadow: 0 0 0 4px rgba(197, 165, 114, 0.15);
}

.authFormGroup input::placeholder {
  color: #aaa;
}

.authFormGroup input.is-invalid {
  border-color: #8B1A1A;
}

.authFormGroup .invalid-feedback {
  color: #8B1A1A;
  font-size: 0.85rem;
  display: block;
}

/* Checkbox */
.authCheckbox {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.authCheckbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #C5A572;
  cursor: pointer;
}

.authCheckbox label {
  color: #666;
  font-size: 0.9rem;
  cursor: pointer;
}

/* Submit Button */
.authSubmitBtn {
  background: linear-gradient(135deg, #C5A572 0%, #a88a5a 100%);
  color: #3D2B1F;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  width: 100%;
  box-shadow: 0 4px 15px rgba(197, 165, 114, 0.4);
}

.authSubmitBtn:hover {
  background: linear-gradient(135deg, #a88a5a 0%, #8B1A1A 100%);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(197, 165, 114, 0.5);
}

.authSubmitBtn:active {
  transform: translateY(-1px);
}

.authSubmitBtn i {
  font-size: 1rem;
}

/* Links */
.authLinks {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(197, 165, 114, 0.2);
}

.authLinks a {
  color: #C5A572;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.authLinks a:hover {
  color: #8B1A1A;
}

.authDivider {
  color: #aaa;
  font-size: 0.85rem;
}

/* Back to Home */
.authBackHome {
  text-align: center;
  margin-top: 1.5rem;
}

.authBackHome a {
  color: #C5A572;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: rgba(197, 165, 114, 0.15);
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(197, 165, 114, 0.3);
}

.authBackHome a:hover {
  background: #C5A572;
  color: #3D2B1F;
}

/* Password Strength Indicator */
.passwordStrength {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.5rem;
}

.passwordStrength span {
  flex: 1;
  height: 4px;
  background: #eee;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.passwordStrength.weak span:first-child {
  background: #8B1A1A;
}

.passwordStrength.medium span:nth-child(-n+2) {
  background: #C5A572;
}

.passwordStrength.strong span:nth-child(-n+3) {
  background: #28a745;
}

.passwordStrength.very-strong span {
  background: #28a745;
}

/* Responsive Design */
@media (max-width: 768px) {
  .authSection {
    padding: 2rem 0;
    min-height: auto;
  }

  .authCard {
    padding: 2rem 1.5rem;
  }

  .authIcon {
    width: 70px;
    height: 70px;
  }

  .authIcon i {
    font-size: 1.75rem;
  }

  .authHeader h1 {
    font-size: 1.5rem;
  }

  .authFormGroup input {
    padding: 0.875rem 1rem;
  }

  .authSubmitBtn {
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .authCard {
    padding: 1.5rem 1.25rem;
    border-radius: 1rem;
  }

  .authIcon {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
  }

  .authIcon i {
    font-size: 1.5rem;
  }

  .authHeader h1 {
    font-size: 1.35rem;
  }

  .authHeader p {
    font-size: 0.9rem;
  }

  .authFormGroup label {
    font-size: 0.85rem;
  }

  .authFormGroup input {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .authSubmitBtn {
    padding: 0.75rem 1.25rem;
    font-size: 0.95rem;
  }

  .authLinks {
    gap: 0.6rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
  }

  .authLinks a {
    font-size: 0.85rem;
  }
}
