* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; } body { background-color: #f5f5f5; padding: 20px; } .container { max-width: 1200px; margin: 0 auto; } .header { background-color: #2c3e50; color: white; padding: 20px; border-radius: 8px; margin-bottom: 20px; text-align: center; } .navigation { display: flex; gap: 10px; margin-bottom: 20px; } .nav-button { background-color: #3498db; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; transition: all 0.3s; } .nav-button:hover { background-color: #2980b9; transform: translateY(-2px); } .nav-button.active { background-color: #2980b9; box-shadow: 0 2px 4px rgba(0,0,0,0.2); } .chapter-list, .section-list { display: grid; gap: 15px; margin-bottom: 20px; } .chapter-card { background-color: white; border-radius: 8px; padding: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); cursor: pointer; transition: transform 0.3s; } .chapter-card:hover { transform: translateY(-3px); box-shadow: 0 4px 8px rgba(0,0,0,0.2); } .section-card { background-color: white; border-radius: 8px; padding: 20px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .character-page { background-color: white; border-radius: 8px; padding: 20px; margin-bottom: 20px; } .character-list { display: grid; gap: 15px; margin-top: 20px; } .character-card { background-color: #f8f9fa; border-radius: 8px; padding: 15px; } .moral-list { list-style-position: inside; margin-left: 20px; } .moral-item { margin: 10px 0; padding: 10px; background-color: #f8f9fa; border-radius: 4px; } .add-button { background-color: #27ae60; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; margin-bottom: 20px; } .add-button:hover { background-color: #219a52; } .delete-btn { background-color: #e74c3c; color: white; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; float: right; } input, textarea { width: 100%; padding: 10px; margin: 8px 0; border: 1px solid #ddd; border-radius: 4px; } textarea { min-height: 150px; resize: vertical; } .back-button { background-color: #95a5a6; color: white; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; margin-bottom: 20px; } .hidden { display: none; } .breadcrumb { background-color: white; padding: 10px; border-radius: 4px; margin-bottom: 20px; } .breadcrumb span { color: #3498db; cursor: pointer; } .breadcrumb span:hover { text-decoration: underline; } /* Add new styles for export button */ .export-button { background-color: #9b59b6; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; margin-left: 10px; } .export-button:hover { background-color: #8e44ad; } .button-group { display: flex; gap: 10px; margin-bottom: 20px; } /* Add new styles for export modal and selection */ .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1000; } .modal-content { position: relative; background-color: white; margin: 10% auto; padding: 20px; width: 80%; max-width: 600px; border-radius: 8px; max-height: 80vh; overflow-y: auto; } .close-modal { position: absolute; right: 20px; top: 10px; font-size: 24px; cursor: pointer; color: #666; } .chapter-selection { margin: 20px 0; } .chapter-checkbox { display: flex; align-items: center; margin: 10px 0; padding: 10px; background-color: #f8f9fa; border-radius: 4px; } .chapter-checkbox input[type="checkbox"] { margin-right: 10px; width: 18px; height: 18px; } .selection-controls { margin: 15px 0; padding: 10px; background-color: #f1f1f1; border-radius: 4px; display: flex; gap: 10px; } .select-all-btn, .deselect-all-btn { background-color: #34495e; color: white; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; font-size: 12px; } .export-selected-btn { background-color: #9b59b6; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; width: 100%; margin-top: 15px; } .export-selected-btn:disabled { background-color: #ccc; cursor: not-allowed; } /* Add new styles for sync button and modal */ .sync-button { background-color: #2ecc71; color: white; border: none; padding: 10px 20px; border-radius: 4px; cursor: pointer; margin-left: 10px; } .sync-button:hover { background-color: #27ae60; } .sync-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); z-index: 1000; } .sync-modal-content { position: relative; background-color: white; margin: 10% auto; padding: 20px; width: 80%; max-width: 600px; border-radius: 8px; max-height: 80vh; overflow-y: auto; } .sync-options { display: flex; gap: 10px; margin: 20px 0; justify-content: center; } .sync-option-btn { padding: 10px 20px; border: none; border-radius: 4px; cursor: pointer; font-weight: bold; } .sync-upload { background-color: #2ecc71; color: white; } .sync-download { background-color: #3498db; color: white; } .close-sync-modal { position: absolute; right: 20px; top: 10px; font-size: 24px; cursor: pointer; color: #666; }