﻿﻿﻿/* ==========================================
   採用ブランディング 漫画プロンプトメーカー v5.3 COMPLETE
   styles.css - デザイン改善版
   ========================================== */

/* ========== グローバル設定 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.7;
    color: #333;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* ========== ヘッダー ========== */
.main-header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.main-header h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.main-header .version {
    font-size: 0.9em;
    opacity: 0.9;
    margin-bottom: 10px;
    font-weight: bold;
}

.main-header .subtitle {
    font-size: 1.1em;
    opacity: 0.95;
}

/* ========== ステップカード ========== */
.step-card {
    margin: 30px;
    border: 2px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.step-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.step-header {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 20px 30px;
    font-size: 1.3em;
    font-weight: bold;
    cursor: pointer;
    user-select: none;
}

.step-header:hover {
    background: linear-gradient(135deg, #ff7b45 0%, #ff9e2e 100%);
}

.step-content {
    padding: 30px;
}

/* ========== フォーム要素 ========== */
.form-group {
    margin-bottom: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #444;
    font-size: 1.05em;
}

.required {
    color: #ff6b35;
    font-weight: bold;
}

input[type="text"],
input[type="url"],
input[type="password"],
select,
textarea {
    width: 100%;
    max-width: 800px; /* ✅ 最大幅を統一 */
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px; /* ✅ 統一 */
    font-family: inherit;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box; /* ✅ 明示的に指定 */
}

input[type="text"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #ff6b35;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

input[type="text"]:hover,
input[type="url"]:hover,
input[type="password"]:hover,
select:hover,
textarea:hover {
    border-color: #ff9e2e;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

small {
    display: block;
    margin-top: 6px;
    color: #666;
    font-size: 0.9em;
}

.help-text {
    color: #666;
    font-size: 0.95em;
    margin-top: 8px;
}

/* ========== 業種セレクト ========== */
.industry-selects {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.industry-selects select {
    flex: 1;
    min-width: 200px;
}

.industry-selects .arrow {
    font-size: 1.3em;
    color: #ff6b35;
    font-weight: bold;
}

/* ========== ボタン ========== */
button {
    cursor: pointer;
    font-family: inherit;
    font-size: 1em;
    transition: all 0.3s ease;
    border: none;
    border-radius: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 12px 28px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff7b45 0%, #ff9e2e 100%);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.4);
    transform: translateY(-2px);
}

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

.btn-secondary {
    background: white;
    color: #ff6b35;
    padding: 10px 24px;
    border: 2px solid #ff6b35;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #ff6b35;
    color: white;
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.15em;
}

.btn-insert {
    background: #4caf50;
    color: white;
    padding: 6px 12px;
    font-size: 0.9em;
    border-radius: 6px;
}

.btn-insert:hover {
    background: #45a049;
}

.btn-delete {
    background: #f44336;
    color: white;
    padding: 6px 12px;
    font-size: 0.9em;
    border-radius: 6px;
}

.btn-delete:hover {
    background: #da190b;
}

.btn-link {
    background: none;
    color: #ff6b35;
    padding: 0;
    text-decoration: underline;
    font-size: 0.95em;
}

.btn-link:hover {
    color: #ff9e2e;
}

/* ========== テンプレート提案 ========== */
.template-suggestion-box {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 12px;
    margin: 20px 0;
}

.template-suggestion {
    margin-top: 20px;
    padding: 25px;
    background: white;
    border: 2px solid #ff6b35;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.template-header h4 {
    color: #ff6b35;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.template-content {
    margin: 20px 0;
}

.template-item {
    display: flex;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: #f9f9f9;
    border-left: 4px solid #ff6b35;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.template-item:hover {
    background: #fff3e0;
    transform: translateX(5px);
}

.template-page {
    background: #ff6b35;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    margin-right: 12px;
    min-width: 50px;
    text-align: center;
}

.template-element {
    font-weight: 600;
    color: #333;
    margin-right: 12px;
}

.template-note {
    color: #666;
    flex: 1;
}

.template-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

/* ========== ストーリー構造テーブル ========== */
.story-table-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
}

.story-info {
    font-size: 1.1em;
}

.story-info strong {
    color: #ff6b35;
    font-size: 1.3em;
}

.table-container {
    overflow-x: auto;
    border-radius: 8px;
    border: 2px solid #ddd;
}

.story-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.story-table thead {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
}

.story-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 1.05em;
}

.story-table tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: all 0.2s ease;
}

.story-table tbody tr:hover {
    background: #fff3e0;
}

.story-table td {
    padding: 15px;
}

.story-table .page-num {
    font-weight: bold;
    color: #ff6b35;
    font-size: 1.2em;
    text-align: center;
}

.story-table .story-element {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
}

.story-table .story-note {
    width: 100%;
    padding: 10px;
    border: 2px solid #ddd;
    border-radius: 6px;
    min-height: 60px;
}

.story-table .actions {
    display: flex;
    gap: 8px;
    justify-content: center;
}

/* 新規行のアニメーション */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.story-row {
    animation: slideIn 0.3s ease-out;
}

/* ========== キャラクタープレビュー ========== */
.character-preview-box {
    padding: 20px;
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 12px;
    margin: 15px 0;
    min-height: 200px;
}

.preview-placeholder {
    text-align: center;
    color: #999;
    padding: 60px 20px;
    font-size: 1.1em;
}

.character-info {
    margin-bottom: 15px;
}

.character-info h4 {
    color: #ff6b35;
    font-size: 1.3em;
    margin-bottom: 8px;
}

.character-images {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.character-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #ff6b35;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.character-image:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}

/* ========== チェックボックスグリッド ========== */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 10px;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: normal;
}

.checkbox-grid label:hover {
    background: #fff3e0;
    border-color: #ff6b35;
}

.checkbox-grid input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-grid input[type="checkbox"]:checked + label {
    background: #fff3e0;
    border-color: #ff6b35;
    font-weight: 600;
}

/* ========== プロンプト出力 ========== */
.generate-section {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    border-radius: 12px;
    margin: 20px 0;
}

.output-section {
    margin-top: 25px;
    padding: 25px;
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 12px;
}

.output-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.output-header h3 {
    color: #ff6b35;
    font-size: 1.3em;
}

.output-actions {
    display: flex;
    gap: 10px;
}

#generatedPrompt {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
    line-height: 1.6;
    background: white;
}

/* ========== ストーリー解析 ========== */
.analysis-section {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-radius: 12px;
    text-align: center;
}

.analysis-section h3 {
    color: #1976d2;
    margin-bottom: 10px;
}

/* ========== API設定 ========== */
.api-info-box {
    padding: 20px;
    background: #e3f2fd;
    border-left: 4px solid #1976d2;
    border-radius: 8px;
    margin-bottom: 20px;
}

.api-info-box h4 {
    color: #1976d2;
    margin-bottom: 10px;
}

.api-info-box ul {
    margin-left: 20px;
    margin-top: 10px;
}

.api-info-box li {
    margin-bottom: 5px;
}

.api-key-input {
    display: flex;
    gap: 10px;
    align-items: center;
}

.api-key-input input {
    flex: 1;
}

/* ========== カット編集エリア ========== */
#cutEditingArea {
    display: block;
}

