/* Basic Reset & Typography */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #59c700;
    background: url('../images/trilispacebg.png') no-repeat center center fixed;
    background-size: cover;
}

/* Navigation Bar Layout */
nav {
    background-color: #00000000;
    padding: 0 20px;
}
.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}
.logo {
    display: flex;
    align-items: center;
}
.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}
.logo img {
    display: block;
    height: 100px;
    width: auto;
    padding-top: 15px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
}
.nav-links > li {
    position: relative;
}
.nav-links a {
    display: block;
    color: #00ff26;
    font-size: 1.5rem;
    text-decoration: none;
    padding: 18px 15px;
    transition: color 0.5s, background-color 0.8s;
}
.nav-links a:hover {
    color: #ff0707;
    background-color: #02006a;
}

/* Dropdown Button Styling */
.dropdown-toggle {
    background: none;
    border: none;
    color: #00ff26;
    font-family: inherit;
    font-size: 1.5rem;
    padding: 18px 15px;
    cursor: pointer;
    transition: color 0.2s, background-color 0.2s;
}
.dropdown-toggle:hover, .dropdown-toggle:focus {
    color: #ff0000;
    background-color: #2a2a2a;
}

/* Dropdown Menu Box */
.dropdown-menu {
    display: none; /* Hidden by default; handled by JS toggling */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #00ab09;
    min-width: 180px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    list-style: none;
    z-index: 100;
}

/* When JS adds this utility class, the menu displays */
.dropdown-menu.show {
    display: block;
}

.dropdown-menu a {
    color: #333;
    padding: 12px 15px;
}
.dropdown-menu a:hover {
    color: #1a1a1a;
    background-color: #ff0202;
}

/* Main Content Layout */
main {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}
h1 {
    margin-bottom: 20px;
    color: #00ff48;
    text-align: center;
}
p {
    margin-bottom: 15px;
    color: #0076ec;
    text-align: center;
}
p.attention {
    background-color: #ffd501;
    border: 1px solid #ff0000;
    font-style: oblique bold italic;
    color: #000000;
    padding: 10px;
    border-radius: 4px;
}
.top-of-page {
    color: #6b99fc;
    text-decoration:solid;
}
.top-of-page:hover {
    color: #ff1919;
    text-decoration: underline;
}
.footer-container {
    text-align: center;
    margin-top: 4px;
    padding: 2px;
}

/* ==========================================================================
   Upload Page Component Styling
   ========================================================================== */

.upload-container {
    border: 2px dashed #ccc;
    border-radius: 8px;
    background-color: #fff;
    padding: 40px 20px;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s;
    margin-top: 20px;
}

/* Visual cue when files are dragged over the box */
.upload-container.dragover {
    background-color: #f0f7ff;
    border-color: #0070f3;
}

.browse-text {
    color: #0070f3;
    text-decoration: underline;
    font-weight: 500;
}

/* Upload Queue List */
.file-list-section {
    margin-top: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.file-list {
    list-style: none;
    margin: 15px 0;
}

.file-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
}

.file-item:last-child {
    border-bottom: none;
}

/* Global Action Button Style */
.upload-btn {
    background-color: #0070f3;
    color: #fff;
    border: none;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.2s;
}

.upload-btn:hover {
    background-color: #0051b3;
}