/* Discord Light Theme for PyScript Discord Channel Dump */

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

body {
    font-family: 'gg sans', 'Noto Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #313338;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styling - Discord-like top bar */
header {
    background-color: #f2f3f5;
    border-bottom: 1px solid #e3e5e8;
    padding: 16px 24px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

header h1 {
    font-size: 20px;
    font-weight: 600;
    color: #313338;
    margin: 0;
}

/* Main Content Area */
main {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 24px;
}

section {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 24px;
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: #313338;
    margin-bottom: 16px;
}

h2 a {
    color: #00a8fc;
    text-decoration: none;
    transition: text-decoration 0.2s;
}

h2 a:hover {
    text-decoration: underline;
}

p {
    color: #4e5058;
    margin-bottom: 16px;
    font-size: 16px;
}

code {
    background-color: #f2f3f5;
    color: #313338;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
}

/* List Styling - Discord channel list style */
ul {
    list-style: none;
    margin-top: 16px;
}

ul > li {
    margin-bottom: 8px;
}

ul > li > ul {
    margin-left: 16px;
    margin-top: 8px;
}

ul > li:first-child {
    font-weight: 600;
    color: #313338;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

ul > li:last-child {
    margin-bottom: 16px;
}

/* Channel Links - Discord-like channel styling */
ul ul li {
    margin-bottom: 4px;
}

ul ul li a {
    display: block;
    color: #4e5058;
    text-decoration: none;
    padding: 6px 8px;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.15s ease, color 0.15s ease;
    position: relative;
}

ul ul li a:before {
    content: '# ';
    color: #80848e;
    margin-right: 4px;
    font-weight: 400;
}

ul ul li a:hover {
    background-color: #e3e5e8;
    color: #313338;
}

ul ul li a:active {
    background-color: #d4d6d9;
}

/* Category Headers */
body > main > section > ul > li {
    color: #4e5058;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 16px;
    margin-bottom: 8px;
    padding-left: 8px;
}

/* Footer Styling */
footer {
    background-color: #f2f3f5;
    border-top: 1px solid #e3e5e8;
    padding: 20px 24px;
    text-align: center;
}

footer p {
    margin: 0;
    color: #4e5058;
    font-size: 14px;
}

footer a {
    color: #00a8fc;
    text-decoration: none;
    font-weight: 500;
    transition: text-decoration 0.2s;
}

footer a:hover {
    text-decoration: underline;
}

/* Regular links in content */
p a {
    color: #00a8fc;
    text-decoration: none;
    font-weight: 500;
    transition: text-decoration 0.2s;
}

p a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    main {
        padding: 16px 12px;
    }
    
    section {
        padding: 16px;
    }
    
    header {
        padding: 12px 16px;
    }
    
    header h1 {
        font-size: 18px;
    }
    
    h2 {
        font-size: 20px;
    }
}

/* Scrollbar Styling (Discord-like) */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-thumb {
    background-color: #c1c2c5;
    border: 4px solid transparent;
    background-clip: padding-box;
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #a0a1a5;
}

::-webkit-scrollbar-track {
    background-color: transparent;
}

::-webkit-scrollbar-corner {
    background-color: transparent;
}
