/* Global styles for headers, footers, navigation, and logout button */

/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #000000;
    color: #39FF14;
    line-height: 1.6;
}

/* Header and Navigation */
header {
    background: #39FF14;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(57, 255, 20, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

nav img {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

nav a:hover {
    background-color: rgba(0, 0, 0, 0.1);
    color: #000000;
}

nav a[aria-current="page"] {
    background-color: rgba(0, 0, 0, 0.2);
    font-weight: bold;
}

/* Auth controls container */
.auth-controls {
    display: flex;
    align-items: center;
}

/* Logout Button */
.logout-btn {
    background: transparent;
    color: #C0C0C0;
    border: 2px solid #C0C0C0;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.logout-btn:hover,
.logout-btn:active {
    background: #39FF14;
    color: #000000;
    border-color: #39FF14;
}

/* Footer */
footer {
    background: #111111;
    color: #39FF14;
    text-align: center;
    padding: 2rem 0;
    margin-top: auto;
    border-top: 1px solid #39FF14;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

footer nav ul {
    justify-content: center;
    margin-bottom: 1rem;
}

footer nav a {
    color: #39FF14;
}

footer nav a:hover {
    background-color: rgba(57, 255, 20, 0.1);
    color: #39FF14;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Content page styles */
.content-page {
    max-width: 700px;
    margin: 2rem auto;
}

/* Global button styles */
button, .button, input[type="submit"] {
    background: transparent;
    color: #C0C0C0;
    border: 2px solid #C0C0C0;
    border-radius: 6px;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

button:hover, .button:hover, input[type="submit"]:hover,
button:active, .button:active, input[type="submit"]:active {
    background: #39FF14;
    color: #000000;
    border-color: #39FF14;
}

/* Light grey containers */
.content-container {
    background-color: #D3D3D3;
    color: #000000;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav a {
        display: block;
        width: 100%;
    }
    
    #logout-btn {
        position: static;
        margin-top: 1rem;
    }
}