#defang-tool .defang-controls { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }
#defang-tool .defang-switch-container { display: flex; align-items: center; gap: 10px; flex-direction: row-reverse; }
#defang-tool .defang-switch-container > label:first-child { font-size: 14px; color: #555; font-weight: normal; margin: 0; }
#defang-tool .defang-switch { position: relative; display: inline-block; width: 50px; height: 24px; flex-shrink: 0; }
#defang-tool .defang-switch input { opacity: 0; width: 0; height: 0; }
#defang-tool .defang-slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: 0.3s; border-radius: 24px; }
#defang-tool .defang-slider:before { position: absolute; content: ""; height: 18px; width: 18px; left: 3px; bottom: 3px; background-color: white; transition: 0.3s; border-radius: 50%; }
#defang-tool .defang-switch input:checked + .defang-slider { background-color: #007acc; }
#defang-tool .defang-switch input:checked + .defang-slider:before { transform: translateX(26px); }
#defang-tool .defang-input-group { margin-bottom: 20px; }
#defang-tool .defang-input-group label { display: block; margin-bottom: 8px; font-weight: 600; color: #555; }
#defang-tool .defang-input-group textarea { width: 100%; min-height: 120px; padding: 12px; border: 2px solid #ddd; border-radius: 6px; font-family: 'Courier New', monospace; font-size: 14px; resize: vertical; box-sizing: border-box; }
#defang-tool .defang-input-group textarea:focus { outline: none; border-color: #007acc; }
#defang-tool .defang-button-group { display: flex; gap: 10px; margin-bottom: 20px; }
#defang-tool .defang-button-group button { padding: 10px 20px; border: none; border-radius: 6px; cursor: pointer; font-size: 14px; font-weight: 600; transition: background-color: 0.2s; }
#defang-tool .defang-btn-primary { background: #007acc; color: white; }
#defang-tool .defang-btn-primary:hover { background: #005a9e; }
#defang-tool .defang-btn-secondary { background: #6c757d; color: white; }
#defang-tool .defang-btn-secondary:hover { background: #545b62; }
#defang-tool .defang-output-section { background: #f8f9fa; border: 2px solid #e9ecef; border-radius: 6px; padding: 15px; margin-bottom: 20px; position: relative; }
#defang-tool .defang-output-label { color: #007acc; font-weight: bold; margin-bottom: 10px; font-size: 14px; text-transform: uppercase; }
#defang-tool .defang-output-content { background: #1e1e1e; color: #d4d4d4; padding: 15px; border-radius: 4px; font-family: 'Courier New', monospace; white-space: pre-wrap; overflow-x: auto; min-height: 100px; font-size: 14px; line-height: 1.4; word-break: break-all; }
#defang-tool .defang-btn-copy { position: absolute; top: 10px; right: 10px; background: #007acc; color: white; border: none; padding: 5px 10px; border-radius: 4px; cursor: pointer; font-size: 12px; transition: background-color 0.3s; }
#defang-tool .defang-btn-copy:hover { background: #005a9e; }
#defang-tool .defang-error { color: #dc3545; font-size: 14px; margin-top: 5px; }
#defang-tool .defang-success { color: #28a745; font-size: 14px; margin-top: 5px; }
