body {
    font-family: Arial, sans-serif;
    background: #f4f6f9;
    margin: 0;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 15px;
}

.card {
    background: white;
    padding: 25px;
    width: 100%;
    max-width: 400px; /* límite en pantallas grandes */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    background-color: #f2f2f2;
}

h2 {
    margin-bottom: 10px;
    color: #333;
}

p {
    font-size: 14px;
    color: #666;
}

label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    margin-top: 20px;
    width: 100%;
    padding: 12px;
    background: #4CAF50;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:hover {
    background: #004d34;
}

button {
    margin-top: 10px;
}

input, button {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 480px) {
    .card {
        padding: 20px;
    }

    h2 {
        font-size: 20px;
    }

    #captchaTexto {
        font-size: 20px;
        letter-spacing: 3px;
    }
}

input::placeholder {
    color: #aaa;
    font-size: 14px;
    letter-spacing: 1px;
}

input[type=text] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
    font-size: 24px;
    text-align: center;
}

button[type="submit"] {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 5px;
    cursor: pointer;
}
button[type="submit"]:hover {
    background-color: #43a047; /* un poco más oscuro */
}

#btnLimpiar {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    background: #ccc;
    color: #333;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#btnLimpiar:hover {
    background: #b3b3b3;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 15px;
}

#captchaTexto {
    font-size: 20px;
    font-weight: bold;
    background: #eee;
    padding: 10px;
    letter-spacing: 3px;
}

#captchaTexto {
    display: inline-block;
    font-size: 26px;
    font-weight: bold;
    letter-spacing: 5px;
    padding: 10px 15px;
    background: linear-gradient(135deg, #e0e0e0, #ffffff);
    border: 1px solid #ccc;
    border-radius: 6px;
    color: #333;
    text-shadow: 
        1px 1px 0 #999,
        -1px -1px 0 #fff;
    transform: skew(-5deg);
    user-select: none;
}

#captchaTexto:hover span {
    transform: scale(1.2) rotate(5deg);
    transition: 0.2s;
}



.result {
    background: #f1f8e9;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: left;
}

.result p {
    margin: 5px 0;
    font-size: 14px;
}


