/* Login moderno e elegante */
.login-container {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: linear-gradient(135deg, rgba(7, 29, 65, 0.03) 0%, rgba(12, 125, 71, 0.03) 100%);
}

.login-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: 2rem;
  padding: 3rem 2.5rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(7, 29, 65, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.login-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

.login-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.login-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(7, 29, 65, 0.2);
}

.login-icon svg {
  width: 40px;
  height: 40px;
  fill: white;
}

.login-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}

.login-subtitle {
  color: rgba(51, 51, 51, 0.7);
  font-size: 1.05rem;
  font-weight: 400;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  position: relative;
}

.form-input {
  width: 100%;
  padding: 1.2rem 1rem 1.2rem 3.5rem;
  border: 2px solid rgba(7, 29, 65, 0.1);
  border-radius: 1rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: var(--secondary-color);
  background: white;
  box-shadow: 0 0 0 3px rgba(12, 125, 71, 0.1);
}

.input-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  fill: rgba(7, 29, 65, 0.5);
  transition: all 0.3s ease;
}

.form-input:focus + .input-icon {
  fill: var(--secondary-color);
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 0.95rem;
}

.login-button {
  width: 100%;
  padding: 1.2rem;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  border-radius: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(7, 29, 65, 0.3);
  margin-top: 1rem;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(7, 29, 65, 0.4);
}

.login-button:active {
  transform: translateY(0);
}

.login-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(7, 29, 65, 0.1);
}

.signup-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.signup-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.error-message {
  background: rgba(255, 87, 87, 0.1);
  border: 1px solid rgba(255, 87, 87, 0.3);
  color: #d63031;
  padding: 1rem;
  border-radius: 0.8rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.error-message ul {
  margin: 0;
  padding-left: 1.2rem;
}

/* Responsividade */
@media (max-width: 500px) {
  .login-card {
    padding: 2rem 1.5rem;
    margin: 1rem;
    border-radius: 1.5rem;
  }
  
  .login-title {
    font-size: 1.8rem;
  }
  
  .login-icon {
    width: 60px;
    height: 60px;
  }
  
  .login-icon svg {
    width: 30px;
    height: 30px;
  }
}

/* Animações */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-card {
  animation: slideUp 0.6s ease-out;
}