/* Mac OS 6/7 Retro Style */

@font-face {
    font-family: 'Chicago';
    src: local('Courier New');
    /* Will add actual Chicago font later */
}

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

body {
    font-family: 'Chicago', 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.4;
    background: #c0c0c0;
    background-image: 
        repeating-linear-gradient(
            0deg,
            #fff 0px,
            #fff 1px,
            #c0c0c0 1px,
            #c0c0c0 2px
        );
    min-height: 100vh;
    padding: 20px;
}

.desktop {
    max-width: 900px;
    margin: 0 auto;
}

/* Mac Window Chrome */
.mac-window {
    background: #fff;
    border: 2px solid #000;
    box-shadow: 
        2px 2px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 20px;
}

.window-header {
    background: #fff;
    border-bottom: 2px solid #000;
    height: 20px;
    display: flex;
    align-items: center;
    padding: 0 6px;
    position: relative;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.close-box, .zoom-box {
    width: 11px;
    height: 11px;
    border: 1px solid #000;
    background: #fff;
    position: relative;
}

.close-box::before {
    content: '';
    position: absolute;
    width: 7px;
    height: 7px;
    border: 1px solid #000;
    top: 1px;
    left: 1px;
}

.window-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-weight: bold;
    font-size: 12px;
}

.window-content {
    padding: 0;
    min-height: 400px;
}

/* Menu Bar */
.menu-bar {
    background: #fff;
    border-bottom: 1px solid #000;
    padding: 4px 10px;
    display: flex;
    gap: 20px;
}

.menu-item {
    color: #000;
    text-decoration: none;
    padding: 2px 8px;
    border: 1px solid transparent;
}

.menu-item:hover {
    background: #000;
    color: #fff;
}

.admin-link {
    margin-left: auto;
}

/* Content Area */
.content {
    padding: 20px;
}

h1, h2, h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 10px 0;
}

h1 {
    font-size: 18px;
}

/* Buttons */
.mac-button {
    display: inline-block;
    padding: 4px 12px;
    border: 2px solid #000;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 1px 1px 0 #000;
}

.mac-button:active {
    box-shadow: none;
    transform: translate(1px, 1px);
}

.mac-button:hover {
    background: #f0f0f0;
}

/* Lists */
.post-list {
    list-style: none;
    border: 1px solid #000;
    margin: 10px 0;
}

.post-list li {
    border-bottom: 1px solid #000;
}

.post-list li:last-child {
    border-bottom: none;
}

.post-link {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    color: #000;
    text-decoration: none;
}

.post-link:hover {
    background: #000;
    color: #fff;
}

.post-date {
    opacity: 0.7;
    font-size: 11px;
}

/* Utilities */
.section {
    margin: 20px 0;
}

.button-group {
    display: flex;
    gap: 10px;
    margin: 10px 0;
}

.empty-state {
    padding: 20px;
    text-align: center;
    color: #666;
    border: 1px dashed #000;
}

.subtitle {
    font-style: italic;
    margin: 5px 0 20px;
}

.hint {
    font-size: 11px;
    color: #666;
    margin: 10px 0;
}

/* Mobile Responsiveness */
@media (max-width: 600px) {
    body {
        padding: 10px;
    }
    
    .window-content {
        min-height: auto;
    }
    
    .content {
        padding: 15px;
    }
    
    .menu-bar {
        flex-wrap: wrap;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .mac-button {
        width: 100%;
        text-align: center;
    }
}