.tarjeta-login {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}
.logo-login {
    margin-bottom: 20px;
    text-align: center;
}
body {
    background: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
img{
    width: 200px;
}
h2{
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}
p{
    margin-bottom: 1.5rem;
    text-align: center;
}
.error{
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  border: 1px solid #f5c2c7;
  border-radius: 0.375rem;
  color: #842029;
  background-color: #f8d7da;
}
.input-group, .input {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-field {
    width: 100%;
    padding: 1rem 0.75rem;
    font-size: 1rem;
    border: 1px solid #ced4da;
    border-radius: 0.5rem;
    outline: none;
    background: transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.input-field:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(50, 88, 255, 0.1);
}


.input-label {
    position: absolute;
    top: 1rem;
    left: 0.75rem;
    color: #6c757d;
    pointer-events: none;
    transition: all 0.2s ease;
    background-color: white; 
    padding: 0 5px;
}

.input-field:focus ~ .input-label,
.input-field:not(:placeholder-shown) ~ .input-label {
    top: -0.6rem;
    left: 0.6rem;
    font-size: 0.85rem;
    color: #2c3e50;
    font-weight: 600;
}

.btn-submit {
    width: 100%;
    padding: 0.8rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    background: #2c3e50;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.btn-submit:hover {
    background: #385777;
}

.btn-submit:active {
    transform: scale(0.98);
}

.text-muted {
    margin-top: 1.5rem;
    color: #6c757d;
    text-align: center;
}

.small {
    font-size: 0.85rem;
}

.error h3 {
    font-size: 1rem;
    margin: 0;
    font-weight: 600;
}
