:root {
    --bg-color: #f3f4f6;
    --panel-bg: #ffffff;
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary-color: #10b981;
    --secondary-hover: #059669;
    --text-main: #111827;
    --text-muted: #4b5563;
    --border-color: #e5e7eb;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.background-animation {
    display: none; /* 装飾用背景アニメーションを無効化 */
}

.container {
    width: 100%;
    max-width: 600px;
}

/* クラス名はそのまま流用し、スタイルだけ白基調に */
.glass-panel {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

header {
    text-align: center;
    margin-bottom: 30px;
}

h1 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 8px;
}

header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.step-card {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    display: flex;
    gap: 16px;
}

.step-card.disabled {
    opacity: 0.5;
    pointer-events: none;
    background: #f9fafb;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    flex-shrink: 0;
}

.step-content {
    flex-grow: 1;
}

h2 {
    font-size: 1.1rem;
    margin-bottom: 6px;
    color: var(--text-main);
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.hidden {
    display: none !important;
}

.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
}

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

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

.outline-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
}
.outline-btn:hover {
    background: #f3f4f6;
}

.text-info {
    margin-top: 12px;
    font-size: 0.85rem;
    color: #065f46;
    background: #d1fae5;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #10b981;
    word-break: break-all;
}

/* Progress Area */
.progress-section {
    background: var(--panel-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.progress-section h3 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin: 16px 0;
    overflow: hidden;
}

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

.log-text {
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: #f9fafb;
    padding: 8px 12px;
    border-radius: 6px;
    height: 38px;
    line-height: 20px;
    overflow-y: hidden;
    text-align: left;
    white-space: nowrap;
    text-overflow: ellipsis;
    border: 1px solid var(--border-color);
}

.time-estimate {
    font-size: 0.85rem;
    margin-top: 10px;
    color: var(--text-muted);
}

.complete-section {
    text-align: center;
    padding: 24px;
    background: #ecfdf5;
    border: 1px solid #10b981;
    border-radius: 8px;
}

.success-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.complete-section h3 {
    color: #065f46;
    margin-bottom: 8px;
}

.complete-section p {
    color: #064e3b;
    margin-bottom: 16px;
}
