/* Collapsible container styling */ .customFormatterContainer { background-color: #121212; border-radius: var(--borderRadius); border: 1px solid #333; margin-top: 15px; padding: 0; margin: 10px 0; overflow: hidden; transition: all 0.3s ease; gap: 15px; } input.filenameInput:hover, input.smallInput:hover, .selectInput:hover, .streamPreview:hover { background-color: #1e1e1e; border-color: #444444; box-shadow: 0 0 10px rgba(255, 255, 255, 0.2); } .previewContainer:hover .streamName { color: #ffffff; } .previewTitle { font-size: 18px; font-weight: bold; color: #ffffff; margin-bottom: 10px; } .previewDescription { font-size: 14px; color: #aaa; white-space: pre-wrap; margin-bottom: 10px; } .streamPreview { font-family: monospace; white-space: pre-wrap; word-break: break-word; background-color: #1e1e1e; padding: 15px; border-radius: var(--borderRadius); } .streamName { font-size: 16px; font-weight: bold; margin-bottom: 10px; color: #ffffff; } .streamDescription { font-size: 14px; color: #aaa; white-space: pre-wrap; } /* Form elements styling */ .formGroup { display: flex; flex-direction: column; gap: 5px; } .formRow { display: flex; gap: 10px; flex-wrap: wrap; } .formGroupSmall { display: flex; flex-direction: column; gap: 5px; flex: 1; min-width: 100px; } .formGroupMedium { display: flex; flex-direction: column; gap: 5px; flex: 2; min-width: 150px; } .inputLabel { font-size: 0.85rem; color: #aaa; } .filenameControls { display: flex; align-items: center; gap: 10px; } .filenameInputContainer { flex-grow: 1; } input.filenameInput { flex: 1; padding: 10px; border: 1px solid #333; border-radius: var(--borderRadius); height: 30px; background-color: #1e1e1e; color: white; outline: none; width: 100%; font-family: monospace; transition: box-shadow 0.2s, background-color 0.2s, border-color 0.2s; } input.filenameInput:focus { border-color: #555; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); } input.smallInput { padding: 6px 8px; background-color: #1e1e1e; border: 1px solid #333; border-radius: var(--borderRadius); color: white; width: 100%; font-family: monospace; outline: none; transition: box-shadow 0.2s, background-color 0.2s, border-color 0.2s; } input.smallInput:focus { background-color: #1e1e1e; border-color: #444444; box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); } .selectInput { padding: 6px 8px; background-color: #1e1e1e; border: 1px solid #333; border-radius: var(--borderRadius); color: white; width: 100%; } .resetButton { display: flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; border-radius: 50%; border-width: 0; background-color: #d1d1d1; color: rgb(68, 68, 68); border: none; cursor: pointer; transition: background-color 0.2s, transform 0.2s; flex-shrink: 0; padding: 0; margin: 5px 0 0 0; } .resetButton:hover { background-color: #e7e7e7; transform: scale(1.05); } .resetButton:active { background-color: #ffffff; transform: scale(0.95); } /* Toggle switch styling - fixed animations */ .toggleLabel { display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-size: 0.85rem; color: #aaa; width: 100%; } input.toggleInput { height: 0; width: 0; visibility: hidden; position: absolute; } .toggleSwitch { display: block; width: 36px; height: 18px; background: #333; position: relative; border-radius: 18px; border: 1px solid #444; transition: 0.3s all ease; } .toggleSwitch::after { content: ''; position: absolute; top: 2px; left: 3px; width: 12px; height: 12px; border-radius: 50%; background: #aaa; transition: 0.3s all ease; transform: translateX(0); } /* Force animation during state changes */ .toggleSwitch.animating::after { transition: 0.3s transform ease; } .toggleInput:checked + .toggleSwitch { background-color: #2a2a2a; border-color: #555; } .toggleInput:checked + .toggleSwitch::after { transform: translateX(18px); background-color: #ffffff; box-shadow: 0 0 12px rgba(255, 255, 255, 0.7); } .toggleContainer { display: flex; align-items: center; justify-content: center; gap: 8px; margin-left: 10px; } .togglesRow { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin: 5px 0; padding: 10px; background-color: #1e1e1e; border-radius: var(--borderRadius); border: 1px solid #333; } .toggleWrapper { display: flex; align-items: center; min-width: 120px; max-width: 160px; padding: 6px 12px; border-radius: var(--borderRadius); background-color: #252525; border: 1px solid #383838; } .customFormatterTitle { padding: 12px; margin: 0; font-size: 16px; font-weight: 600; color: #aaa; cursor: pointer; display: flex; justify-content: space-between; align-items: center; transition: background-color 0.2s ease; } .customFormatterTitle:hover { background-color: #1a1a1a; color: #fff; } .expandIcon { font-size: 12px; transition: transform 0.2s ease; } .customFormatterContent { padding: 15px; border-top: 1px solid #333; background-color: #121212; gap: 15px; border-radius: 6px; transition: all 0.3s ease; display: flex; flex-direction: column; gap: 15px; } .customFormatterDescription { font-size: 14px; color: #aaa; margin-bottom: 15px; line-height: 1.5; } .customFormatterDescription code { background-color: #1e1e1e; padding: 2px 4px; border-radius: 3px; margin: 0 2px; font-family: monospace; color: #e0e0e0; } /* Responsive adjustments */ @media (max-width: 768px) { .formRow { flex-direction: column; gap: 8px; } .formGroupSmall, .formGroupMedium { width: 100%; } }