:root {
    --primary: #007bff;
    --primary-hover: #0056b3;
    --bg-color: #f4f6f9;
    --card-bg: #ffffff;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --error-color: #ef4444;
    --success-color: #10b981;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-color);
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.card {
    background: var(--card-bg);
    width: 100%;
    max-width: 1000px;
    /* INCREASED WIDTH */
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 2rem;
    box-sizing: border-box;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header h1 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 0.5rem 0 0 0;
    display: inline-block;
}

.icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
    animation: float 3s ease-in-out infinite;
}

.upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 1.5rem;
    background-color: #fafafa;
}

.upload-area.drag-over {
    background-color: #eff6ff;
    border-color: var(--primary);
}

.upload-area.has-file {
    background-color: #f0fdf4;
    border-color: var(--success-color);
    border-style: solid;
}

.upload-content p {
    margin: 0.5rem 0 0 0;
    color: var(--text-secondary);
}

.upload-icon {
    font-size: 3rem;
    color: #cbd5e1;
    display: block;
    margin-bottom: 1rem;
}

.btn-primary {
    width: 100%;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.875rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 1.5rem;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-primary:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
    opacity: 0.7;
}

.progress-container {
    background-color: #e5e7eb;
    border-radius: 9999px;
    height: 10px;
    width: 100%;
    margin-top: 2rem;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar {
    background-color: var(--primary);
    height: 100%;
    width: 0%;
    transition: width 0.3s ease;
}

.status-container {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #64748b;
    margin-bottom: 1.5rem;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #d1d5db;
    margin-right: 0.75rem;
}

.status-indicator.active {
    background-color: #f59e0b;
}

.status-indicator.success {
    background-color: var(--success-color);
}

.status-indicator.error {
    background-color: var(--error-color);
}

.status-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.service-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-left: 0.5rem;
}

.terminal-window {
    background-color: #1e1e1e;
    border-radius: 8px;
    margin-top: 2rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.terminal-header {
    background-color: #2d2d2d;
    padding: 0.5rem 1rem;
    display: flex;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
    display: inline-block;
}

.dot.red {
    background-color: #ff5f56;
}

.dot.yellow {
    background-color: #ffbd2e;
}

.dot.green {
    background-color: #27c93f;
}

.terminal-title {
    color: #9ca3af;
    font-size: 0.8rem;
    margin-left: 1rem;
}

.terminal-body {
    height: 600px;
    /* INCREASED HEIGHT */
    padding: 1rem;
    overflow-y: auto;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.85rem;
    color: #d4d4d4;
    white-space: pre-wrap;
    line-height: 1.5;
}

.log-line {
    margin-bottom: 2px;
}

.log-line.text-muted {
    color: #6b7280;
}

.error-message {
    color: var(--error-color);
    text-align: center;
    font-size: 0.9rem;
    margin-top: 1rem;
}