* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #0a0a0a;
    color: #ffffff;
    min-height: 100vh;
    padding: 2rem;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
}

header {
    margin-bottom: 30px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(255, 165, 0, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-text {
    flex: 1;
    text-align: left;
}

.header-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #FFD700;
}

header p {
    font-size: 1.1em;
    color: #ccc;
    margin: 0;
}

.help-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.wizard-link {
    padding: 12px 24px;
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(147, 51, 234, 0.3);
    display: inline-block;
}

.wizard-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(147, 51, 234, 0.4);
}

.help-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 215, 0, 0.4);
}

.layout {
    display: grid;
    grid-template-columns: 500px 1fr;
    gap: 20px;
    align-items: start;
}

.questionnaire {
    background: #1a1a1a;
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    transition: border-color 0.3s ease;
}

.questionnaire:hover {
    border-color: rgba(255, 215, 0, 0.3);
}

.questionnaire h2 {
    margin-bottom: 20px;
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: 600;
}

.collapsible-section {
    margin-bottom: 15px;
    background: #1f1f1f;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid rgba(255, 215, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    transition: opacity 0.3s, border-color 0.3s;
}

.collapsible-section:hover {
    border-color: #FFD700;
}

.collapsible-section.disabled {
    opacity: 0.5;
    border-color: #2a2a2a;
}

.collapsible-section.disabled .section-header {
    background: #2a2a2a;
    cursor: default;
}

