101 lines
1.9 KiB
CSS

.form-container {
/* max-width: 800px; */
min-width: 20vw;
margin: 2rem auto;
padding: 2rem;
background: white;
border-radius: 12px;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
/* font-family: 'Segoe UI', Roboto, sans-serif; */
}
.form-header {
text-align: center;
margin-bottom: 1.5rem;
}
.form-row {
display: flex;
align-items: center;
margin-bottom: 1rem;
gap: 1rem;
& label {
font-size: 1.1em;
text-align: right;
}
}
.form-label {
flex: 0 0 180px;
font-weight: 500;
color: #2d3748;
}
.form-control,
.form-select {
flex: 1;
padding: 0.75rem;
border: 1px solid #e2e8f0;
border-radius: 6px;
font-size: 1rem;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-control:focus,
.form-select:focus {
outline: none;
border-color: #4299e1;
box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.2);
}
.btn-primary {
display: block;
width: 100%;
max-width: 200px;
margin: 1.5rem auto 0;
padding: 0.75rem;
background-color: #4299e1;
color: white;
border: none;
border-radius: 6px;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
transition: background-color 0.2s ease;
}
.btn-primary:hover {
background-color: #3182ce;
}
/* -------------------------- */
.form-footer {
text-align: center;
margin-top: 1.5rem;
padding-top: 1rem;
border-top: 1px solid #e2e8f0;
}
.forgot-password {
color: #4299e1;
text-decoration: none;
font-size: 0.9rem;
font-weight: 500;
transition: color 0.2s ease;
display: inline-block;
padding: 0.3rem 0.6rem;
border-radius: 4px;
}
.forgot-password:hover {
color: #3182ce;
text-decoration: underline;
background-color: rgba(66, 153, 225, 0.1);
}
/* Opcional: Alineación con el botón si quieres que quede centrado debajo */
.form-footer {
display: flex;
justify-content: center;
}