html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.app-container {
    padding: 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.app-container h2 {
    margin: 0 0 16px 0;
    color: #323130;
}

.preview-container {
    flex: 1;
    background-color: #f3f2f1;
    border: 1px solid #edebe9;
    border-radius: 4px;
    padding: 12px;
    margin-bottom: 16px;
    overflow-y: auto;
    font-size: 13px;
    min-height: 120px;
}

.preview-container .preview-item {
    margin-bottom: 8px;
}

.preview-container .preview-label {
    font-weight: 600;
    color: #605e5c;
}

.preview-container .preview-value {
    color: #323130;
}

.preview-container .attendee-list {
    margin: 4px 0 0 16px;
    padding: 0;
    list-style: none;
}

.preview-container .attendee-list li {
    margin-bottom: 2px;
}

.button-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ms-Button--primary {
    background-color: #7c3aed;
    border: none;
    color: white;
    padding: 10px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 14px;
}

.ms-Button--primary:hover {
    background-color: #6d28d9;
}

.ms-Button--primary:disabled {
    background-color: #c8c6c4;
    cursor: not-allowed;
}

.ms-Button--secondary {
    background-color: white;
    border: 1px solid #8a8886;
    color: #323130;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    font-size: 13px;
}

.ms-Button--secondary:hover {
    background-color: #f3f2f1;
}

.ms-Button--small {
    background-color: #0078d4;
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
}

.ms-Button--small:hover {
    background-color: #106ebe;
}

.status-message {
    margin-top: 12px;
    padding: 8px;
    border-radius: 4px;
    font-size: 12px;
    text-align: center;
}

.status-message.success {
    background-color: #dff6dd;
    color: #107c10;
}

.status-message.error {
    background-color: #fde7e9;
    color: #a80000;
}

.status-message:empty {
    display: none;
}

/* Settings Section */
.settings-section {
    margin-top: 16px;
    border: 1px solid #edebe9;
    border-radius: 4px;
}

.settings-toggle {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #605e5c;
    background-color: #faf9f8;
    border-radius: 4px;
}

.settings-toggle:hover {
    background-color: #f3f2f1;
}

.settings-section[open] .settings-toggle {
    border-bottom: 1px solid #edebe9;
    border-radius: 4px 4px 0 0;
}

.settings-content {
    padding: 12px;
}

.setting-item {
    margin-bottom: 12px;
}

.setting-item label {
    display: block;
    font-size: 12px;
    color: #605e5c;
    margin-bottom: 4px;
}

.setting-item label .required {
    color: #a80000;
}

.setting-item input {
    width: 100%;
    padding: 8px;
    border: 1px solid #8a8886;
    border-radius: 4px;
    font-size: 13px;
    box-sizing: border-box;
}

.setting-item input:focus {
    outline: none;
    border-color: #0078d4;
    box-shadow: 0 0 0 1px #0078d4;
}

.setting-item.checkbox-item label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.setting-item.checkbox-item input[type="checkbox"] {
    width: auto;
    margin: 0;
}
