body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    background-color: #f7f7f8;
    color: #202123;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.container {
    width: 90%;
    max-width: 1200px;
    height: 95vh;
    display: flex;
    flex-direction: column;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.main-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    height: 100%;
    box-sizing: border-box;
}
#browser-view-container {
    flex-grow: 1;
    border: 1px solid #ccc;
    border-radius: 8px;
    position: relative;
    background-color: #f0f0f0;
    margin-bottom: 15px;
    min-height: 300px;
    display: flex;
}
#browser-view-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    color: #666;
    font-size: 1.2em;
    text-align: center;
}
#browser-iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: none;
}
#status-bar {
    padding: 10px;
    background-color: #eee;
    border-radius: 5px;
    margin-bottom: 15px;
    font-size: 0.9em;
}
#output-container {
    margin-bottom: 15px;
}
#output-container h3 {
    margin-top: 0;
    margin-bottom: 5px;
}
#task-output {
    background-color: #f7f7f8;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
    white-space: pre-wrap;
    word-wrap: break-word;
    min-height: 50px;
    max-height: 150px;
    overflow-y: auto;
}
.chat-container {
    padding-top: 15px;
    border-top: 1px solid #eee;
}
#task-form {
    display: flex;
}
#task-input {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    font-size: 1em;
}
#task-form button {
    padding: 10px 20px;
    border: none;
    background-color: #007bff;
    color: white;
    cursor: pointer;
    border-radius: 0 5px 5px 0;
    font-size: 1em;
}
#task-form button:disabled {
    background-color: #a0a0a0;
    cursor: not-allowed;
}

/* --- NEUE STILE FÜR DOWNLOADS --- */
#downloads-container {
    padding-top: 15px;
    border-top: 1px solid #eee;
}

#downloads-container h3 {
    margin-top: 0;
    margin-bottom: 10px;
}

#file-downloads a {
    display: block;
    padding: 8px 12px;
    background-color: #e9f5ff;
    border: 1px solid #b3d7f5;
    border-radius: 4px;
    margin-bottom: 5px;
    text-decoration: none;
    color: #005a9e;
    font-weight: 500;
}

#file-downloads a:hover {
    background-color: #d1e9ff;
    border-color: #8ec2f0;
}
