/* Default styles (light mode) */
body {
    background: #f7fafc;
    color: #2d3748;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    background: #667eea;
    color: white;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header h1 {
    margin: 0;
    font-size: 2em;
}

.header h1 i {
    margin-right: 10px;
}

.header p {
    margin: 5px 0 0;
    font-size: 1.1em;
}

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

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

.modal-content {
    background: white;
    border-radius: 10px;
    padding: 20px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.modal-content h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.modal-close {
    float: right;
    cursor: pointer;
    font-size: 1.5em;
    color: #333;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px;
    border-radius: 8px;
    z-index: 1100;
    display: none;
}

.notification.success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.notification.error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.flow-builder-container {
    padding: 20px;
}

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

.flow-canvas {
    width: 100%;
    height: 500px;
    border: 1px solid #e2e8f0;
    position: relative;
    background: #f9f9f9;
}

.node {
    padding: 10px;
    border: 1px solid #333;
    border-radius: 5px;
    background: white;
    cursor: pointer;
    width: 150px;
    text-align: center;
}

.question-node {
    border-color: #007bff;
}

.output-node {
    border-color: #28a745;
}

.start-node {
    border: 2px solid #ffc107;
}

.node-editor {
    position: fixed;
    right: 20px;
    top: 20px;
    background: white;
    padding: 20px;
    border: 1px solid #e2e8f0;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.node-editor.hidden {
    display: none;
}

.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 500px;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    animation: slideIn 0.3s ease-out;
    transition: opacity 0.3s ease;
}

.toast-notification.success {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

.toast-notification.error {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
    color: #721c24;
}

.toast-notification.warning {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
}

.toast-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.toast-content i {
    font-size: 1.2em;
}

.toast-close {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toast-close:hover {
    opacity: 1;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.hidden {
    display: none !important;
}

.answer-item {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.answer-item input,
.answer-item select {
    flex: 1;
}

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background 0.2s;
}

.btn-primary {
    background: #007bff;
    color: white;
    border: none;
}

.btn-secondary {
    background: #6c757d;
    color: white;
    border: none;
}

.btn-outline {
    background: none;
    border: 1px solid #007bff;
    color: #007bff;
}

.btn-primary:hover,
.btn-secondary:hover {
    opacity: 0.9;
}

.btn-outline:hover {
    background: #007bff;
    color: white;
}

/* Flow Viewer Styles */
.flow-viewer-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.flow-header {
    margin-bottom: 20px;
}

.flow-header-content {
    margin-bottom: 10px;
}

.flow-name {
    font-size: 1.8em;
    color: #333;
}

.flow-description {
    color: #666;
    margin-top: 5px;
}

.flow-meta-bar {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.meta-badge {
    background: #e2e8f0;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.9em;
}

.flow-header-actions {
    display: flex;
    gap: 10px;
}

.flow-progress {
    margin-bottom: 20px;
}

.progress-bar {
    height: 8px;
    background: #007bff;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0;
}

.node-container {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #f7fafc;
}

.question-node {
    border: 1px solid #007bff;
}

.output-node {
    border: 1px solid #28a745;
}

.node-icon {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.question-text {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.answers-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.answer-button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.answer-button:hover {
    background: #edf2f7;
}

.answer-number {
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
}

.answer-button.show {
    opacity: 1;
    transform: translateY(0);
}

.output-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.output-title {
    font-size: 1.6em;
}

.output-content {
    line-height: 1.6;
}

.output-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.loading-container {
    text-align: center;
    padding: 20px;
}

.loader {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.flow-navigation {
    margin-top: 20px;
}

.nav-history {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.history-step {
    padding: 10px;
    background: #f7fafc;
    border-radius: 6px;
    cursor: pointer;
}

.history-step.current {
    background: #e2e8f0;
}

.step-number {
    background: #007bff;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

/* Markdown Styling for Output Page */
.output-page {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.output-title {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.output-markdown {
    line-height: 1.6;
    color: #333;
}

.output-markdown h1,
.output-markdown h2,
.output-markdown h3 {
    color: #667eea;
    margin-bottom: 15px;
}

.output-markdown p {
    margin-bottom: 15px;
}

.output-markdown ul,
.output-markdown ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

.output-markdown code {
    background: #f4f4f5;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: monospace;
}

.output-markdown pre {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 15px;
    border-radius: 6px;
    overflow-x: auto;
}

.output-markdown table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
}

.output-markdown th,
.output-markdown td {
    border: 1px solid #e2e8f0;
    padding: 8px;
    text-align: left;
}

.output-markdown th {
    background: #f4f4f5;
}

.output-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background: #1a202c;
        color: #e2e8f0;
    }
    .header {
        background: #4a5568;
        box-shadow: 0 2px 4px rgba(0,0,0,0.3);
    }
    .container {
        background: transparent;
    }
    .modal-content {
        background: #2d3748;
        color: #e2e8f0;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    .modal-content h3 {
        color: #7f9cf5;
    }
    .modal-close {
        color: #e2e8f0;
    }
    .notification.success {
        background: #2f855a;
        border-left-color: #38a169;
        color: #c6f6d5;
    }
    .notification.error {
        background: #c53030;
        border-left-color: #e53e3e;
        color: #fed7d7;
    }
    .flow-builder-container {
        background: #2d3748;
    }
    .flow-canvas {
        background: #2d3748;
        border-color: #4a5568;
    }
    .node {
        background: #2d3748;
        border-color: #718096;
        color: #e2e8f0;
    }
    .node-editor {
        background: #2d3748;
        border-color: #4a5568;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    .flow-viewer-container {
        background: #2d3748;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    .flow-name {
        color: #e2e8f0;
    }
    .flow-description {
        color: #a0aec0;
    }
    .meta-badge {
        background: #4a5568;
        color: #e2e8f0;
    }
    .node-container {
        background: #2d3748;
        border-color: #4a5568;
    }
    .question-node {
        border-color: #63b3ed;
    }
    .output-node {
        border-color: #68d391;
    }
    .answer-button {
        background: #2d3748;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    .answer-button:hover {
        background: #4a5568;
    }
    .answer-number {
        background: #63b3ed;
    }
    .progress-bar {
        background: #63b3ed;
    }
    .history-step {
        background: #2d3748;
        color: #e2e8f0;
    }
    .history-step.current {
        background: #4a5568;
    }
    .step-number {
        background: #63b3ed;
    }
    .output-page {
        background: #2d3748;
        box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    }
    .output-title {
        color: #e2e8f0;
        border-bottom-color: #7f9cf5;
    }
    .output-markdown {
        color: #e2e8f0;
    }
    .output-markdown h1,
    .output-markdown h2,
    .output-markdown h3 {
        color: #7f9cf5;
    }
    .output-markdown code {
        background: #4a5568;
    }
    .output-markdown pre {
        background: #1a202c;
        color: #e2e8f0;
    }
    .output-markdown th,
    .output-markdown td {
        border-color: #4a5568;
    }
    .output-markdown th {
        background: #4a5568;
    }
    .btn-primary {
        background: #63b3ed;
        color: #1a202c;
    }
    .btn-secondary {
        background: #718096;
        color: #e2e8f0;
    }
    .btn-outline {
        border-color: #7f9cf5;
        color: #7f9cf5;
    }
    .btn-primary:hover,
    .btn-secondary:hover {
        opacity: 0.9;
    }
    .btn-outline:hover {
        background: #7f9cf5;
        color: #1a202c;
    }
    .loader {
        border-color: #4a5568;
        border-top-color: #63b3ed;
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 10px;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 1.2em;
    opacity: 0.9;
}

.hero-actions {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-lg {
    padding: 12px 24px;
    font-size: 1.1em;
}

/* Stats Section */
.stats-section {
    margin-bottom: 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 2em;
    color: #667eea;
}

.stat-content h3 {
    margin: 0;
    font-size: 1.8em;
    color: #333;
}

.stat-content p {
    margin: 0;
    color: #666;
}

/* Flows Section */
.flows-section {
    margin-bottom: 40px;
}

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

.filter-controls {
    display: flex;
    gap: 10px;
}

.search-input, .category-select {
    padding: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 1em;
}

.flows-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.flow-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.flow-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f7fafc;
    border-bottom: 1px solid #e2e8f0;
}

.flow-title {
    margin: 0;
    font-size: 1.2em;
    color: #333;
}

.flow-actions {
    display: flex;
    gap: 5px;
}

.btn-icon {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    color: #666;
}

.btn-icon:hover {
    color: #007bff;
}

.btn-icon.btn-danger:hover {
    color: #dc3545;
}

.flow-card-body {
    padding: 15px;
}

.flow-description {
    color: #666;
    margin-bottom: 10px;
}

.flow-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.9em;
    color: #888;
}

.flow-card-footer {
    padding: 15px;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

/* Import Section */
.import-section {
    margin-top: 40px;
}

.import-card {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.import-dropzone {
    border: 2px dashed #e2e8f0;
    padding: 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.3s;
}

.import-dropzone:hover, .import-dropzone.dragover {
    border-color: #007bff;
}

.import-dropzone i {
    font-size: 2em;
    color: #007bff;
    margin-bottom: 10px;
}

/* Dark Mode Adjustments */
@media (prefers-color-scheme: dark) {
    .hero {
        background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    }
    .stat-card, .flow-card, .import-card {
        background: #2d3748;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .flow-card-header {
        background: #4a5568;
        border-bottom-color: #4a5568;
    }
    .flow-title {
        color: #e2e8f0;
    }
    .flow-description, .flow-meta {
        color: #a0aec0;
    }
    .import-dropzone {
        border-color: #4a5568;
    }
    .import-dropzone:hover, .import-dropzone.dragover {
        border-color: #63b3ed;
    }
    .import-dropzone i {
        color: #63b3ed;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 20px;
    }
    .hero-title {
        font-size: 2em;
    }
    .stats-grid, .flows-grid {
        grid-template-columns: 1fr;
    }
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* Builder Page */
.flow-builder-container {
    padding: 20px;
}

.builder-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.builder-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.builder-header p {
    font-size: 1.1em;
    opacity: 0.9;
}

.builder-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.panel {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.panel h2 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 3px solid #667eea;
    padding-bottom: 10px;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.answers-container {
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 10px;
}

.answer-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #667eea;
}

.answer-item input {
    margin-bottom: 8px;
}

.nodes-list {
    max-height: 400px;
    overflow-y: auto;
}

.node-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 5px solid #667eea;
    cursor: pointer;
    transition: all 0.3s;
}

.node-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.node-card.active {
    border-left-color: #48bb78;
    background: linear-gradient(135deg, #e6fffa 0%, #b2f5ea 100%);
}

.node-card h3 {
    color: #667eea;
    margin-bottom: 8px;
    font-size: 1.1em;
}

.node-card .node-type {
    display: inline-block;
    padding: 4px 12px;
    background: #667eea;
    color: white;
    border-radius: 20px;
    font-size: 0.85em;
    margin-bottom: 8px;
}

.node-card .node-type.output {
    background: #48bb78;
}

.yaml-output {
    background: #1e1e1e;
    color: #d4d4d4;
    padding: 20px;
    border-radius: 10px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    white-space: pre-wrap;
    max-height: 500px;
    overflow-y: auto;
    line-height: 1.6;
}

.help-text {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #856404;
}

.success-message {
    background: #d4edda;
    border-left: 4px solid #28a745;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    color: #155724;
    display: none;
}

.metadata-form {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

@media (max-width: 1024px) {
    .builder-container {
        grid-template-columns: 1fr;
    }
}

@media (prefers-color-scheme: dark) {
    .builder-header {
        background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    }
    .panel {
        background: #2d3748;
        box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    }
    .form-group label {
        color: #e2e8f0;
    }
    .form-group input,
    .form-group textarea,
    .form-group select {
        background: #4a5568;
        border-color: #4a5568;
        color: #e2e8f0;
    }
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border-color: #7f9cf5;
    }
    .answers-container {
        border-color: #4a5568;
    }
    .answer-item {
        background: #4a5568;
        border-left-color: #7f9cf5;
    }
    .node-card {
        background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
        border-left-color: #7f9cf5;
    }
    .node-card.active {
        border-left-color: #68d391;
        background: linear-gradient(135deg, #2f855a 0%, #38a169 100%);
    }
    .node-card h3 {
        color: #7f9cf5;
    }
    .node-card .node-type {
        background: #7f9cf5;
    }
    .node-card .node-type.output {
        background: #68d391;
    }
    .yaml-output {
        background: #1a202c;
        color: #e2e8f0;
    }
    .help-text {
        background: #4a5568;
        border-left-color: #b7791f;
        color: #e2e8f0;
    }
    .success-message {
        background: #2f855a;
        border-left-color: #38a169;
        color: #c6f6d5;
    }
    .metadata-form {
        background: #4a5568;
    }
}
.btn-home {
    display: inline-flex;
    align-items: center;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1em;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-home:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.btn-home i {
    margin-right: 8px;
}

@media (prefers-color-scheme: dark) {
    .btn-home {
        background: linear-gradient(135deg, #4a5568 0%, #2d3748 100%);
    }
    .btn-home:hover {
        background: linear-gradient(135deg, #7f9cf5 0%, #667eea 100%);
    }
}

/* Confirm Dialog */
.confirm-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.2s ease;
}

.confirm-dialog {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    animation: slideUp 0.3s ease;
}

.confirm-dialog-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.confirm-dialog-content i {
    font-size: 2em;
    color: #667eea;
    flex-shrink: 0;
}

.confirm-dialog-content p {
    margin: 0;
    font-size: 1.1em;
    color: #2d3748;
    line-height: 1.5;
}

.confirm-dialog-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.confirm-dialog-actions .btn {
    padding: 10px 20px;
    font-size: 1em;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Dark mode per confirm dialog */
@media (prefers-color-scheme: dark) {
    .confirm-dialog {
        background: #2d3748;
    }
    
    .confirm-dialog-content i {
        color: #7f9cf5;
    }
    
    .confirm-dialog-content p {
        color: #e2e8f0;
    }
}