/* 视频参数设置页面样式（新版） */

body {
    background: #000000;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    font-family: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    color: #ffffff;
    overflow: hidden;
}

/* 导航栏 */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 60px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-left .nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-left .nav-brand:hover {
    opacity: 0.8;
}

.nav-center h1 {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.nav-right .step-indicator {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* 参数容器（可滚动的框） */
.params-container {
    position: relative;
    max-width: 1200px;
    margin: 20px auto 80px auto;
    padding: 30px 40px 40px 40px;
    height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
    gap: 30px;
    overflow-y: auto;
    overflow-x: hidden;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
}

/* 美化滚动条 */
.params-container::-webkit-scrollbar {
    width: 8px;
}

.params-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.params-container::-webkit-scrollbar-thumb {
    background: rgba(147, 51, 234, 0.5);
    border-radius: 4px;
}

.params-container::-webkit-scrollbar-thumb:hover {
    background: rgba(147, 51, 234, 0.7);
}

/* 欢迎语 */
.welcome-banner {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.welcome-banner h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
}

.welcome-banner p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* 调试信息区域（仅管理员可见） */
.debug-info-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 30px;
    background: rgba(255, 69, 0, 0.08);
    border: 2px solid rgba(255, 69, 0, 0.3);
    border-radius: 16px;
    animation: fadeIn 0.5s ease;
}

.debug-header h3 {
    font-size: 1.3rem;
    color: #FF6B35;
    margin: 0 0 20px;
    font-weight: 600;
}

.debug-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.debug-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.debug-item strong {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.debug-item code {
    background: rgba(0, 0, 0, 0.5);
    padding: 12px;
    border-radius: 8px;
    color: #FFB84D;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    word-break: break-all;
    border: 1px solid rgba(255, 184, 77, 0.2);
}

.debug-image-preview {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 12px;
    display: inline-block;
}

.debug-image-preview img {
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
}

/* 合成图片预览区域（仅管理员） */
.merged-image-preview {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 20px;
}

.preview-header {
    text-align: center;
    margin-bottom: 20px;
}

.preview-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
}

.preview-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.preview-content {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.preview-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

/* 提示词选择区域 */
.prompts-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.prompt-category {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 30px;
}

.prompt-category:last-child {
    border-bottom: none;
}

.category-header {
    margin-bottom: 20px;
}

.category-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin: 0 0 8px 0;
}

.category-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* 选项网格 */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

/* 单个选项 */
.option-item {
    position: relative;
}

.option-item input[type="radio"],
.option-item input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.option-label {
    display: block;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.option-label:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(147, 51, 234, 0.5);
    transform: translateY(-2px);
}

.option-item input:checked + .option-label {
    background: rgba(147, 51, 234, 0.2);
    border-color: #9333EA;
    color: white;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

/* 输入框区域 */
.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 10px;
}

.input-label .required {
    color: #FF6B6B;
    margin-left: 4px;
}

.text-input {
    width: 100%;
    max-width: 750px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 0.95rem;
    font-family: 'PingFang SC', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
    transition: all 0.3s ease;
    resize: vertical;
}

.text-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #9333EA;
    box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.text-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* 生成提示词按钮区域（管理员） */
.generate-prompt-section {
    margin: 30px 0;
    padding: 30px;
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 16px;
}

/* 输出模式选择器 */
.output-mode-selector {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.mode-label {
    font-size: 1rem;
    font-weight: 600;
    color: white;
}

.mode-buttons {
    display: flex;
    gap: 10px;
}

.btn-mode {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-mode:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(147, 51, 234, 0.5);
}

.btn-mode.active {
    background: rgba(147, 51, 234, 0.3);
    border-color: #9333EA;
    color: white;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.btn-generate-prompt {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #9333EA, #6B21A8);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.btn-generate-prompt:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
    background: linear-gradient(135deg, #A855F7, #7C2D9E);
}

/* 优化提示词按钮 */
.btn-optimize-prompt {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-optimize-prompt:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.5);
    background: linear-gradient(135deg, #66BB6A, #4caf50);
}

.btn-optimize-prompt:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* 提示词预览 */
.prompt-preview {
    margin-top: 20px;
    max-width: 50%;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 12px;
    padding: 20px;
}

.prompt-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.prompt-preview-header h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin: 0;
}

.btn-copy {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-copy:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.prompt-preview-content {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.8;
    white-space: pre-wrap;
    font-family: 'Consolas', 'Monaco', monospace;
    max-height: 400px;
    overflow-y: auto;
}

/* 区块样式 */
.section-box {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    margin-bottom: 40px;
}

.section-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px 0;
}

.section-header p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* 视频参数网格 */
.params-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.param-group {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.param-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 15px;
}

.label-icon {
    font-size: 1.2rem;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-option {
    position: relative;
}

.radio-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.radio-option:hover .radio-label {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(147, 51, 234, 0.5);
    transform: translateY(-2px);
}

.radio-option input:checked + .radio-label {
    background: rgba(147, 51, 234, 0.2);
    border-color: #9333EA;
    color: white;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.coming-soon {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 500;
    font-style: italic;
}

/* 禁用选项 */
.radio-option.disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.radio-option.disabled .radio-label {
    cursor: not-allowed;
}

.radio-option.disabled:hover .radio-label {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: none;
}

/* 底部操作栏 */
.bottom-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.action-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.right-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-cancel {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-save-config {
    padding: 14px 32px;
    background: linear-gradient(135deg, #9333EA, #6B21A8);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.btn-save-config:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
    background: linear-gradient(135deg, #A855F7, #7C2D9E);
}

.btn-save-config:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-apply-config {
    padding: 14px 28px;
    background: rgba(147, 51, 234, 0.2);
    color: #A855F7;
    border: 1px solid rgba(147, 51, 234, 0.4);
    border-radius: 24px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-apply-config:hover {
    background: rgba(147, 51, 234, 0.3);
    border-color: rgba(147, 51, 234, 0.6);
    transform: translateY(-2px);
}

.btn-generate {
    padding: 14px 32px;
    background: linear-gradient(135deg, #9333EA, #6B21A8);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.btn-generate:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
    background: linear-gradient(135deg, #A855F7, #7C2D9E);
}

.btn-generate:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* 视频生成进度区域 */
.video-progress-section {
    margin: 30px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.progress-container {
    margin-top: 30px;
}

.progress-bar {
    position: relative;
    width: 100%;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #9333EA, #A855F7, #C084FC);
    background-size: 200% 100%;
    border-radius: 25px;
    transition: width 0.5s ease;
    animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.progress-status {
    text-align: center;
    margin-top: 15px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
}

/* 视频结果展示区域 */
.video-result-section {
    margin: 30px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.video-display-box {
    margin: 30px 0;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    border: 2px dashed rgba(255, 255, 255, 0.2);
}

.video-display-box video {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: contain;
}

.video-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-download {
    padding: 14px 32px;
    background: linear-gradient(135deg, #9333EA, #6B21A8);
    color: white;
    border: none;
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(147, 51, 234, 0.5);
    background: linear-gradient(135deg, #A855F7, #7C2D9E);
}

.btn-secondary {
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }

    .params-container {
        margin: 10px;
        padding: 20px;
        height: calc(100vh - 160px);
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .params-grid {
        grid-template-columns: 1fr;
    }

    .action-bar-content {
        padding: 0 20px;
        flex-wrap: wrap;
    }

    .right-buttons {
        flex-wrap: wrap;
    }
}

/* API版本选择器样式 */
.api-version-selector {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.version-tabs {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.version-tab {
    flex: 1;
    display: block;
    cursor: pointer;
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.version-tab input[type="radio"] {
    display: none;
}

.version-tab .tab-content {
    display: block;
    padding: 15px;
    text-align: center;
}

.version-tab .tab-title {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.version-tab .tab-desc {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.version-tab:hover {
    border-color: rgba(102, 126, 234, 0.5);
    background: rgba(102, 126, 234, 0.1);
}

.version-tab.active {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.2);
}

.version-tab.premium.active {
    border-color: #ffd700;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 193, 7, 0.1));
}

.version-tab.premium:hover {
    border-color: rgba(255, 215, 0, 0.6);
    background: rgba(255, 215, 0, 0.1);
}

.premium-only, .premium-hd, .premium-sd, .premium-only-quality {
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 5px;
}

.premium-only, .premium-only-quality {
    color: #ffd700;
}

.premium-hd {
    color: #4caf50;
}

.premium-sd {
    color: #ff9800;
}

/* 提示词编辑功能样式 */
.prompt-preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.prompt-actions {
    display: flex;
    gap: 8px;
}

.btn-edit, .btn-copy {
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.btn-edit:hover {
    background: rgba(255, 152, 0, 0.3);
}

.btn-copy {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.btn-copy:hover {
    background: rgba(33, 150, 243, 0.3);
}

.prompt-editor {
    width: 100%;
    min-height: 120px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #ffffff;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    resize: vertical;
    margin-top: 10px;
}

.prompt-editor:focus {
    outline: none;
    border-color: #667eea;
    background: rgba(0, 0, 0, 0.5);
}

.editor-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-save, .btn-cancel {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.btn-save:hover {
    background: rgba(76, 175, 80, 0.3);
}

.btn-cancel {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.btn-cancel:hover {
    background: rgba(244, 67, 54, 0.3);
}

