/* General */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(223,223,223,1) 50%, rgba(255,255,255,1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    color: #333;
}

/* Contenedor del formulario */
.container {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    width: 340px;
    text-align: center;
    overflow: hidden; /* Para evitar desbordes */
}

/* Logo */
.logo img {
    width: 200px;
    margin-bottom: 1.5rem;
}

/* Estilo para los títulos */
h2 {
    margin-bottom: 1.5rem;
    color: #555; /* Color gris más oscuro */
    font-weight: 700; /* Más grueso */
    font-size: 1.8rem; /* Tamaño más grande */
    position: relative;
}

h2::after {
    content: '';
    width: 50px;
    height: 3px;
    background-color: #555; /* Color gris para la línea debajo del título */
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* Inputs con íconos */
.input-group {
    margin-bottom: 1.5rem;
}

.icon-input {
    position: relative;
}

.icon-input i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
}

.icon-input i:hover {
    color: #00AC00  ; /* Cambia el color del ícono al pasar el mouse */
}

.icon-input input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem; /* Espacio para el icono */
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box; /* Asegura que el padding esté dentro del ancho */
}

.icon-input input:focus {
    border-color: #00AC00;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    outline: none;
}

/* Botones */
button {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    color: white;
    background-color: #00AC00;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

button:hover {
    background-color: #00AC00;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.primary-btn {
    background: #00AC00;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Enlaces */
a {
    color: #a5a5a5;
    text-decoration: none;
    font-size: 0.9rem;
}

a:hover {
    text-decoration: underline;
}

/* Mensajes de error */
.error-message {
    color: red;
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* Efectos de transición */
input, button {
    transition: all 0.3s ease;
}

/* Estilo para las etiquetas */
label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555; /* Color gris para las etiquetas */
    font-weight: 600; /* Negrita para destacar las etiquetas */
}

/* Estilo para el select */
select {
    width: 100%;
    padding: 0.75rem 1rem; /* Espacio interior similar al input */
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    font-size: 1rem;
    transition: border 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    appearance: none; /* Quita el estilo por defecto del select */
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10" viewBox="0 0 10 10"><polygon points="0,0 10,0 5,5" fill="%23888"/></svg>'); /* Añade una flecha personalizada */
    background-repeat: no-repeat;
    background-position: right 10px center; /* Posiciona la flecha */
    background-size: 10px; /* Tamaño de la flecha */
    box-sizing: border-box; /* Asegura que el padding esté dentro del ancho */
}

/* Cambios en el select al enfocarlo */
select:focus {
    border-color: #00AC00;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    outline: none;
}
