:root { --dark-bg: #121212; --card-bg: #1e1e1e; --primary: #2196F3; --primary-dark: #1976D2; --text-primary: #ffffff; --text-secondary: #b0b0b0; --border-color: #333333; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Roboto', sans-serif; background-color: var(--dark-bg); color: var(--text-primary); line-height: 1.6; padding: 20px; } .container { max-width: 900px; margin: 0 auto; padding: 20px; } h1 { text-align: center; margin-bottom: 30px; font-weight: 500; letter-spacing: 2px; } .card { background-color: var(--card-bg); border-radius: 8px; padding: 25px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); margin-bottom: 20px; } .form-group { margin-bottom: 20px; } label { display: block; margin-bottom: 8px; color: var(--text-secondary); } .input-field, .textarea-field { width: 100%; padding: 12px; border: 1px solid var(--border-color); border-radius: 4px; background-color: rgba(255, 255, 255, 0.05); color: var(--text-primary); font-size: 16px; } .textarea-field { resize: vertical; min-height: 120px; } .btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; background-color: var(--card-bg); color: var(--text-primary); border: 1px solid var(--border-color); border-radius: 4px; cursor: pointer; font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; transition: all 0.3s ease; } .btn .material-icons { margin-right: 8px; font-size: 18px; } .btn:hover { background-color: rgba(255, 255, 255, 0.05); } .primary-btn { background-color: var(--primary); border: none; } .primary-btn:hover { background-color: var(--primary-dark); } .small-btn { padding: 6px 12px; font-size: 12px; } .small-btn .material-icons { font-size: 16px; } /* Switch styles */ .switch { position: relative; display: inline-block; width: 50px; height: 24px; margin-right: 10px; } .switch input { opacity: 0; width: 0; height: 0; } .slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: var(--border-color); transition: .4s; } .slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 4px; background-color: white; transition: .4s; } input:checked + .slider { background-color: var(--primary); } input:checked + .slider:before { transform: translateX(26px); } .slider.round { border-radius: 24px; } .slider.round:before { border-radius: 50%; } /* Checkbox styles */ .checkbox-container { display: block; position: relative; padding-left: 35px; margin-bottom: 12px; cursor: pointer; font-size: 16px; user-select: none; color: var(--text-secondary); } .checkbox-container input { position: absolute; opacity: 0; cursor: pointer; height: 0; width: 0; } .checkmark { position: absolute; top: 0; left: 0; height: 20px; width: 20px; background-color: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-color); border-radius: 3px; } .checkbox-container:hover input ~ .checkmark { background-color: rgba(255, 255, 255, 0.1); } .checkbox-container input:checked ~ .checkmark { background-color: var(--primary); border-color: var(--primary); } .checkmark:after { content: ""; position: absolute; display: none; } .checkbox-container input:checked ~ .checkmark:after { display: block; } .checkbox-container .checkmark:after { left: 7px; top: 3px; width: 4px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); } /* Result section */ #resultSection { margin-top: 30px; border-top: 1px solid var(--border-color); padding-top: 20px; } #resultSection h3 { margin-bottom: 15px; color: var(--text-secondary); } .result-part { margin-bottom: 15px; } .result-part-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .result-part-label { font-weight: 500; color: var(--primary); } .copy-btn { background: none; border: none; color: var(--text-secondary); cursor: pointer; display: flex; align-items: center; } .copy-btn:hover { color: var(--primary); } .copy-btn .material-icons { font-size: 18px; margin-right: 4px; } #totalPartsInfo { margin-bottom: 15px; color: var(--primary); font-weight: 500; } /* Multi-part inputs */ .multi-part-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .part-input-container { margin-bottom: 15px; position: relative; } .part-input-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; } .remove-part-btn { background: none; border: none; color: #f44336; cursor: pointer; display: flex; align-items: center; } .remove-part-btn .material-icons { font-size: 18px; } /* Round button styles */ .round-btn { width: 32px; height: 32px; border-radius: 50%; background-color: var(--primary); color: white; border: none; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; margin-left: 10px; transition: background-color 0.3s; } .round-btn:hover { background-color: var(--primary-dark); } .round-btn .material-icons { font-size: 18px; } /* File save dialog styles */ .file-save-dialog { background-color: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 1000; width: 400px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); } .file-save-dialog h3 { margin-top: 0; margin-bottom: 20px; color: var(--text-secondary); } .dialog-buttons { display: flex; justify-content: flex-end; margin-top: 20px; } .dialog-buttons .btn { margin-left: 10px; } /* Button group styles */ .button-group { display: flex; justify-content: space-between; } .button-group .btn { margin-right: 10px; } .button-group .btn:last-child { margin-right: 0; }