:root {
  --primary-color: #6366f1;
  --primary-hover: #4f46e5;
  --bg-color: #f8fafc;
  --text-main: #1e293b;
  --border-color: #e2e8f0;
  --white: #ffffff;
}

body {
  background-color: var(--bg-color);
  font-family: 'Inter', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.form-container {
  background: var(--white);
  padding: 2.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0     8px 10px -6px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
}

.textlabel {
  margin-bottom: 1.5rem;
  color: var(--text-main);
  font-weight: 700;
  text-align: center;
}

.input-group {
  margin-bottom: 1.25rem;
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial para el padding */
}

/* Estado de enfoque (Focus) */
input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.btn-submit {
  width: 100%;
  background-color: #6366f1;
  color: white;
  padding: 0.75rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-submit:hover {
  background-color: #5651e9;
}

.btn-submit:active {
  transform: scale(0.98);
}