/* Minimal dark render dashboard */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    --bg-color: #0a0a0a;
    --panel-bg: rgba(255, 255, 255, 0.03);
    --border-color: rgba(255, 255, 255, 0.08);
    --accent-red: #f87171;
    --accent-orange: #f97316;
    --accent-green: #34d399;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: #e5e7eb;
    overflow-x: hidden;
}

/* Flat minimal panels */
.panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    transition: border-color 0.3s ease;
}

.panel:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

/* Form fields */
.field {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 0.6rem;
    padding: 0.7rem 2.25rem 0.7rem 0.9rem;
    color: #e5e7eb;
    font-size: 0.875rem;
    appearance: none;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.field:focus {
    border-color: rgba(249, 115, 22, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.field option {
    background-color: #171717;
    color: #e5e7eb;
}

/* Buttons */
.btn {
    width: 100%;
    padding: 0.85rem 1.25rem;
    border-radius: 0.75rem;
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    user-select: none;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease, opacity 0.2s ease;
}

.btn:active:not(:disabled) {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--accent-orange);
    color: #0a0a0a;
    cursor: pointer;
}

.btn-primary:hover:not(:disabled) {
    background: #fb923c;
}

.btn-success {
    background: var(--accent-green);
    color: #0a0a0a;
    cursor: pointer;
}

.btn-success:hover {
    background: #6ee7b7;
}

.btn-disabled {
    background: rgba(255, 255, 255, 0.04);
    color: #6b7280;
    cursor: not-allowed;
    pointer-events: none;
}

.btn-processing {
    background: rgba(255, 255, 255, 0.04);
    color: #6b7280;
    cursor: not-allowed;
}

/* Stat tiles */
.stat {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
    padding: 0.9rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.stat-label {
    font-size: 0.7rem;
    color: #6b7280;
}

.stat-value {
    font-size: 1.35rem;
    font-weight: 600;
    color: #e5e7eb;
    transition: color 0.3s ease;
}

/* Upload dropzone */
.dropzone {
    border: 1.5px dashed rgba(255, 255, 255, 0.12);
    transition: border-color 0.25s ease, background-color 0.25s ease;
}

.dropzone:hover {
    border-color: rgba(249, 115, 22, 0.4);
}

.dropzone-active {
    border-color: var(--accent-orange);
    background-color: rgba(249, 115, 22, 0.05);
}

/* Custom Scrollbar for Terminal */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Status dot */
.dot-pulse {
    animation: dot-pulse 2.2s infinite ease-in-out;
}

@keyframes dot-pulse {
    0%, 100% { opacity: 0.5; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.15); }
}

.progress-bar-transition {
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Entrance animations */
.fade-in-up {
    opacity: 0;
    animation: fade-in-up 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fade-in-up {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fade-in 0.25s ease forwards;
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.log-line {
    animation: fade-in 0.3s ease forwards;
}
