@charset "utf-8";
/* CSS Document */
.terminal {
max-width: 1920px;
    margin: auto;
    padding: 20px;
    margin-bottom: 50px;
    white-space: pre-line;
    overflow-y: auto;
    font-family: monospace;

    overflow-x: hidden; /* Bloquea el scroll horizontal */
    word-break: break-word; /* Rompe palabras largas si es necesario */
}

.terminal p {
    margin: 0; /* Elimina el margen superior e inferior */
    padding: 0; /* Elimina cualquier padding */
    line-height: 1.2; /* Ajusta la altura de línea (puedes usar 1, 1.2, etc.) */
}
.cursor {
    display: inline-block;
    width: 10px;
    height: 13px;
    background-color: red;
    animation: blink 0.8s infinite;
}
.conexion_ok {
    color:green;
    animation: blink 0.8s infinite;
}
@keyframes blink {
    50% {
        opacity: 0;
    }
}
.terminal-input {
    background: transparent;
    border: none;
    color: inherit;
    outline: none;
    /* width:100%;*/
    font-family: monospace;
}
input, textarea {
    font-size: 16px !important;
}
html, body {
    touch-action: manipulation;
}
body {
    margin: 0;
    padding: 0;
    background-color: black;
    color: red; /* Verde tipo terminal */
    font-family: "Courier New", monospace;
    font-size: 16px;
    
  
}
.terminal-bar {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #111; /* Negro ligeramente más claro */
    padding: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    border-top: 2px solid red; /* Borde verde */
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}
.tools{
   /*display: none; */
}
input {
    flex: 1;
    background-color: black;
    color: red;
    border: 1px solid red;
    padding: 8px;
    font-size: 20px;
    font-family: "Courier New", monospace;
    outline: none;
    width: 100%;
}
button {
    background-color: black;
    color: red;
    border: 1px solid red;
    font-size: 20px;
    padding: 8px 5px;
    font-family: "Courier New", monospace;
    cursor: pointer;
    margin-right: 0px;
    font-weight: bold;
}

button:hover {
    background-color: red;
    color: black;
    font-weight: bold;
}

.qraccess {
  width: 90%; /* Por defecto: móvil */
  max-width: 500px; /* Límite en desktop */
  margin: 0 auto; /* Centrado */
}

@media (min-width: 768px) {
  .qraccess {
    width: 60%; /* En pantallas grandes */
  }
}
