body {
    background: #0f172a;
    color: #e5e7eb;
    font-family: Arial, sans-serif;
    margin: 0;
}

header {
    padding: 20px;
    text-align: center;
    background: #020617;
    font-size: 22px;
    font-weight: 600;
}

.wrapper {
    display: flex;
    gap: 24px;
    padding: 24px;
}

.db-card {
    flex: 1;
    background: #020617;
    padding: 20px;
    border-radius: 12px;
}

.db-card h2 {
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 600;
    border-bottom: 1px solid #334155;
    padding-bottom: 8px;
}

.row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.row input {
    flex: 1;
}

.db-card input {
    padding: 10px;
    background: #020617;
    border: 1px solid #334155;
    color: white;
    border-radius: 6px;
}

.radio-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #020617;
    border: 1px solid #334155;
    padding: 8px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

.radio-group input {
    accent-color: #2563eb;
}

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

button {
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    margin: 0 8px;
    font-size: 14px;
    cursor: pointer;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* only progress related + bottom alignment changes */
.progress {
    margin-top: auto;
    padding: 0 24px 20px;
}

.progress-bar {
    flex-shrink: 0;
    height: 10px;
    background: #334155;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 12px;
}

#logBox {
    height: 280px;
    background: #020617;
    padding: 14px;
    overflow: auto;
    border-radius: 10px;
    border: 1px solid #334155;
    font-size: 13px;
    line-height: 1.5;
}

#progressFill {
    height: 100%;
    width: 0%;
    background: #22c55e;
    transition: width 0.3s ease;
}

pre {
    background: #020617;
    padding: 12px;
    height: 200px;
    overflow: auto;
    border-radius: 8px;
    border: 1px solid #334155;
    font-size: 13px;
}
  