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

body {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 12px;
    background: #c0c0c0;
    padding: 20px;
    line-height: 1.4;
}

.window {
    max-width: 720px;
    margin: 0 auto;
    background: #ffffff;
    border: 2px solid #000000;
    box-shadow:
        inset 1px 1px 0 #ffffff,
        inset 2px 2px 0 #dfdfdf,
        2px 2px 0 #808080,
        3px 3px 0 #000000;
}

.title-bar {
    background: #000000;
    color: #ffffff;
    padding: 4px 8px;
    font-weight: bold;
    border-bottom: 2px solid #000000;
}

.title {
    text-align: center;
}

.window-content {
    padding: 16px;
}

.section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #808080;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-weight: bold;
    margin-bottom: 12px;
    padding: 4px;
    background: #000000;
    color: #ffffff;
}

.file-input-wrapper {
    border: 2px solid #000000;
    background: #ffffff;
    padding: 8px;
    box-shadow: inset 1px 1px 0 #808080, inset 2px 2px 0 #404040;
}

input[type="file"] {
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 12px;
    width: 100%;
    padding: 8px;
    border: 1px solid #000000;
    background: #ffffff;
}

.file-list {
    margin-top: 8px;
    padding: 8px;
    min-height: 40px;
    background: #f0f0f0;
    border: 1px solid #808080;
}

.file-item {
    padding: 4px;
    margin: 2px 0;
    background: #ffffff;
    border: 1px solid #000000;
}

.mac-button {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    background: #ffffff;
    border: 2px solid #000000;
    box-shadow:
        inset -1px -1px 0 #808080,
        inset 1px 1px 0 #ffffff,
        2px 2px 0 #000000;
    cursor: pointer;
    text-align: left;
}

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

.mac-button:active {
    box-shadow:
        inset 1px 1px 0 #808080,
        inset 2px 2px 0 #404040;
    transform: translate(1px, 1px);
}

.mac-button:disabled {
    background: #c0c0c0;
    color: #808080;
    cursor: not-allowed;
}

.button-subtitle {
    font-size: 10px;
    font-weight: normal;
    margin-top: 4px;
    color: #404040;
}

.status-box {
    padding: 12px;
    background: #000000;
    color: #00ff00;
    border: 2px solid #000000;
    font-family: 'Monaco', 'Courier New', monospace;
    box-shadow: inset 1px 1px 0 #808080, inset 2px 2px 0 #404040;
}

.status-available {
    color: #00ff00;
}

.status-unavailable {
    color: #ff0000;
}

.output-box {
    padding: 12px;
    background: #ffffff;
    border: 2px solid #000000;
    min-height: 120px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: inset 1px 1px 0 #808080, inset 2px 2px 0 #404040;
}

.output-line {
    margin: 4px 0;
    padding: 2px;
}

.output-error {
    color: #ff0000;
    font-weight: bold;
}

.output-success {
    color: #008000;
    font-weight: bold;
}

.output-info {
    color: #000000;
}

.progress-bar {
    margin-top: 12px;
    height: 24px;
    border: 2px solid #000000;
    background: #ffffff;
    box-shadow: inset 1px 1px 0 #808080, inset 2px 2px 0 #404040;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #000000;
    width: 0%;
    transition: width 0.3s ease;
}

.progress-bar.active .progress-fill {
    animation: progress-animate 2s infinite;
}

@keyframes progress-animate {
    0% { width: 0%; }
    50% { width: 100%; }
    100% { width: 0%; }
}

.hidden {
    display: none;
}

.footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #808080;
    text-align: center;
    font-size: 11px;
}

a {
    color: #0000ff;
    text-decoration: underline;
}

a:visited {
    color: #800080;
}

a:hover {
    background: #000000;
    color: #ffffff;
}
