.config-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.config-dialog > * {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.config-dialog h2 {
    margin-top: 0;
    margin-bottom: 20px;
}

.config-dialog label {
    display: block;
    margin-bottom: 15px;
}

.config-dialog input[type="text"] {
    width: 100%;
    padding: 8px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.config-dialog input[type="checkbox"] {
    margin-right: 10px;
}

.config-dialog button {
    padding: 8px 16px;
    margin-right: 10px;
    border: none;
    border-radius: 4px;
    background-color: #4a90e2;
    color: white;
    cursor: pointer;
}

.config-dialog button:last-child {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

/* 移动设备适配 */
@media (max-width: 768px) {
    .config-dialog > * {
        width: 95%;
        padding: 15px;
    }
    
    .config-dialog button {
        padding: 10px;
        margin-top: 10px;
        width: 100%;
        margin-right: 0;
    }
}

/* 添加到文件末尾 */
.config-dialog .config-content {
    display: flex;
    flex-direction: column;
}

.config-dialog .button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

@media (max-width: 768px) {
    .config-dialog .button-container {
        flex-direction: column;
    }
}