:root { --bg-color: #1a1b26; --card-bg: #242535; --text-color: #ffffff; --text-secondary: #a0a1b3; --accent-color: #4a6cf7; --border-color: #3b3c4f; --input-bg: #2a2b3d; } [data-theme="light"] { --bg-color: #f4f7f6; --card-bg: #ffffff; --text-color: #222222; --text-secondary: #555555; --accent-color: #27ae60; --border-color: #e0e0e0; --input-bg: #f9f9f9; } * { box-sizing: border-box; margin: 0; padding: 0; font-family: "Segoe UI", system-ui, sans-serif; transition: background-color 0.3s, color 0.3s; } body { background-color: var(--bg-color); color: var(--text-color); padding: 20px; line-height: 1.5; } .app-header { display: flex; justify-content: space-between; align-items: center; max-width: 1200px; margin: 0 auto 30px; } .app-header h1 { font-size: 1.9rem; font-weight: 700; } .creator-credit { font-size: 0.9rem; color: var(--text-secondary); } .creator-credit strong { color: var(--accent-color); } #theme-toggle { background: var(--card-bg); color: var(--text-color); border: 1px solid var(--border-color); padding: 10px 16px; border-radius: 8px; cursor: pointer; } .container { display: flex; gap: 30px; max-width: 1200px; margin: 0 auto; } .card { background: var(--card-bg); padding: 30px; border-radius: 16px; box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25); } .editor { width: 40%; } .preview { width: 60%; } .editor h2 { font-size: 1.5rem; margin-bottom: 20px; } .editor h3 { margin: 20px 0 10px; color: var(--text-secondary); } input, textarea { width: 100%; padding: 14px; margin-bottom: 14px; border-radius: 8px; border: 1px solid var(--border-color); background: var(--input-bg); color: var(--text-color); } textarea { resize: vertical; min-height: 100px; } input:focus, textarea:focus { outline: none; border-color: var(--accent-color); } #add-section { width: 100%; padding: 12px; border: 2px dashed var(--border-color); background: transparent; color: var(--text-secondary); border-radius: 8px; cursor: pointer; } .custom-block { border: 1px solid var(--border-color); padding: 14px; border-radius: 10px; margin-bottom: 12px; } .custom-block button { background: none; border: none; color: #ff5c5c; cursor: pointer; margin-top: 6px; } .export-btn { margin-top: 25px; width: 100%; padding: 14px; background-color: var(--accent-color); color: white; border: none; cursor: pointer; font-weight: 700; border-radius: 10px; } .header { border-bottom: 2px solid var(--border-color); padding-bottom: 18px; margin-bottom: 26px; } #preview-photo { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; border: 3px solid var(--accent-color); margin-bottom: 14px; display: none; } #preview-photo[src] { display: block; } .header h1 { font-size: 2.4rem; font-weight: 700; margin-bottom: 6px; } #preview-role { font-size: 1.15rem; color: var(--text-secondary); margin-bottom: 14px; } .contact-info { color: var(--text-secondary); font-size: 0.95rem; } .contact-info span { margin-right: 18px; } .section { margin-bottom: 30px; } .section h3 { text-transform: uppercase; font-size: 0.9rem; font-weight: 700; letter-spacing: 1px; color: var(--accent-color); margin-bottom: 12px; } .section p { line-height: 1.65; color: var(--text-secondary); white-space: pre-wrap; } @media print { @page { margin: 1.5cm; } body { background: white; color: black; padding: 0; } .app-header, .editor, #theme-toggle, #add-section, .export-btn { display: none !important; } .container { display: block; max-width: 100%; margin: 0; } .preview { width: 100%; box-shadow: none; padding: 0; background: white; } .header { border-bottom: 2px solid #ccc; } .section h3, .header h1 { color: black; } .section p, .contact-info, #preview-role { color: black !important; } #preview-photo:not([src]) { display: none !important; } }