/* ===================================================================
   ARCHIVO 1: login.css - TEMA CLARO SENA
   ================================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f3fbf3 0%, #e8f8f5 50%, #d4f1e8 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.login-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(1, 175, 1, 0.15);
  overflow: hidden;
  width: 100%;
  max-width: 400px;
  animation: slideIn 0.5s ease-out;
  border: 2px solid rgba(79, 200, 79, 0.2);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.login-header {
  background: linear-gradient(135deg, #4fc84f 0%, #01af01 100%);
  padding: 40px 30px;
  text-align: center;
  color: white;
}

.login-header h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.login-header p {
  font-size: 14px;
  opacity: 0.95;
}

.login-body {
  padding: 40px 30px;
}

:is(.form-group, select) {
  margin-bottom: 25px;
}

label {
  display: block;
  margin-bottom: 8px;
  color: #2c3e50;
  font-weight: 600;
  font-size: 14px;
}

input[type="text"],
input[type="password"],
select {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
  background: #f8fcfb;
}

input[type="text"]:focus,
input[type="password"]:focus,
select:focus {
  border-color: #4fc84f;
  box-shadow: 0 0 0 3px rgba(79, 200, 79, 0.1);
  background: white;
}

.btn-login {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #4fc84f 0%, #01af01 100%);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 200, 79, 0.3);
}

.btn-login:active {
  transform: translateY(0);
}

.login-footer {
  text-align: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e0e0e0;
}

.apprentice-link {
  color: #01af01;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: color 0.3s ease;
}

.apprentice-link:hover {
  color: #4fc84f;
  text-decoration: underline;
}

.icon {
  display: inline-block;
  margin-right: 5px;
}