/* ========== 按钮 ========== */
.btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: #3498db;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #2980b9;
}

.btn-success {
    background: #2ecc71;
    color: white;
}

.btn-success:hover:not(:disabled) {
    background: #27ae60;
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #7f8c8d;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover:not(:disabled) {
    background: #c0392b;
}

.button-group {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* 模式切换按钮 */
.btn-mode {
    flex: 1;
    padding: 10px;
    border: 2px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-mode:hover {
    border-color: #3498db;
}

.btn-mode.active {
    background: #3498db;
    color: white;
    border-color: #3498db;
}

/* 小尺寸模式按钮 */
.btn-mode-small {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s;
}

.btn-mode-small:hover {
    background: #f0f0f0;
}

.btn-mode-small.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

/* 批量生成工具中的按钮样式 */
.btn.primary {
    background: linear-gradient(135deg, #1d7aff, #0f5fd7);
    color: #ffffff;
    box-shadow: 0 10px 20px -14px rgba(9, 65, 176, 0.75);
}

.btn.secondary {
    background: #e7f0ff;
    color: #0f3a86;
}

.btn.small {
    padding: 6px 10px;
    border-radius: 8px;
    background: #eef4ff;
    color: #0f3a86;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* 批量生成工具按钮组 */
.generate-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.generate-section .btn {
    min-width: 180px;
    padding: 12px 24px;
    font-size: 16px;
}

/* 活动批量生成工具按钮样式 */
.template-controls .btn {
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.template-controls .btn-primary {
    background: #3498db;
    color: white;
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.template-controls .btn-primary:hover:not(:disabled) {
    background: #2980b9;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
}

.template-controls .btn-secondary {
    background: #95a5a6;
    color: white;
    box-shadow: 0 2px 8px rgba(149, 165, 166, 0.3);
}

.template-controls .btn-secondary:hover:not(:disabled) {
    background: #7f8c8d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(149, 165, 166, 0.4);
}

.template-controls .btn-success {
    background: #2ecc71;
    color: white;
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

.template-controls .btn-success:hover:not(:disabled) {
    background: #27ae60;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

/* 邀请函工具按钮样式 */
.invitation-controls .btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.invitation-controls .btn-success {
    background: #28a745;
    color: white;
}

.invitation-controls .btn-success:hover:not(:disabled) {
    background: #218838;
}

.invitation-controls .btn-success:disabled {
    background: #6c757d;
    cursor: not-allowed;
}

.invitation-controls .btn-secondary {
    background: #6c757d;
    color: white;
}

.invitation-controls .btn-secondary:hover {
    background: #5a6268;
}

.invitation-controls .button-group {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

