:root {
  --primary-color: #dd2c2a;
  --primary-hover: #ee7f1b;
  --text-color: #2d3748;
  --bg-color: #f7fafc;
  --shadow-color: rgba(0, 0, 0, 0.1);
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-hover)
  );
  font-family: "Inter", sans-serif;
  color: var(--text-color);
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  z-index: 10;
}

.register-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
}

.register-form {
  background: #ffffff;
  width: 100%;
  max-width: 400px;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.logo-container {
  text-align: center;
  margin-bottom: 2rem;
}

.logo {
  max-width: 180px;
  height: auto;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text-color);
  font-weight: 500;
  font-size: 0.95rem;
}

.input-group {
  position: relative;
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: #718096;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.input-icon i {
  font-size: 1rem;
}

.password-toggle {
  left: auto;
  right: 1rem;
  cursor: pointer;
  opacity: 0.7;
}

.password-toggle:hover {
  color: var(--primary-color);
  opacity: 1;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.75rem;
  font-size: 1rem;
  color: var(--text-color);
  background-color: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(13, 82, 74, 0.1);
  outline: none;
}

.form-control:focus + .input-icon {
  color: var(--primary-color);
}

.custom-btn {
  width: 100%;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: var(--primary-color);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.custom-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
}

.custom-btn:active {
  transform: translateY(0);
}

.login-link {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.95rem;
  color: #718096;
}

.login-link a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.login-link a:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* Responsividade */
@media (max-width: 480px) {
  .register-form {
    padding: 1.5rem;
  }

  .logo {
    max-width: 150px;
  }
}
