body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #e0f2f7 0%, #c1d9ed 100%); /* Fondo similar al de la imagen */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px;
    box-sizing: border-box;
}

.container {
    width: 100%;
    max-width: 400px; /* Ancho máximo para el formulario */
}

.forgot-password-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
}

.card-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
}

.header-icon {
    width: 50px;
    height: 50px;
    background-color: #2979ff; /* Color azul del icono de candado */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    /* Si es una imagen SVG o PNG, asegúrate de que tenga el tamaño y color adecuados */
}

.header-icon img {
    width: 30px; /* Ajusta el tamaño del icono dentro del círculo */
    height: 30px;
    filter: invert(100%) brightness(200%); /* Para iconos blancos */
}

h2 {
    color: #333333;
    font-size: 1.8em;
    margin: 0;
    font-weight: 700;
}

.description {
    color: #666666;
    font-size: 0.95em;
    margin-bottom: 30px;
    line-height: 1.5;
}

.input-group {
    text-align: left;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.9em;
    color: #555555;
    margin-bottom: 8px;
    font-weight: 500;
}

.input-group input[type="email"],
.input-group input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    color: #333333;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.input-group input[type="email"]::placeholder,
.input-group input[type="text"]::placeholder {
    color: #cccccc;
}

.input-group input[type="email"]:focus,
.input-group input[type="text"]:focus {
    outline: none;
    border-color: #2979ff;
    box-shadow: 0 0 0 3px rgba(41, 121, 255, 0.2);
}

.btn-submit {
    width: 100%;
    padding: 14px;
    background-color: #2979ff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #1a60cc;
    box-shadow: 0 5px 15px rgba(41, 121, 255, 0.3);
}

.back-to-login {
    display: block;
    margin-top: 25px;
    color: #2979ff;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: color 0.3s ease;
}

.back-to-login:hover {
    color: #1a60cc;
    text-decoration: underline;
}

/* Media Queries para Responsividad */
@media (max-width: 600px) {
    .forgot-password-card {
        margin: 0 15px;
        padding: 25px;
    }

    h2 {
        font-size: 1.6em;
    }

    .description {
        font-size: 0.9em;
        margin-bottom: 25px;
    }

    .input-group label {
        font-size: 0.85em;
    }

    .input-group input {
        padding: 10px 12px;
        font-size: 0.95em;
    }

    .btn-submit {
        padding: 12px;
        font-size: 1em;
    }

    .back-to-login {
        font-size: 0.85em;
        margin-top: 20px;
    }
}