body {
    margin: 0;
    padding: 0;
    /* Fondo de patrón */
    background-image: url('img/pattern.png');
    background-repeat: repeat;
    background-color: #000; /* Color de fondo si la imagen de patrón no carga o tiene transparencias */
    /* background-attachment: fixed; /* Descomenta si quieres que el patrón no se desplace con el contenido */

    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    min-width: 1024px; /* IMPORTANTE: Asegura que el body tenga al menos el ancho de la interfaz */
}

#content-area {
  --sb-track-color: #232e33;
  --sb-thumb-color: #b4ee19;
  --sb-size: 6px;
}

#content-area::-webkit-scrollbar {
  width: var(--sb-size);
}

#content-area::-webkit-scrollbar-track {
  background: var(--sb-track-color);
  border-radius: 6px;
}

#content-area::-webkit-scrollbar-thumb {
  background: var(--sb-thumb-color);
  border-radius: 6px;
  border: 1px solid #232e33;
}

@supports not selector(::-webkit-scrollbar) {
  #content-area {
      scrollbar-color: var(--sb-thumb-color)
                     var(--sb-track-color);
  }
}

@font-face {
    font-family: 'BankGothic Md BT';
    src: url('fonts/BankGothicBT-Medium.woff2') format('woff2'),
        url('fonts/BankGothicBT-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


#interface-container {
    width: 1024px;
    height: 895px;
    background-image: url('img/main.jpg'); /* Usando main.jpg como en tu CSS */
    background-size: 1024px 895px;
    background-repeat: no-repeat;
    background-position: top center;
    position: relative;
    margin: 0;
    overflow: hidden;
}

/* --- MENÚ IZQUIERDO --- */
#main-menu {
    position: absolute;
    top: 290px;
    left: 10px;
    width: 195px;
    /* background-color: rgba(0, 255, 0, 0.1); */
}

#main-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#main-menu li {
    margin-bottom: 2px;
}

#main-menu li:last-child {
    margin-bottom: 0;
}

#main-menu a {
    display: block;
    height: 25px;
    padding: 4.3px 10px; /* Tu valor ajustado */
    line-height: 25px;
    text-decoration: none;
    color: #b4ee19;
    font-size: 13px;
    font-weight: bold;
    font-family: 'BankGothic Md BT';
    font-weight: 500;
    font-style: normal;
    /* background-color: rgba(255, 0, 0, 0.1); */
}

#main-menu a:hover {
    color: #c8d4e1;
}

/* --- ÁREA DE CONTENIDO CENTRAL --- */
#content-area {
    position: absolute;
    top: 262px;
    left: 246px;
    width: 532px;
    height: 360px;
    padding: 15px;
    color: #c0c0c0;
    font-size: 14px;
    line-height: 1.5;
    overflow-y: auto;
    /* background-color: rgba(0, 0, 255, 0.1); */
}

#content-area h1 {
    color: #e0e0e0;
    font-size: 18px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* --- PIE DE PÁGINA (Copyright) --- */
#page-footer {
    position: absolute;
    bottom: 25px;   /* Posición del footer original, ahora para copyright */
    left: 246px;    /* Alineado con el content-area */
    width: 532px;   /* Ancho del content-area */
    height: 20px;   /* Altura para una línea de texto */
    color: #a0a0a0; /* Color más tenue para copyright */
    font-family: 'Arial', sans-serif; /* Fuente estándar para copyright */
    font-size: 11px; /* Tamaño de fuente más pequeño para copyright */
    text-align: center;
    line-height: 20px; /* Para centrar verticalmente el texto */
    box-sizing: border-box;
    /* background-color: rgba(255, 255, 0, 0.1); */ /* Para depuración si es necesario */
}

#page-footer p { /* Estilo para el párrafo dentro del footer */
    margin: 0; /* Eliminar margen por defecto del párrafo */
    padding: 0;
}


/* --- FECHA (Elemento independiente) --- */
#date-display {
    position: absolute;
    top: 774px;
    left: 352px;
    font-family: 'Consolas', 'Lucida Console', 'Courier New', monospace;
    color: #b4ee19;
    font-size: 13px;
    /* background-color: rgba(255, 0, 255, 0.2); */ /* Para depuración */
}

/* --- HORA (Elemento independiente) --- */
#time-display {
    position: absolute;
    top: 774px;
    left: 572px;
    display: flex;
    align-items: center; /* Para alinear verticalmente los spans de la hora */
    font-family: 'Consolas', 'Lucida Console', 'Courier New', monospace;
    color: #b4ee19;
    font-size: 13px;
    /* background-color: rgba(0, 255, 255, 0.2); */ /* Para depuración */
}

#time-display span {
    display: inline-block; /* Para que los spans se alineen horizontalmente */
    /* Estilos de fuente, color, tamaño son heredados de #time-display */
    /* Para depuración de espaciado, puedes añadir un fondo temporal: */
    /* background-color: rgba(200, 200, 0, 0.2); */
}

#time-display span:not(:last-child) {
    margin-right: 21px; /* Espacio horizontal de 22px entre los spans de la hora */
}

      /* Minor styles for dynamically added content within #content-area */
        #content-area ul, #content-area ol {
            margin-left: 20px;
            padding-left: 20px;
            color: #c0c0c0;
        }
        #content-area li {
            margin-bottom: 8px;
        }
        #content-area a {
            color: #b4ee19;
            text-decoration: none;
        }
        #content-area a:hover {
            text-decoration: underline;
        }
        #content-area h3 {
            color: #d0d0d0;
            margin-top: 15px;
            margin-bottom: 10px;
        }
        #content-area .form-group {
            margin-bottom: 15px;
        }
        #content-area label {
            display: block;
            margin-bottom: 5px;
            color: #c0c0c0;
        }
        #content-area input[type="text"],
        #content-area input[type="file"],
        #content-area textarea {
            width: calc(100% - 22px);
            padding: 8px 10px;
            background: #2a2a2a;
            color: #e0e0e0;
            border: 1px solid #444;
            box-sizing: border-box;
        }
        #content-area input[type="file"] {
            color: #c0c0c0; /* For file input text */
        }
        #content-area button[type="submit"] {
            padding: 8px 15px;
            background-color: #b4ee19;
            color: #000;
            border: none;
            cursor: pointer;
            font-weight: bold;
            text-transform: uppercase;
        }
        #content-area button[type="submit"]:hover {
            background-color: #9ccf10;
        }
        #content-area img.content-image {
            max-width: 100%;
            height: auto;
            margin-top: 10px;
            border: 1px solid #444;
        }