@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at top, rgba(3, 70, 148, 0.14), transparent 28%),
        linear-gradient(180deg, #eef4fb 0%, #ffffff 100%);
    min-height: 100vh;
    color: #102f55;
}

.container {
    width: 100%;
    max-width: 640px;
    background: #ffffff;
    border-radius: 18px;
    padding: 46px 40px;
    margin: 48px auto;
    box-shadow: 0 24px 70px rgba(16, 47, 85, 0.12);
    text-align: center;
}

.logo {
    display: block;
    margin: 0 auto 24px auto;
    max-width: 220px;
    object-fit: contain;
}

h1 {
    color: #103c6e;
    font-size: 2.45rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitulo {
    color: #198754;
    font-size: 1rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 10px;
}

.descripcion {
    color: #4b586f;
    font-size: 1rem;
    line-height: 1.85;
    margin: 0 auto 28px auto;
    max-width: 460px;
}

input[type="text"],
button {
    width: 100%;
    font-family: 'Poppins', sans-serif;
}

input[type="text"] {
    border: 1px solid #d8e4f2;
    border-radius: 16px;
    background: #f7fbff;
    padding: 14px 16px;
    color: #132d52;
    box-shadow: inset 0 1px 2px rgba(16, 47, 85, 0.05);
    margin-bottom: 18px;
}

input[type="text"]:focus {
    outline: none;
    border-color: #0d5ec5;
    box-shadow: 0 0 0 0.2rem rgba(13, 94, 197, 0.16);
}

button {
    border: none;
    border-radius: 16px;
    background: #174f86;
    color: #ffffff;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
    margin-top: 4px;
    box-shadow: 0 14px 30px rgba(23, 79, 134, 0.12);
}

button:hover {
    background: #143f6e;
    transform: translateY(-1px);
}

#resultado {
    margin-top: 24px;
    padding: 22px;
    border-radius: 20px;
    border: 1px solid rgba(19, 61, 114, 0.08);
    background: #f6f9ff;
    color: #102f55;
    min-height: 70px;
}

.footer {
    margin-top: 30px;
    text-align: center;
    color: #6b7a95;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 30px 24px;
        margin: 30px 16px;
        border-radius: 16px;
    }

    h1 {
        font-size: 2.15rem;
    }

    .descripcion {
        font-size: 0.98rem;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 24px 18px;
        margin: 20px 12px;
    }

    h1 {
        font-size: 1.85rem;
    }

    button {
        padding: 14px 20px;
    }
}