.cuts-header {
    padding: 25px;
    background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
    border-radius: 12px;
    margin-bottom: 25px;
}

.cuts-header h3 {
    color: #388e3c;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.cuts-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.cuts-info {
    color: #666;
    font-size: 0.95em;
}

.cuts-container {
    display: grid;
    gap: 25px;
}

.cut-card {
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.cut-card:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
    transform: translateY(-3px);
}

.cut-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e0e0e0;
}

.cut-number {
    display: flex;
    gap: 10px;
    align-items: center;
}

.cut-page {
    background: #ff6b35;
    color: white;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1em;
}

.cut-id {
    background: #f5f5f5;
    padding: 6px 14px;
    border-radius: 6px;
    font-weight: 600;
    color: #666;
}

.cut-status {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
}

.status-pending {
    background: #ffe0b2;
    color: #f57c00;
}

.status-processing {
    background: #bbdefb;
    color: #1976d2;
    animation: pulse 1.5s ease-in-out infinite;
}

.status-success {
    background: #c8e6c9;
    color: #388e3c;
}

.status-error {
    background: #ffcdd2;
    color: #d32f2f;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.cut-content {
    margin-bottom: 20px;
}

.cut-field {
    margin-bottom: 15px;
}

.cut-field label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #555;
}

.cut-field textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    resize: vertical;
}

