@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    background: linear-gradient(135deg, #264653, #2A9D8F); /* Azul petróleo y verde esmeralda */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #333;
}

.container {
    background: #ffffff; /* Blanco */
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    transition: all 0.3s ease-in-out;
}

h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: #264653; /* Azul petróleo */
}

.input-group {
    margin-bottom: 1.5rem;
}

.input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: #555;
    font-weight: 500;
}

.input-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9f9f9; /* Gris claro */
}

.input-group input:focus {
    border-color: #2A9D8F; /* Verde esmeralda */
    outline: none;
    background: #fff;
    box-shadow: 0 0 8px rgba(42, 157, 143, 0.2); /* Verde esmeralda */
}

button {
    width: 100%;
    padding: 0.75rem;
    background: #2A9D8F; /* Verde esmeralda */
    color: white;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

button:hover {
    background: #264653; /* Azul petróleo */
    box-shadow: 0 4px 12px rgba(38, 70, 83, 0.3); /* Azul petróleo */
}

.mensaje {
    text-align: center;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    height: 1.2rem;
    color: #E76F51; /* Rojo coral */
}

.hidden {
    display: none;
}

.toggle-text {
    margin-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    color: #555;
}

.toggle-text span {
    color: #2A9D8F; /* Verde esmeralda */
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.toggle-text span:hover {
    color: #264653; /* Azul petróleo */
}

/* Responsivo */
@media (max-width: 480px) {
    .container {
        padding: 1.5rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    button {
        font-size: 0.9rem;
    }

    .input-group input {
        font-size: 0.9rem;
    }
}

footer {
    text-align: center;
    padding: 1rem;
    background-color: #F4F4F9;
    color: #2B2D42;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
  }