.pad-editor-drawer {
  .g-drawer-close .iconify {
    width: 16px;
    height: 16px;
  }

  .g-form-group {
    margin-bottom: 16px;
  }

  .g-form-label {
    display: inline-flex;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #1a1a2e;
  }

  .g-form-label.required::before {
    margin-right: 4px;
    color: #ef4444;
    content: '*';
  }

  .g-hint {
    font-size: 12px;
    color: #9ca3af;
  }

  .g-input,
  .g-textarea {
    width: 100%;
    padding: 0 10px;
    font-size: 13px;
    color: #1a1a2e;
    outline: none;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    transition: var(--g-transition);
  }

  .g-input {
    height: 34px;
  }

  .g-textarea {
    min-height: 66px;
    padding-top: 8px;
    line-height: 1.5;
    resize: vertical;
  }

  .g-input:focus,
  .g-textarea:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgb(22 119 255 / 12%);
  }

  .g-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 16px;
    font-size: 13px;
    color: #1f1f1f;
    cursor: pointer;
    background: #fff;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    box-shadow: var(--g-shadow-sm);
    transition: all var(--g-transition);
  }

  .g-btn:hover {
    color: #1677ff;
    border-color: #1677ff;
    box-shadow: var(--g-shadow-md);
  }

  .g-btn-primary {
    color: #fff;
    background: #1677ff;
    border-color: #1677ff;
  }

  .g-btn-primary:hover {
    color: #fff;
    opacity: 0.88;
  }

  .g-btn:disabled {
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.6;
  }

  .g-toggle-wrap {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .g-toggle-label {
    font-size: 12px;
    color: #4b5563;
  }

  .g-toggle-input {
    position: relative;
    flex-shrink: 0;
    width: 40px;
    height: 22px;
  }

  .g-toggle-input input {
    width: 0;
    height: 0;
    opacity: 0;
  }

  .g-toggle-sl {
    position: absolute;
    inset: 0;
    cursor: pointer;
    background: #d9d9d9;
    border-radius: 11px;
    transition: all 0.2s;
  }

  .g-toggle-sl::before {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 18px;
    height: 18px;
    content: '';
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgb(0 0 0 / 15%);
    transition: all 0.2s;
  }

  .g-toggle-input input:checked + .g-toggle-sl {
    background: #1677ff;
  }

  .g-toggle-input input:checked + .g-toggle-sl::before {
    transform: translateX(18px);
  }

  .pad-sel-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 16px;
  }

  .pad-sel-row span {
    font-size: 13px;
    font-weight: 500;
    color: #4b5563;
  }

  .pad-input-num {
    width: 84px;
  }

  .pad-opt-list-header {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
  }

  .pad-opt-list-header .h-name {
    flex: 1;
  }

  .pad-opt-list-header .h-price,
  .pad-opt-list-header .h-stock {
    width: 120px;
  }

  .pad-opt-list-header .h-act {
    width: 30px;
  }

  .pad-opt-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .pad-opt-row {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .pad-opt-row input {
    height: 34px;
    padding: 0 12px;
    font-size: 13px;
    color: #1a1a2e;
    outline: none;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    transition: var(--g-transition);
  }

  .pad-opt-row input:focus {
    border-color: #1677ff;
    box-shadow: 0 0 0 3px rgb(22 119 255 / 12%);
  }

  .pad-opt-name {
    flex: 1;
  }

  .pad-opt-price,
  .pad-opt-stock {
    width: 120px;
  }

  .pad-opt-del {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: #9ca3af;
    cursor: pointer;
    background: none;
    border: none;
    border-radius: 8px;
    transition: var(--g-transition);
  }

  .pad-opt-del .iconify {
    width: 15px;
    height: 15px;
  }

  .pad-opt-del:hover {
    color: #ef4444;
    background: #fef2f2;
  }

  .pad-btn-dashed {
    gap: 8px;
    justify-content: center;
    width: 100%;
    margin-top: 8px;
    color: #9ca3af;
    border-color: #d1d5db;
    border-style: dashed;
    box-shadow: none;
  }

  .pad-btn-dashed .iconify {
    width: 14px;
    height: 14px;
  }

  .pad-btn-dashed:hover {
    color: #1677ff;
    border-color: #1677ff;
    box-shadow: none;
  }
}