.collapsible-section.disabled .section-header:hover {
    background: #2a2a2a;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a0a;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.section-header:hover {
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-toggle {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin: 0;
    accent-color: #0a0a0a;
    flex-shrink: 0;
}

.section-toggle:hover {
    transform: scale(1.1);
}

.section-title {
    font-weight: 600;
    font-size: 1.05em;
    color: #0a0a0a;
}

.collapse-icon {
    font-size: 1.3em;
    font-weight: bold;
    transition: transform 0.3s;
    color: #0a0a0a;
}

.section-header.collapsed .collapse-icon {
    transform: rotate(180deg);
}

.section-content {
    overflow: hidden;
    transition: max-height 0.4s ease-out, opacity 0.3s, padding 0.3s;
    padding: 20px;
    background: #1f1f1f;
    opacity: 1;
}

.section-content.collapsed {
    max-height: 0 !important;
    padding: 0 20px !important;
    opacity: 0;
}

.section-content.active {
    max-height: none;
}

.help-text {
    display: block;
    margin-top: 5px;
    font-size: 0.85em;
    color: #888;
    font-style: italic;
}

.question-group {
    margin-bottom: 25px;
}

.question-group > label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #FFD700;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    font-size: 14px;
    background: #0a0a0a;
    color: #ffffff;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}
    transition: border-color 0.3s;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

textarea {
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checkbox-group label {
    display: block;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

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

.tech-item > label {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.tech-details {
    display: flex;
    gap: 8px;
    margin-top: 6px;
    margin-left: 24px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.tech-item input[type="checkbox"]:checked ~ .tech-details,
.tech-item:has(input[type="checkbox"]:checked) .tech-details {
    opacity: 1;
}

.checkbox-group label:hover {
    background-color: rgba(255, 215, 0, 0.05);
}

.checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.version-input {
    width: 100px !important;
    padding: 6px 8px !important;
    font-size: 12px;
    border: 1px solid #ddd !important;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.description-input {
    flex: 1;
    padding: 6px 8px !important;
    font-size: 12px;
    border: 1px solid #ddd !important;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.version-input:focus,
.description-input:focus {
    border-color: #FFD700 !important;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.custom-tech-section {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #2a2a2a;
}

.custom-tech-section input[type="text"] {
    flex: 1;
    padding: 8px;
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    font-size: 13px;
    background: #0a0a0a;
    color: #ffffff;
}

.custom-tech-section input[type="text"]:first-child {
    flex: 2;
}

.custom-tech-section input[type="text"]:nth-child(3) {
    flex: 2;
}

.add-btn {
    padding: 8px 16px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.custom-tech-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.custom-tech-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a0a;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.custom-tech-tag .remove-btn {
    background: none;
    border: none;
    color: #0a0a0a;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    padding: 0;
    margin: 0;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.custom-tech-tag .remove-btn:hover {
    opacity: 1;
}

.download-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.download-btn:active {
    transform: translateY(0);
}

.preview {
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    max-height: calc(100vh - 180px);
    display: flex;
    flex-direction: column;
}

.preview-header {
    padding: 20px 30px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.preview-header h2 {
    color: #FFD700;
    font-size: 1.5rem;
    margin: 0;
    flex-shrink: 0;
}

.preview-tabs {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.preview-tab {
    padding: 10px 20px;
    background: #2a2a2a;
    color: #888;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.preview-tab:hover {
    background: #333;
    color: #FFD700;
}

.preview-tab.active {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a0a;
    font-weight: 600;
}

.preview-tab .badge {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.preview-tab.active .badge {
    background: rgba(0, 0, 0, 0.2);
}

.preview-actions-inline {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    justify-content: flex-end;
}

.action-btn-inline {
    padding: 6px 12px;
    border: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 4px;
}

.copy-btn-inline {
    background: #2a2a2a;
    color: #FFD700;
    border: 1px solid #FFD700;
}

.copy-btn-inline:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.2);
}

.copy-btn-inline.copied {
    background: #28a745;
    color: white;
    border-color: #28a745;
}

.download-btn-inline {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a0a;
    border: none;
}

.download-btn-inline:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

.preview-content {
    flex: 1;
    overflow-y: auto;
    padding: 30px;
    background: #0a0a0a;
}

.preview-content pre {
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 13px;
    line-height: 1.6;
    color: #e0e0e0;
}

.sub-agents-container {
    padding: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    align-content: start;
}

.sub-agents-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.sub-agents-empty p {
    margin: 10px 0;
    font-size: 16px;
}

.sub-agents-empty p:first-child {
    font-size: 18px;
    color: #888;
    font-weight: 600;
}

.sub-agents-actions-bar {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2a2a;
}

.sub-agents-actions-bar h3 {
    color: #FFD700;
    margin: 0;
    font-size: 1.2em;
}

.sub-agents-grid {
    display: contents;
}

.sub-agent-card {
    background: #1a1a1a;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #2a2a2a;
    border-left: 4px solid #FFD700;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sub-agent-card:hover {
    border-color: #FFD700;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.sub-agent-card h3 {
    margin: 0 0 12px 0;
    color: #FFD700;
    font-size: 1.2em;
}

.sub-agent-card p {
    color: #999;
    font-size: 0.95em;
    line-height: 1.5;
    margin: 0 0 16px 0;
    flex: 1;
}



.sub-agent-actions {
    display: flex;
    gap: 6px;
    margin-top: auto;
}

.preview-sub-agent, .copy-sub-agent, .download-sub-agent {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
    border: 1px solid transparent;
}

.preview-sub-agent {
    background: #2a2a2a;
    color: #FFD700;
    border-color: #3a3a3a;
}

.preview-sub-agent:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    transform: translateY(-1px);
}

.copy-sub-agent {
    background: #2a2a2a;
    color: #FFD700;
    border-color: #3a3a3a;
}

.copy-sub-agent:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    transform: translateY(-1px);
}

.copy-sub-agent.copied {
    background: rgba(0, 255, 0, 0.1);
    color: #0f0;
    border-color: #0f0;
}

.download-sub-agent {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a0a;
}

.download-sub-agent:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(255, 215, 0, 0.3);
}

/* Modal styles */
/* Dialog (native HTML modal) */
.help-dialog {
    margin: auto;
    border: 1px solid #FFD700;
    border-radius: 8px;
    background: #1a1a1a;
    padding: 0;
    max-width: 600px;
    width: calc(100% - 40px);
    max-height: 80vh;
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.3);
    color: #ffffff;
}

.help-dialog[open] {
    display: flex;
    flex-direction: column;
}

.help-dialog::backdrop {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(4px);
}

.help-dialog[open] {
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Preview Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-content {
    background: #1a1a1a;
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
    flex-shrink: 0;
}

.modal-header h2 {
    color: #FFD700;
    font-size: 1.5rem;
    margin: 0;
}

.close-modal {
    background: none;
    border: none;
    color: #FFD700;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, color 0.2s;
    line-height: 1;
}

.close-modal:hover {
    transform: scale(1.2);
    color: #FFA500;
}

.modal-body {
    overflow-y: auto;
    padding: 24px 30px;
    flex: 1;
}

.help-section {
    margin-bottom: 24px;
}

.help-section:last-child {
    margin-bottom: 0;
}

.help-section h3 {
    color: #FFD700;
    font-size: 1.1em;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 0.95em;
}

.help-section ul,
.help-section ol {
    color: #ccc;
    line-height: 1.7;
    padding-left: 24px;
    font-size: 0.95em;
}

.help-section li {
    margin-bottom: 6px;
}

.help-section code {
    background: rgba(255, 215, 0, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    color: #FFD700;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 0.9em;
}

.help-section ul,
.help-section ol {
    color: #ccc;
    line-height: 1.8;
    padding-left: 25px;
}

.help-section li {
    margin-bottom: 8px;
}

.help-section li strong {
    color: #FFD700;
}

.help-section code {
    background: #1a1a1a;
    padding: 2px 6px;
    border-radius: 3px;
    color: #FFD700;
    font-size: 0.9em;
    font-family: 'Monaco', 'Menlo', monospace;
}

.close-modal {
    background: none;
    border: none;
    color: #FFD700;
    font-size: 2rem;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, color 0.2s;
    line-height: 1;
}

.close-modal:hover {
    transform: scale(1.2);
    color: #FFA500;
}

.help-section {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    padding: 20px 30px;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
}

.modal-download {
    padding: 10px 20px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0a0a0a;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.modal-close-btn {
    padding: 10px 20px;
    background: #2a2a2a;
    color: #ffffff;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close-btn:hover {
    background: #3a3a3a;
    border-color: #FFD700;
}

@media (max-width: 1200px) {
    .layout {
        grid-template-columns: 1fr;
    }
    
    .questionnaire {
        max-height: none;
    }
    
    .preview {
        min-height: 600px;
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #2a2a2a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 215, 0, 0.5);
}

/* Dialog for subagent previews */
.preview-dialog {
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 12px;
    background: #1a1a1a;
    max-width: 900px;
    width: 90vw;
    max-height: 90vh;
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.preview-dialog::backdrop {
    background: rgba(0, 0, 0, 0.8);
}

.preview-dialog .dialog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
    flex-shrink: 0;
}

.preview-dialog .dialog-header h2 {
    color: #FFD700;
    font-size: 1.5rem;
    margin: 0;
}

.preview-dialog .dialog-close {
    background: none;
    border: none;
    color: #FFD700;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s, color 0.2s;
    line-height: 1;
}

.preview-dialog .dialog-close:hover {
    transform: scale(1.2);
    color: #FFA500;
}

.preview-dialog .dialog-body {
    overflow-y: auto;
    padding: 24px 30px;
    flex: 1;
    background: #0a0a0a;
}

.preview-dialog .dialog-body pre {
    margin: 0;
    background: #0a0a0a;
    padding: 0;
    border-radius: 0;
}

.preview-dialog .dialog-body code {
    color: #ddd;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    font-size: 0.9em;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.preview-dialog .dialog-footer {
    padding: 14px 20px;
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    background: rgba(255, 215, 0, 0.05);
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    flex-shrink: 0;
}

.preview-dialog .dialog-copy,
.preview-dialog .dialog-download,
.preview-dialog .dialog-close-btn {
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.preview-dialog .dialog-copy {
    background: #2a2a2a;
    color: #FFD700;
    border-color: #3a3a3a;
}

.preview-dialog .dialog-copy:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #FFD700;
    transform: translateY(-1px);
}

.preview-dialog .dialog-copy.copied {
    background: rgba(0, 255, 0, 0.1);
    color: #0f0;
    border-color: #0f0;
}

.preview-dialog .dialog-download {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #000;
    border: none;
}

.preview-dialog .dialog-download:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.preview-dialog .dialog-close-btn {
    background: transparent;
    color: #FFD700;
    border-color: rgba(255, 215, 0, 0.3);
}

.preview-dialog .dialog-close-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    transform: translateY(-1px);
}
