* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

h1 {
    color: #2c3e50;
}

.dashboard {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.sidebar {
    width: 200px;
    background-color: #2c3e50;
    color: white;
    padding: 20px 0;
}

.sidebar h3 {
    padding: 0 20px;
    margin-bottom: 20px;
    font-size: 16px;
}

.sidebar ul {
    list-style: none;
}

.sidebar li {
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.sidebar a {
    color: white;
    text-decoration: none;
    display: block;
}

.sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.content {
    flex: 1;
    padding: 20px;
}

.panel {
    margin-bottom: 30px;
}

h2 {
    margin-bottom: 20px;
    color: #2c3e50;
}

h3 {
    margin-bottom: 15px;
    color: #3498db;
}

.activity-card {
    background-color: #f9f9f9;
    border-left: 4px solid #3498db;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.activity-card p {
    margin-bottom: 5px;
}

.activity-card button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
}

.activity-card button:hover {
    background-color: #2980b9;
}

.my-group-card {
    background-color: #f9f9f9;
    border-left: 4px solid #2ecc71;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.my-group-card p {
    margin-bottom: 5px;
}

.my-group-card .status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    margin-top: 10px;
}

.status.pending {
    background-color: #f39c12;
    color: white;
}

.status.success {
    background-color: #2ecc71;
    color: white;
}

.status.failed {
    background-color: #e74c3c;
    color: white;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

button[type="submit"] {
    background-color: #2c3e50;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #1a252f;
}

/* Quill Editor 样式 */
#editor-container {
    margin-bottom: 20px;
}

#editor {
    min-height: 200px;
}

/* 参与者界面样式 */
#participant-activities-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.participant-activity-card {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.participant-activity-card h3 {
    margin-bottom: 10px;
    color: #3498db;
}

.participant-activity-card p {
    margin-bottom: 10px;
}

.participant-activity-card button {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}