body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.container {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 70%;
    max-width: 800px;
    z-index: 0;
}

h2, h3 {
    color: #333;
}

p {
    font-size: 16px;
}

input {
    width: 60%;
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    background: #1eba2a;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display:block;
    text-align: center; 
    margin: 0 auto;
}

button:hover {
    background: #5ee468;
}

.error-message {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

.title-example {
  margin-top: 60px;
  margin-bottom: 4px;
  font-size: 16px;
}

.preview-image {
    width: 100%;
    max-width: 500px; /* Ajusta el tamaño máximo */
    margin-top: 0;
    padding: 15px;
    border: 1px solid #ccc; /* Borde de 1px color gris claro */
    border-radius: 5px; /* Bordes ligeramente redondeados */
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2); /* Sombra suave */
}


span.highlight {
    position: relative;
}

span.highlight::after {
    background-color: #5ee468;
    content: " ";
    height: 30%;
    position: absolute;
    left: 0;
    margin-left: -0.2rem;
    top: 65%;
    width: calc(100% + 0.2rem);
    z-index: -1;
}

pre {
    background-color: #fdf6e3; /* Beige muy suave */
    color: #333; /* Texto oscuro para contraste */
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    padding: 15px;
    border-left: 5px solid #c59ffa; /* Barra lateral sutil */
    border-radius: 5px; /* Bordes redondeados */
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
    max-width: 512px; /* Ancho máximo */
    width: 100%; /* Se adapta en pantallas más pequeñas */
    margin: 20px auto; /* Centrado horizontal */
    text-align: left; /* Asegurar que el texto esté alineado a la izquierda */
    overflow-x: auto; /* Scroll horizontal si es necesario */
}

code {
    font-family: "Courier New", Courier, monospace;
    font-size: 14px;
    color: #333;
    white-space: pre-wrap; /* Mantiene el formato */
    display: block; /* Para que ocupe todo el ancho disponible dentro del <pre> */
}
