body {
    font-family: Arial, sans-serif;
    background: #f4f6f8;
    margin: 0;
    padding: 0;
}

.page {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

h1 {
    margin-bottom: 10px;
}

.card-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex: 1;
}

.card h2 {
    margin-top: 0;
}

button {
    background: #0066cc;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
}

button:hover {
    background: #004c99;
}

.workspace-box {
    background: #ffffff;
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: inline-block;
}

.workspace-actions {
    margin-top: 12px;
}

.question-card {
    background: white;
    padding: 20px;
    margin-top: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.question-card ul {
    padding-left: 20px;
}

.generator-layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.generator-left {
    width: 260px;
    min-width: 260px;
    position: sticky;
    top: 20px;
    background: #f4f6f8;
    padding: 20px;
    border-radius: 6px;
    box-sizing: border-box;
}

.generator-right {
    flex: 1;
    min-width: 0;
}

#edit-panel-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 360px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

#edit-panel-wrapper h2 {
    margin-top: 0;
}

#edit-panel {
    margin-top: 10px;
}

#question-results {
    margin-right: 400px;
}

#edit-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#close-edit-panel {
    background: #f0f0f0;
    border: 1px solid #999;
    font-size: 16px;
    cursor: pointer;
    color: #000;
    padding: 4px 8px;
    border-radius: 4px;
}