.add-config { padding-left: 1rem; padding-right: 1rem; } @media (min-width: 768px) { .add-config { padding-left: 1.5rem; padding-right: 1.5rem; } } .add-config h2 { margin-top: 2rem; margin-bottom: 1rem; color: #2c3e50; font-size: 2rem; } .form-group { margin-bottom: 1.5rem; } .form-group label { display: block; margin-bottom: 0.5rem; color: #2c3e50; font-weight: 500; } .form-input, .form-textarea { width: 100%; padding: 0.75rem; border: 2px solid #ddd; border-radius: 4px; font-size: 1rem; transition: border-color 0.2s; font-family: inherit; } .form-textarea { resize: vertical; min-height: 100px; } .form-input:focus, .form-textarea:focus { outline: none; border-color: #3498db; } .submit-button { background-color: #3498db; color: white; border: none; padding: 0.75rem 2rem; border-radius: 8px; font-size: 1rem; cursor: pointer; transition: background-color 0.2s; width: 100%; } .submit-button:hover:not(:disabled) { background-color: #2980b9; } .submit-button:disabled { background-color: #bdc3c7; cursor: not-allowed; } .message { margin-top: 1rem; padding: 1rem; border-radius: 4px; font-weight: 500; } .message.success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; } .message.error { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; } .stepper-container { display: flex; align-items: center; gap: 0.5rem; } .stepper-button { background-color: #3498db; color: white; border: none; width: 40px; height: 40px; border-radius: 8px; font-size: 1.5rem; font-weight: bold; cursor: pointer; transition: background-color 0.2s, transform 0.1s; display: flex; align-items: center; justify-content: center; flex-shrink: 0; } .stepper-button:hover:not(:disabled) { background-color: #2980b9; transform: translateY(-1px); } .stepper-button:disabled { background-color: #bdc3c7; cursor: not-allowed; opacity: 0.6; } .stepper-input { flex: 1; padding: 0.75rem; border: 2px solid #ddd; border-radius: 4px; font-size: 1rem; text-align: center; transition: border-color 0.2s; font-family: inherit; } .stepper-input:focus { outline: none; border-color: #3498db; } .close-x-button { position: fixed; top: 1rem; right: 1rem; background: rgba(255, 255, 255, 0.9); border: none; font-size: 1.5rem; color: #7f8c8d; cursor: pointer; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; border-radius: 50%; transition: background-color 0.2s, color 0.2s; z-index: 1600; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15); } .close-x-button:hover { background-color: #ffffff; color: #2c3e50; } .dictionaries-hint { font-size: 0.875rem; color: #7f8c8d; margin-bottom: 0.75rem; font-style: italic; } .dictionaries-checkbox-list { display: flex; flex-direction: column; gap: 0; max-height: 200px; overflow-y: auto; padding: 0.5rem; border: 2px solid #ddd; border-radius: 4px; background-color: #f9f9f9; } .dictionary-checkbox-label { display: flex; align-items: center; cursor: pointer; padding: 0.5rem; border-radius: 4px; transition: background-color 0.2s; } .dictionary-checkbox-label:hover { background-color: #e8f4f8; } .dictionary-checkbox-label input[type="checkbox"] { width: 18px; height: 18px; min-width: 18px; min-height: 18px; margin: 0; margin-right: 0.75rem; padding: 0; cursor: pointer; accent-color: #3498db; flex-shrink: 0; align-self: center; vertical-align: middle; } .dictionary-checkbox-label span { color: #2c3e50; font-size: 0.95rem; line-height: 18px; display: inline-block; vertical-align: middle; }