* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    /* background: linear-gradient(135deg, #2a2f4f, #6b5b95, #d1aaff); Morado exótico */
    background-color: #f5f5f5;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.app-container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.logo-header {
    width: 150px;
    height: auto;
    animation: bounce 1.5s infinite;
}

.form-container {
    background: rgba(255, 255, 255, 0.9);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px); /* Efecto vidrio */
    transition: transform 0.3s ease;
}

.form-container:hover {
    transform: scale(1.02);
}

.title {
    color: #1d70b7;
    text-align: center;
    margin-bottom: 20px;
    font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.input-field {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: none;
    border-bottom: 2px solid #1d70b7;
    background: transparent;
    color: #333;
    font-size: 1.1em;
    transition: border-color 0.3s;
}

.input-field:focus {
    border-color: #ee753f;
    outline: none;
}

.btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(45deg, #ee753f, #ee753f);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1em;
    cursor: pointer;
    transition: opacity 0.3s;
}

.btn:hover {
    opacity: 0.9;
}

.message {
    text-align: center;
    margin-top: 10px;
    color: #ff6f61;
}

.result-card {
    margin-top: 20px;
    padding: 20px;
    border: 2px solid #ff9a76;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.7);
    text-align: left;
    animation: slideUp 0.5s ease-out;
}

.result-card img.logo-result {
    width: 50px;
    height: auto;
    float: right;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.result-card:hover .logo-result {
    opacity: 1;
}

.result-card p {
    margin: 8px 0;
    color: #2a2f4f;
    font-size: 1.1em;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 480px) {
    .form-container {
        margin: 10px;
        padding: 15px;
    }
    .title {
        font-size: 1.5em;
    }
}
.btn-secondary {
    background: #ee753f; /* Consistente con tus botones */
    margin-top: 10px;
}

.footer {
    width: 100%;
    text-align: center;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #1d70b7; /* Tono de tus títulos */
    font-size: 0.9em;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    margin-top: auto; /* Empuja al bottom */
}
.button-group {
    display: flex;
    flex-direction: column; /* Apila los botones verticalmente */
    gap: 10px; /* Espacio entre botones */
    margin-top: 15px; /* Separación del contenido superior */
}

@media (min-width: 480px) {
    .button-group {
        flex-direction: row; /* En pantallas grandes, los muestra horizontalmente */
        justify-content: space-between; /* Espacio uniforme */
    }
}