body {
    background-color: #000;
    font-family: Arial, Helvetica, sans-serif;
}

table {
    border: 2px solid #000;
    margin-top: 50px;
    margin: auto;
    background-color: #FFF;
    color: #000;
}

table span {
    height: 20px;
    line-height: 20px;
    background-color: #FCCF00;
    color: #000;
    border: 1px solid #000;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 10px;
}

td {
    padding: 5px;
    border-collapse: collapse;
    border: 1px solid #000;
}

#FS {
    width: 100%;
    position: absolute;
    top: 0px;
    left: 0px;

}

#tablespace {
    width: 90%;
    padding: 3%;
    border: 3px solid #FFBF00;
}

#nav {
    width: 100%;
    min-height: 70px;
    padding:5px;
    background-color: #000;
}


#nav a {
    display: inline-block;
    color: #FFF;
    text-decoration: none;
    text-transform: uppercase;
    margin-left: 100px;
    padding-top: 35px;
}

#nav a:hover {
    color: #FCCF00;
    display: inline-block;
    margin-left: 100px;
    padding-top: 35px;
}


#search {
    width: 25px;
    height: 25px;
    display: inline-block;
    background-image: url('../img/search_white.png');
    background-size: contain;
}

#search:hover {
    background-image: url('../img/search_yellow.png');
}

.logo {
    margin-left: 20px;
    float: left;
    display: inline-block;
    padding:5px;
}

.logo img {
    height: 50px;
    margin-top: 10px;
}

#content {
    width: 100%;
    border-top: 10px solid #FCCF00;
    padding-top: 40px;
    /* Add breathing room */
}

.columns {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 2%;
    /* Adds breathing room between columns */
    /* Just to visualize */
    min-height: 100px;
}

.col_left {
    width: 48%;
    color: #FFF;
    background-color: rgba(0, 0, 0, 0.8);
    /* Optional: distinguish columns */
    padding: 10px;
    box-sizing: border-box;
}



.col_right {
    width: 48%;
    background-color: #fff;
    /* Optional: distinguish columns */
    padding: 10px;
    box-sizing: border-box;
}

.webterminal {
    width: 100%;
    height: 70vh;
    /* 90% of the viewport height */
    border: none;
    background-color: rgba(0, 0, 0, 0.8);
    /* Black with 80% opacity */
}

#modal {
    width: 70%;
    height: 80vh;
    margin: auto;
    border: 5px solid #FCCF00;
    border-radius: 20px;
    padding: 20px;
    display: none;
    position: absolute;
    top: 100px;
    left: 15%;
    z-index: 10;
    background-color: #FFF;
}

#closeModal {
    width: 32px;
    height: 32px;
    float: right;
    border-radius: 5px;
    line-height: 20px;
}

#modalContent {
    color: #000;
}

#searchModal {
    width: 20%;
    margin: auto;
    border: 5px solid #FCCF00;
    border-radius: 20px;
    padding: 20px;
    display: none;
    position: absolute;
    top: 100px;
    left: 40%;
    z-index: 20;
    background-color: #FFF;
}

#login {
    width: 20%;
    margin: auto;
    border: 5px solid #FCCF00;
    border-radius: 20px;
    padding: 20px;
    z-index: 20;
    background-color: #FFF;
    text-align: center;
}

#lesson_menu {
    width: 70%;
    margin: auto;
    border: 5px solid #FCCF00;
    border-radius: 20px;
    padding: 20px;
    z-index: 20;
    background-color: rgba(0, 0, 0, 0.8);
    color: #FFF;
    text-align: center;
}

#lesson_menu table {
    border-collapse: collapse;
    color: white;
    /* white text */
    background-color: transparent;
    /* no background */
    width: 100%;
    border: 1px solid #FFF;
}

#lesson_menu th,
#lesson_menu td {
    border: 1px solid white;
    /* thin white lines */
    padding: 8px;
    font-size: 0.8em;
}

#lesson_menu button {
    background-color: #FCCF00;
    /* bright yellow */
    color: #000;
    /* white text */
    border: none;
    /* remove default border */
    padding: 8px 16px;
    /* space inside the button */
    border-radius: 8px;
    /* rounded corners (but not pill-shaped) */
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

#lesson_menu button:hover {
    background-color: #e6b800;
    /* darker yellow on hover */
}

#welcome {
    width: 50%;
    margin: auto;
    color: #FFF;
    text-align: center;
}

#loaderText {
    font-size: 1.4em;
    font-family: monospace;
    text-align: center;
    margin-top: 40px;
    animation: pulse 1.2s infinite;
}

#loaderImage {
    font-size: 1.4em;
    font-family: monospace;
    text-align: center;
    margin-top: 40px;
}

#loaderImage img {
    width: 150px;
}



@keyframes pulse {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}


.tabnav {
    margin-bottom: 10px;
}

.tablink {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
    cursor: pointer;
    font-weight: bold;
}

.tablink.active {
    background-color: #FCCF00;
    color: #000;
}

.tabcontent {
    display: none;
    background-color: #fff;
    color: #000;
    padding: 15px;
    border: 2px solid #FCCF00;
    border-radius: 0 10px 10px 10px;
}

#notebook {
    height: 70vh;
    color: #000;
    position: relative;
    overflow: hidden;
    background-color: white;
    padding: 1em;
}

#notebook::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/nbpage.jpg');
    background-size: 100% 100%;
    /* force stretch */
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.15;
    /* watermark fade */
    pointer-events: none;
    /* allow clicks through */
    z-index: 0;
}

#notebook>* {
    position: relative;
    z-index: 1;
}


#browser {
    text-align: left;
}

.directory {
    width: 100%;
    border: 2px solid #970;
    margin-bottom: 5px;
}

.directory h3 {
    color: #FCCF00;
}

.directory button {
    background-color: #FFBF00;
    border: 2px solid #FFF;
    border-radius: 9999px;
    margin-bottom: 3px;
}


.column {
    display: inline-block;
    vertical-align: top;
    width: fit-content;
    min-width:100px;
    max-width:200px;  
    border-right: 1px solid #ccc;
    padding: 10px;
    height: 90vh;
    overflow-y: auto;
}

.folder {
    display: block;
    background-color: #333;
    /* dark gray */
    color: #fff;
    /* white text */
    border: none;
    /* no border */
    border-radius: 4px;
    /* slight rounding if desired */
    padding: 5px 8px;
    margin: 4px 0;
    cursor: pointer;
    font-size: 16px;
    /* clear readable */
}

.folder::before {
    content: '📁 ';
}

.file {
    display: block;
    background-color: #970;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #FFF;
    padding: 5px;
    margin: 4px 0;
    cursor: pointer;
}

.file::before {
    content: '📀 ';
}

.folder:hover,
.file:hover {
    background: #e0e0e0;
}