.cut-field textarea:focus {
    border-color: #ff6b35;
    outline: none;
}

.cut-field small {
    color: #999;
    font-size: 0.85em;
}

.cut-image-preview {
    margin-bottom: 20px;
    min-height: 200px;
    background: #f9f9f9;
    border: 2px dashed #ddd;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cut-image-preview img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.cut-image-preview .placeholder {
    color: #999;
    font-size: 1.05em;
    text-align: center;
    padding: 40px;
}

.cut-image-preview .error-message {
    color: #d32f2f;
    padding: 20px;
    text-align: center;
}

.cut-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

/* ========== 保存バナー ========== */
.save-banner {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #4caf50;
    color: white;
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    font-weight: 600;
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* ========== フッター ========== */
.main-footer {
    padding: 30px;
    text-align: center;
    background: #f5f5f5;
    border-top: 2px solid #e0e0e0;
    color: #666;
}

.main-footer p {
    margin-bottom: 10px;
}

/* ========== レスポンシブ対応 ========== */
@media (max-width: 768px) {
    .container {
        margin: 0;
        border-radius: 0;
    }
    
    .main-header h1 {
        font-size: 1.8em;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .industry-selects {
        flex-direction: column;
    }
    
    .industry-selects .arrow {
        transform: rotate(90deg);
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .output-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .output-actions {
        width: 100%;
        flex-direction: column;
    }
    
    .cut-actions {
        flex-direction: column;
    }
    
    .character-images {
        flex-direction: column;
        align-items: center;
    }
}

/* ========== プリント用スタイル ========== */
@media print {
    body {
        background: white;
    }
    
    .container {
        box-shadow: none;
    }
    
    .step-header {
        background: #333;
        color: white;
    }
    
    button {
        display: none;
    }
    
    .save-banner {
        display: none;
    }
}
/* ==========================================
   ハイブリッド方式 追加CSS
   ========================================== */

/* API設定セクション（主要） */
.api-config-section.primary {
    background: linear-gradient(135deg, #fff5e6 0%, #ffe6cc 100%);
    padding: 30px;
    border-radius: 15px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.1);
    animation: fadeIn 0.5s;
}

/* API設定セクション（サブ） */
.api-config-section.secondary {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #ccc;
}

.api-config-section.secondary h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

/* API設定ガイド */
.api-setup-guide {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.api-setup-guide.compact {
    padding: 15px;
    margin-bottom: 15px;
}

.api-setup-guide details {
    cursor: pointer;
}

.api-setup-guide summary {
    font-weight: bold;
    color: #ff8c00;
    padding: 10px;
    background: #fff5e6;
    border-radius: 5px;
    margin-bottom: 10px;
    list-style: none;
}

.api-setup-guide summary::-webkit-details-marker {
    display: none;
}

.api-setup-guide summary::before {
    content: '▶ ';
    display: inline-block;
    transition: transform 0.3s;
}

.api-setup-guide details[open] summary::before {
    transform: rotate(90deg);
}

.api-setup-guide ol {
    margin: 15px 0;
    padding-left: 25px;
}

.api-setup-guide li {
    margin: 10px 0;
    line-height: 1.6;
}

.api-setup-guide a {
    color: #1890ff;
    text-decoration: none;
    font-weight: bold;
}

.api-setup-guide a:hover {
    text-decoration: underline;
}

/* 料金情報 */
.pricing-info {
    background: #e6f7ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    border-left: 4px solid #1890ff;
}

.pricing-info p {
    margin: 8px 0;
    font-size: 14px;
}

/* 追加API設定（折りたたみ） */
.additional-api-config {
    margin-top: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 10px;
    border: 2px dashed #ccc;
}

.additional-api-config summary {
    font-size: 16px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    padding: 10px;
    background: white;
    border-radius: 5px;
    list-style: none;
}

.additional-api-config summary::-webkit-details-marker {
    display: none;
}

.additional-api-config summary::before {
    content: '▶ ';
    display: inline-block;
    transition: transform 0.3s;
}

.additional-api-config[open] summary::before {
    transform: rotate(90deg);
}

.additional-api-config .help-text {
    margin: 15px 0;
    color: #666;
}

/* テストボタン */
.btn-test-api {
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(82, 196, 26, 0.3);
}

.btn-test-api:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(82, 196, 26, 0.4);
}

.btn-test-api:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.btn-test-api.small {
    padding: 8px 20px;
    font-size: 14px;
}

/* フォーム要素 */
.form-select {
    width: 100%;
    max-width: 800px; /* ✅ 最大幅を統一 */
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-select:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.form-input {
    width: 100%;
    max-width: 800px; /* ✅ 最大幅を統一 */
    padding: 12px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #ff8c00;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.help-text {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    color: #666;
}

.required {
    color: #ff4d4f;
    font-weight: bold;
}

/* アニメーション */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* レスポンシブ */
@media (max-width: 768px) {
    .api-config-section.primary {
        padding: 20px;
    }
    
    .api-config-section.secondary {
        padding: 15px;
    }
    
    .btn-test-api {
        width: 100%;
        margin-top: 10px;
    }
}

/* ==========================================
   右上固定パネル
   ========================================== */
.fixed-save-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.btn-save-panel {
    background: linear-gradient(135deg, #ff8c00 0%, #ff6b00 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-save-panel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.btn-save-panel:active {
    transform: translateY(0);
}

.btn-save-panel.btn-danger {
    background: linear-gradient(135deg, #ff4d4f 0%, #ff1744 100%);
    box-shadow: 0 4px 15px rgba(255, 77, 79, 0.3);
}

.btn-save-panel.btn-danger:hover {
    box-shadow: 0 6px 20px rgba(255, 77, 79, 0.4);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .fixed-save-panel {
        top: 10px;
        right: 10px;
        padding: 10px;
        gap: 5px;
    }
    
    .btn-save-panel {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    /* アイコンのみ表示 */
    .btn-save-panel {
        min-width: 40px;
    }
}

/* ==========================================
   モデル情報カード
   ========================================== */
.model-info-card {
    background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
    padding: 20px;
    border-radius: 10px;
    margin-top: 15px;
    border-left: 4px solid #1890ff;
    box-shadow: 0 2px 10px rgba(24, 144, 255, 0.1);
}

.model-info-card p {
    margin: 10px 0;
    font-size: 14px;
    color: #333;
}

.model-info-card strong {
    color: #1890ff;
}

/* ==========================================
   生成オプション
   ========================================== */
.generation-options {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 10px;
}

.generation-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
}

.generation-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

/* ==========================================
   画像生成開始ボタン
   ========================================== */
.btn-generate-primary {
    background: linear-gradient(135deg, #52c41a 0%, #389e0d 100%);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 6px 25px rgba(82, 196, 26, 0.4);
    display: block;
    margin: 30px auto;
}

.btn-generate-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 35px rgba(82, 196, 26, 0.5);
}

.btn-generate-primary:active {
    transform: translateY(0) scale(1);
}

.btn-generate-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================
   レスポンシブ調整
   ========================================== */
@media (max-width: 768px) {
    .generation-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-generate-primary {
        width: 100%;
        padding: 15px 30px;
        font-size: 18px;
    }
}
