
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: linear-gradient(135deg, #a3d977 0%, #2ecc71 100%);
  font-family: 'Segoe UI', sans-serif;
  color: #333;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

}

.login-container {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  max-width: 400px;
  width: 90%;
  margin: 80px auto 50px;
  padding: 40px 30px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  text-align: center;
  border: 1px solid rgba(255,255,255,0.2);
}

.login-container h2 {
  font-size: 1.75rem;
  margin-bottom: 10px;
  color: #2c3e50;
  font-weight: 700;
}

.login-container p {
  font-size: 0.9375rem;
  margin-bottom: 25px;
  color: #7f8c8d;
}


.login-container form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.login-container label {
  text-align: left;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2c3e50;
}

.login-container input {
  padding: 15px;
  border-radius: 12px;
  border: 2px solid #e8f5e8;
  margin-bottom: 20px;
  font-size: 1rem;
  outline: none;
  transition: all 0.3s;
  background: #f8fdf8;
}

.login-container input:focus {
  border-color: #2ecc71;
  background: white;
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.1);
}


.login-container button {
  padding: 15px;
  background: linear-gradient(135deg, #2ecc71, #27ae60);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.login-container button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

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

.login-container button:disabled {
  background: #95a5a6;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

.registrar-link {
  text-align: center;
  margin-top: 25px;
  font-size: 0.875rem;
  color: #7f8c8d;
}

.registrar-link a {
  color: #2ecc71;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.registrar-link a:hover {
  color: #27ae60;
  text-decoration: underline;
}

.auth-captcha {
  display: flex;
  justify-content: center;
  width: 100%;
  min-width: 0;
}
.auth-captcha[hidden] { display: none; }

@media (max-width: 480px) {
  .login-container { padding: 30px 20px; }
}

.auth-captcha-status {
  margin: 0;
  color: #64748b;
  font-size: .8rem;
  line-height: 1.4;
  text-align: left;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 12px;
  color: #718096;
  font-size: 0.875rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #d8e2e8;
}

.google-auth-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  min-height: 44px;
  margin-top: 0 !important;
  border: 0;
  background: transparent;
}

.google-auth-button[hidden] { display: none; }
.google-auth-button [data-google-web-button] { display: flex; justify-content: center; min-width: 0; }

.google-auth-native-button {
  width: min(100%, 400px);
  min-height: 44px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  font: 600 15px Arial, sans-serif;
  cursor: pointer;
}

.google-auth-native-button:disabled { opacity: .7; cursor: wait; }
.google-auth-native-button[hidden] { display: none; }

.auth-provider-status {
  min-height: 0;
  margin: 8px 0 0;
  color: #64748b;
  font-size: .85rem;
  line-height: 1.45;
}


footer {
  background-color: white;
  color: white;
  text-align: center;
  padding: 20px;
  width: 99vw;
  margin-top: auto;
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    gap: 10px;
    padding: 15px 20px;
  }

  header nav ul {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .login-container {
    width: 95%;
    padding: 30px 20px;
    margin: 100px auto 30px;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-container {
  animation: fadeIn 0.6s ease-out;
}
.health-footer {
    width: 100%;
    min-width: 0;
    background: #ffffff;
    color: #2d3748;
    padding: 20px 0 10px;
    margin-top: 40px;
    border-top: 1px solid #e2e8f0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.8em;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-section h3 {
    color: #22c55e;
    margin: 0;
    font-size: 2em;
    font-weight: 600;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

.footer-links li {
    margin: 0;
}

.footer-links a {
    color: #22c55e;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1.5em;
    font-weight: 500;
}

.footer-links a:hover {
    color: #16a34a;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 15px auto 0;
    padding: 10px 20px 0;
    border-top: 1px solid #e2e8f0;
    text-align: center;
    color: #64748b;
    font-size: 1em;
}


@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        gap: 20px;
    }
    
    .health-footer {
        padding: 15px 0 8px;
    }
}
