/* Mock Data Generator Styles */
.mock-data-generator {
    margin-bottom: 2rem;
}

.generator-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

/* Configuration Panel */
.config-panel {
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-right: 1px solid #e5e7eb;
}

.config-header {
    margin-bottom: 2rem;
}

.config-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.config-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.config-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.config-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.config-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.label-icon {
    font-size: 1.125rem;
}

.config-select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    color: #1e293b;
    transition: all 0.2s ease;
    cursor: pointer;
}

.config-select:hover {
    border-color: #cbd5e1;
}

.config-select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-primary,
.btn-secondary,
.btn-outline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff;
    box-shadow: 0 4px 6px rgba(59, 130, 246, 0.25);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.35);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-secondary {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.btn-secondary:hover:not(:disabled) {
    background: #e2e8f0;
    border-color: #cbd5e1;
}

.btn-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-outline {
    background: transparent;
    color: #64748b;
    border: 2px solid #e2e8f0;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.btn-icon {
    font-size: 1.125rem;
}

/* Output Panel */
.output-panel {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    min-height: 500px;
}

.output-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    background: #fafbfc;
}

.output-title-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.output-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.output-badge {
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    background: #e0e7ff;
    color: #4338ca;
    border-radius: 12px;
}

.output-actions {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    background: transparent;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.125rem;
}

.icon-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.output-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.output-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 400px;
    padding: 2rem;
    text-align: center;
}

.placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.6;
}

.placeholder-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #475569;
    margin: 0 0 0.5rem 0;
}

.placeholder-hint {
    font-size: 0.875rem;
    color: #94a3b8;
    margin: 0;
}

.output-content {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 400px;
    margin: 0;
    padding: 1.5rem;
    overflow: auto;
    background: #1e293b;
    color: #e2e8f0;
    
    font-size: 0.875rem;
    line-height: 1.6;
}

.output-content code {
    display: block;
    width: 100%;
    color: inherit;
    background: transparent;
    border: none;
    padding: 0;
    font-size: inherit;
    white-space: pre;
    word-wrap: normal;
    overflow-x: auto;
}

.output-content.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    min-height: 100vh;
    border-radius: 0;
}

/* Loading State */
.generating {
    position: relative;
    pointer-events: none;
}

.generating::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .generator-card {
        grid-template-columns: 1fr;
    }

    .config-panel {
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }
}

@media (max-width: 767px) {
    .mock-data-generator {
        margin-top: 1.5rem;
    }

    .generator-card {
        border-radius: 12px;
        gap: 0;
    }

    .config-panel {
        padding: 1.5rem;
    }

    .config-title {
        font-size: 1.25rem;
    }

    .config-grid {
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }

    .action-buttons {
        gap: 0.625rem;
    }

    .btn-primary,
    .btn-secondary,
    .btn-outline {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .output-header {
        padding: 1rem 1.5rem;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .output-title {
        font-size: 1.125rem;
    }

    .output-content {
        padding: 1rem;
        font-size: 0.8125rem;
        min-height: 300px;
    }

    .output-placeholder {
        min-height: 300px;
        padding: 1.5rem;
    }

    .placeholder-icon {
        font-size: 3rem;
    }

    .placeholder-text {
        font-size: 1rem;
    }

    .placeholder-hint {
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .config-panel {
        padding: 1.25rem;
    }

    .action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .btn-primary {
        grid-column: 1 / -1;
    }

    .output-header {
        padding: 0.875rem 1.25rem;
    }

    .output-title-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.output-content {
    animation: fadeIn 0.3s ease;
}

/* Scrollbar Styling */
.output-content::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.output-content::-webkit-scrollbar-track {
    background: #0f172a;
}

.output-content::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}

.output-content::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
